#include <C4MouseControl.h>
Public Member Functions | |
C4MouseControl () | |
~C4MouseControl () | |
void | Default () |
void | Clear () |
bool | Init (int32_t iPlayer) |
void | Execute () |
void | HideCursor () |
void | ShowCursor () |
void | Draw (C4TargetFacet &cgo, const ZoomData &GameZoom) |
void | Move (int32_t iButton, int32_t iX, int32_t iY, DWORD dwKeyFlags, bool fCenter=false) |
void | DoMoveInput () |
bool | IsViewport (C4Viewport *pViewport) |
void | ClearPointers (C4Object *pObj) |
void | UpdateClip () |
void | SetOwnedMouse (bool fToVal) |
bool | IsMouseOwned () |
bool | IsActive () |
bool | GetLastCursorPos (int32_t *x_out_gui, int32_t *y_out_gui, int32_t *x_out_game, int32_t *y_out_game) const |
const char * | GetCaption () |
void | SetTooltipText (const StdStrBuf &text) |
void | SetTooltipRectangle (const C4Rect &rectangle) |
bool | IsDragging () |
bool | IsLeftDown () |
int32_t | GetPlayer () |
Protected Member Functions | |
void | UpdateFogOfWar () |
void | RightUpDragNone () |
void | ButtonUpDragScript () |
void | LeftUpDragNone () |
void | DragScript () |
void | Wheel (DWORD dwFlags) |
void | RightUp () |
void | RightDown () |
void | LeftDouble () |
void | DragNone () |
void | LeftUp () |
void | LeftDown () |
void | UpdateScrolling () |
void | UpdateCursorTarget () |
int32_t | UpdateSingleSelection () |
C4Object * | GetTargetObject () |
bool | IsPassive () |
void | ScrollView (float iX, float iY, float ViewWdt, float ViewHgt) |
Protected Attributes | |
bool | Active |
bool | fMouseOwned |
int32_t | Player |
C4Player * | pPlayer |
C4Viewport * | Viewport |
int32_t | Cursor |
int32_t | VpX |
int32_t | VpY |
float | ViewX |
float | ViewY |
float | GameX |
float | GameY |
float | GuiX |
float | GuiY |
C4Facet | fctViewport |
C4Facet | fctViewportGame |
C4Facet | fctViewportGUI |
float | DownX |
float | DownY |
int32_t | ScrollSpeed |
int32_t | Drag |
bool | LeftButtonDown |
bool | RightButtonDown |
bool | LeftDoubleIgnoreUp |
bool | ButtonDownOnSelection |
bool | ControlDown |
bool | ShiftDown |
bool | AltDown |
bool | Scrolling |
bool | InitCentered |
bool | FogOfWar |
bool | Visible |
C4ObjectList | Selection |
C4Object * | DragObject |
C4ID | DragID |
C4Def * | DragImageDef |
C4Object * | DragImageObject |
StdCopyStrBuf | Caption |
StdCopyStrBuf | TooltipText |
int32_t | CaptionBottomY |
int32_t | KeepCaption |
int32_t | TimeInTooltipRectangle |
C4Rect | ToolTipRectangle |
C4Object * | TargetObject |
C4Object * | DownTarget |
Friends | |
class | C4Viewport |
Definition at line 66 of file C4MouseControl.h.
C4MouseControl::C4MouseControl | ( | ) |
Definition at line 45 of file C4MouseControl.cpp.
References Default().
C4MouseControl::~C4MouseControl | ( | ) |
Definition at line 50 of file C4MouseControl.cpp.
References Clear().
|
protected |
Definition at line 753 of file C4MouseControl.cpp.
References C4Control::Add(), C4MC_Drag_None, C4MC_MD_DropTarget, CID_PlrMouseMove, Drag, C4ControlPlayerMouse::DragDrop(), DragID, DragImageDef, DragImageObject, DragObject, C4Player::Eliminated, Game, C4PlayerList::Get(), C4PropList::GetPropertyInt(), C4Game::Input, C4ID::None, P_MouseDrag, Player, Players, TargetObject, and UpdateCursorTarget().
Referenced by LeftUp(), and RightUp().
void C4MouseControl::Clear | ( | ) |
Definition at line 91 of file C4MouseControl.cpp.
References Active, C4ObjectList::Clear(), Selection, and UpdateClip().
Referenced by C4Game::Clear(), Init(), and ~C4MouseControl().
void C4MouseControl::ClearPointers | ( | C4Object * | pObj | ) |
Definition at line 125 of file C4MouseControl.cpp.
References C4MC_Drag_None, C4ObjectList::ClearPointers(), DownTarget, Drag, DragImageDef, DragImageObject, DragObject, Selection, and TargetObject.
Referenced by C4Game::ClearPointers().
void C4MouseControl::Default | ( | ) |
Definition at line 55 of file C4MouseControl.cpp.
References Active, AltDown, ButtonDownOnSelection, C4MC_Drag_None, Caption, CaptionBottomY, StdStrBuf::Clear(), ControlDown, Cursor, C4Facet::Default(), C4ObjectList::Default(), DownTarget, DownX, DownY, Drag, DragID, DragImageDef, DragImageObject, DragObject, fctViewport, fMouseOwned, FogOfWar, GameX, GameY, GuiX, GuiY, InitCentered, KeepCaption, LeftButtonDown, LeftDoubleIgnoreUp, NO_OWNER, C4ID::None, Player, pPlayer, RightButtonDown, Scrolling, ScrollSpeed, Selection, ShiftDown, TargetObject, Viewport, ViewX, ViewY, Visible, VpX, and VpY.
Referenced by C4MouseControl(), C4Game::Default(), and Init().
void C4MouseControl::DoMoveInput | ( | ) |
Definition at line 320 of file C4MouseControl.cpp.
References Active, AltDown, C4MC_Button_None, C4Player::Control, ControlDown, C4Player::ControlSet, C4PlayerControl::DoMouseInput(), fMouseOwned, GameX, GameY, C4PlayerList::Get(), GuiX, GuiY, C4PlayerControlAssignmentSet::IsMouseControlAssigned(), Player, Players, pPlayer, and ShiftDown.
Referenced by C4GameControl::PrepareInput().
|
protected |
Definition at line 638 of file C4MouseControl.cpp.
References Abs(), C4D_IgnoreFoW, C4MC_Drag_None, C4MC_Drag_Script, C4MC_Drag_Unhandled, C4MC_DragSensitivity, C4MC_MD_DragSource, C4Object::Category, DownTarget, DownX, DownY, Drag, DragImageDef, DragImageObject, DragObject, FogOfWar, GameX, GameY, C4Object::GetDragImage(), C4PropList::GetPropertyInt(), LeftButtonDown, P_MouseDrag, RightButtonDown, UpdateCursorTarget(), and UpdateSingleSelection().
Referenced by Move().
|
protected |
Definition at line 723 of file C4MouseControl.cpp.
References C4MC_Cursor_DragDrop, Cursor, UpdateCursorTarget(), and UpdateSingleSelection().
Referenced by Move().
void C4MouseControl::Draw | ( | C4TargetFacet & | cgo, |
const ZoomData & | GameZoom | ||
) |
Definition at line 331 of file C4MouseControl.cpp.
References C4Draw::ActivateBlitModulation(), C4Object::BlitMode, C4D_Foreground, C4GFXBLIT_MOD2, C4MC_Cursor_Down, C4MC_Cursor_DownLeft, C4MC_Cursor_DownRight, C4MC_Cursor_Left, C4MC_Cursor_Right, C4MC_Cursor_Up, C4MC_Cursor_UpLeft, C4MC_Cursor_UpRight, C4MC_Drag_None, C4MC_Drag_Script, C4MC_Drag_Unhandled, Caption, C4Object::Category, C4Player::ColorDw, C4Object::ColorMod, Config, Cursor, C4Draw::DeactivateBlitModulation(), C4Object::Def, Drag, DragImageDef, DragImageObject, DragObject, C4Def::Draw(), C4Object::DrawPicture(), C4ObjectList::DrawSelectMark(), C4GUI::Screen::DrawToolTip(), fMouseOwned, GameX, GameY, StdStrBuf::getData(), C4Object::GetGraphics(), C4Draw::GetZoom(), GfxR, C4Config::Graphics, C4Def::Graphics, GuiX, GuiY, C4Rect::Hgt, IsPassive(), C4ConfigGraphics::MouseCursorSize, pDraw, pGUI, C4Def::PictureRect, pPlayer, Selection, C4TargetFacet::Set(), C4Draw::SetBlitMode(), C4Draw::SetZoom(), C4Facet::Surface, C4DefGraphics::Type, C4DefGraphics::TYPE_Bitmap, C4DefGraphics::TYPE_Mesh, Visible, C4Rect::Wdt, C4Facet::X, and C4Facet::Y.
Referenced by C4Viewport::DrawOverlay().
void C4MouseControl::Execute | ( | ) |
Definition at line 98 of file C4MouseControl.cpp.
References Active, AltDown, C4MC_Button_None, ControlDown, fMouseOwned, Game, C4Game::iTick5, Move(), Scrolling, ShiftDown, VpX, and VpY.
Referenced by C4Game::Execute().
const char * C4MouseControl::GetCaption | ( | ) |
Definition at line 819 of file C4MouseControl.cpp.
References Caption, and StdStrBuf::getData().
Referenced by C4EditCursor::UpdateStatusBar().
bool C4MouseControl::GetLastCursorPos | ( | int32_t * | x_out_gui, |
int32_t * | y_out_gui, | ||
int32_t * | x_out_game, | ||
int32_t * | y_out_game | ||
) | const |
Definition at line 870 of file C4MouseControl.cpp.
References Active, fMouseOwned, GameX, GameY, GuiX, and GuiY.
|
inline |
Definition at line 167 of file C4MouseControl.h.
References Player.
Referenced by C4ObjectMenu::IsReadOnly(), C4ScriptGuiWindow::MouseEnter(), C4MenuItem::MouseEnter(), C4MenuItem::MouseInput(), C4ScriptGuiWindow::MouseInput(), C4ScriptGuiWindow::MouseLeave(), C4ObjectMenu::OnUserClose(), and C4ScriptGuiWindow::ProcessMouseInput().
|
protected |
Definition at line 838 of file C4MouseControl.cpp.
References C4D_MouseSelect, fctViewportGame, fctViewportGUI, C4Game::FindVisObject(), Game, GameX, GameY, GuiX, GuiY, Player, ViewX, ViewY, C4Facet::X, and C4Facet::Y.
Referenced by UpdateCursorTarget().
void C4MouseControl::HideCursor | ( | ) |
Definition at line 814 of file C4MouseControl.cpp.
References Visible.
Referenced by C4EditCursor::SetMode().
bool C4MouseControl::Init | ( | int32_t | iPlayer | ) |
Definition at line 114 of file C4MouseControl.cpp.
References Active, Clear(), Default(), InitCentered, Player, and UpdateClip().
Referenced by C4FullScreen::ViewportCheck().
|
inline |
Definition at line 138 of file C4MouseControl.h.
References Active.
Referenced by C4GUI::Screen::MouseMove().
bool C4MouseControl::IsDragging | ( | ) |
Definition at line 865 of file C4MouseControl.cpp.
References Active, C4MC_Drag_Script, and Drag.
Referenced by C4Viewport::DrawMenu(), and C4GUI::Screen::MouseMove().
|
inline |
Definition at line 166 of file C4MouseControl.h.
References LeftButtonDown.
Referenced by C4ScriptGuiWindow::ProcessMouseInput().
|
inline |
Definition at line 137 of file C4MouseControl.h.
References fMouseOwned.
Referenced by C4GUI::Screen::SetMouseInGUI().
|
protected |
Definition at line 847 of file C4MouseControl.cpp.
References Control, C4GameControl::isReplay(), NO_OWNER, and Player.
Referenced by Draw(), LeftUpDragNone(), Move(), RightUpDragNone(), and UpdateCursorTarget().
bool C4MouseControl::IsViewport | ( | C4Viewport * | pViewport | ) |
Definition at line 139 of file C4MouseControl.cpp.
References Viewport.
Referenced by C4Viewport::DrawMenu(), C4Viewport::DrawOverlay(), and C4ViewportList::MouseMoveToViewport().
|
protected |
Definition at line 676 of file C4MouseControl.cpp.
References C4MC_Drag_None, Drag, LeftButtonDown, and LeftDoubleIgnoreUp.
Referenced by Move().
|
protected |
Definition at line 604 of file C4MouseControl.cpp.
References DownTarget, DownX, DownY, GameX, GameY, LeftButtonDown, and TargetObject.
Referenced by Move().
|
protected |
Definition at line 613 of file C4MouseControl.cpp.
References ButtonUpDragScript(), C4MC_Drag_None, C4MC_Drag_Script, C4MC_Drag_Unhandled, DownTarget, Drag, LeftButtonDown, LeftDoubleIgnoreUp, LeftUpDragNone(), and RightButtonDown.
Referenced by Move().
|
protected |
Definition at line 733 of file C4MouseControl.cpp.
References C4Control::Add(), C4MC_Cursor_Select, C4MC_Drag_None, CID_PlrSelect, C4ObjectList::Clear(), Cursor, DownTarget, Drag, Game, C4ObjectList::GetObject(), C4Game::Input, IsPassive(), Player, and Selection.
Referenced by LeftUp().
void C4MouseControl::Move | ( | int32_t | iButton, |
int32_t | iX, | ||
int32_t | iY, | ||
DWORD | dwKeyFlags, | ||
bool | fCenter = false |
||
) |
Definition at line 175 of file C4MouseControl.cpp.
References Active, AltDown, Application, C4MC_Button_LeftDouble, C4MC_Button_LeftDown, C4MC_Button_LeftUp, C4MC_Button_None, C4MC_Button_RightDown, C4MC_Button_RightUp, C4MC_Button_Wheel, C4MC_Cursor_Select, C4MC_Drag_None, C4MC_Drag_Script, C4MC_Drag_Unhandled, Caption, CaptionBottomY, StdStrBuf::Clear(), C4Player::Control, ControlDown, C4Player::ControlSet, Cursor, C4PlayerControl::DoMouseInput(), Drag, DragNone(), DragScript(), fctViewport, fctViewportGame, fctViewportGUI, fMouseOwned, FogOfWar, Game, GameX, GameY, C4PlayerList::Get(), C4Viewport::GetGUIZoom(), C4Viewport::GetOutputRect(), C4ViewportList::GetViewport(), C4Viewport::GetViewX(), C4Viewport::GetViewY(), GuiX, GuiY, C4Rect::Hgt, InitCentered, C4Application::isEditor, C4PlayerControlAssignmentSet::IsMouseControlAssigned(), IsPassive(), KeepCaption, C4Viewport::last_game_draw_cgo, C4Viewport::last_gui_draw_cgo, LeftButtonDown, LeftDouble(), LeftDown(), LeftUp(), NO_OWNER, C4Viewport::OutX, C4Viewport::OutY, Player, Players, pPlayer, C4AbstractApp::pWindow, RightButtonDown, RightDown(), RightUp(), C4Game::ScriptGuiRoot, C4Facet::Set(), ShiftDown, TargetObject, UpdateCursorTarget(), UpdateFogOfWar(), UpdateScrolling(), C4Viewport::ViewHgt, Viewport, Viewports, C4Viewport::ViewWdt, ViewX, ViewY, VpX, VpY, C4Rect::Wdt, Wheel(), C4Rect::x, C4Rect::y, and C4Viewport::Zoom.
Referenced by Execute(), and C4ViewportList::MouseMoveToViewport().
|
protected |
Definition at line 693 of file C4MouseControl.cpp.
References DownTarget, DownX, DownY, GameX, GameY, RightButtonDown, and TargetObject.
Referenced by Move().
|
protected |
Definition at line 702 of file C4MouseControl.cpp.
References ButtonUpDragScript(), C4MC_Drag_None, C4MC_Drag_Script, C4MC_Drag_Unhandled, DownTarget, Drag, LeftButtonDown, RightButtonDown, and RightUpDragNone().
Referenced by Move().
|
protected |
Definition at line 777 of file C4MouseControl.cpp.
References C4Control::Add(), C4MC_Cursor_Select, C4MC_Drag_None, CID_PlrSelect, Cursor, DownTarget, Drag, Game, C4ObjectList::GetObject(), C4Game::Input, IsPassive(), Player, and Selection.
Referenced by RightUp().
|
protected |
Definition at line 852 of file C4MouseControl.cpp.
References pPlayer, C4Viewport::ScrollView(), C4Player::ScrollView(), and Viewport.
Referenced by UpdateScrolling().
|
inline |
Definition at line 136 of file C4MouseControl.h.
References fMouseOwned.
Referenced by C4GUI::Screen::SetMouseInGUI().
void C4MouseControl::SetTooltipRectangle | ( | const C4Rect & | rectangle | ) |
Definition at line 824 of file C4MouseControl.cpp.
References C4Rect::Hgt, TimeInTooltipRectangle, ToolTipRectangle, C4Rect::Wdt, C4Rect::x, and C4Rect::y.
Referenced by C4ScriptGuiWindow::OnMouseIn(), and UpdateCursorTarget().
void C4MouseControl::SetTooltipText | ( | const StdStrBuf & | text | ) |
Definition at line 833 of file C4MouseControl.cpp.
References C4ScriptGuiWindowPropertyName::text, and TooltipText.
Referenced by C4ScriptGuiWindow::OnMouseIn(), and UpdateCursorTarget().
void C4MouseControl::ShowCursor | ( | ) |
Definition at line 809 of file C4MouseControl.cpp.
References Visible.
Referenced by C4EditCursor::SetMode().
void C4MouseControl::UpdateClip | ( | ) |
Definition at line 144 of file C4MouseControl.cpp.
References Active, C4AbstractApp::Active, Application, FullScreen, C4ViewportList::GetViewport(), C4GUI::Screen::HasMouseFocus(), C4Application::isEditor, C4Viewport::OutX, C4Viewport::OutY, pGUI, Player, C4GUI::Screen::SetPreferredDlgRect(), C4Viewport::ViewHgt, Viewports, and C4Viewport::ViewWdt.
Referenced by Clear(), Init(), C4Viewport::SetOutputSize(), and C4GUI::Screen::UpdateMouseFocus().
|
protected |
Definition at line 475 of file C4MouseControl.cpp.
References C4Control::Add(), C4Object::addtop(), C4D_IgnoreFoW, C4D_MouseSelect, C4MC_Cursor_Crosshair, C4MC_Cursor_Passive, C4MC_Cursor_Select, C4MC_Drag_Script, C4MC_MD_DropTarget, C4MC_MD_NoClick, C4MC_Tooltip_Delay, Caption, C4Object::Category, CID_PlrMouseMove, Cursor, Drag, DragObject, fctViewportGUI, FogOfWar, Game, C4PlayerList::Get(), C4String::GetCStr(), C4PropList::GetPropertyInt(), C4PropList::GetPropertyStr(), GetTargetObject(), C4Object::GetViewPos(), GuiX, GuiY, C4Rect::Hgt, C4ControlPlayerMouse::Hover(), C4Game::Input, Inside(), IsPassive(), KeepCaption, P_MouseDrag, P_Tooltip, Player, Players, Scrolling, SetTooltipRectangle(), SetTooltipText(), C4Object::Shape, TargetObject, TimeInTooltipRectangle, ToolTipRectangle, TooltipText, C4Rect::Wdt, C4Facet::X, C4Rect::x, C4Facet::Y, and C4Rect::y.
Referenced by ButtonUpDragScript(), DragNone(), DragScript(), and Move().
|
protected |
Definition at line 791 of file C4MouseControl.cpp.
References C4D_IgnoreFoW, C4MC_Cursor_Passive, C4Object::Category, Cursor, FogOfWar, GameX, GameY, C4Landscape::GetHeight(), C4Landscape::GetWidth(), Landscape, Scrolling, and TargetObject.
Referenced by Move().
|
protected |
Definition at line 582 of file C4MouseControl.cpp.
References C4MC_Cursor_Down, C4MC_Cursor_DownLeft, C4MC_Cursor_DownRight, C4MC_Cursor_Left, C4MC_Cursor_Right, C4MC_Cursor_Up, C4MC_Cursor_UpLeft, C4MC_Cursor_UpRight, Cursor, C4Player::IsViewLocked(), pPlayer, Scrolling, ScrollSpeed, ScrollView(), C4Viewport::ViewHgt, Viewport, C4Viewport::ViewWdt, VpX, VpY, and C4Viewport::Zoom.
Referenced by Move().
|
protected |
Definition at line 567 of file C4MouseControl.cpp.
References C4ObjectList::Add(), C4D_MouseSelect, C4MC_Cursor_Select, C4Object::Category, C4ObjectList::Clear(), Cursor, C4PlayerList::Get(), C4ObjectList::GetObject(), C4ObjectList::ObjectCount(), C4Player::ObjectInCrew(), Player, Players, Selection, C4ObjectList::stNone, and TargetObject.
Referenced by DragNone(), and DragScript().
|
protected |
Definition at line 719 of file C4MouseControl.cpp.
Referenced by Move().
|
friend |
Definition at line 68 of file C4MouseControl.h.
|
protected |
Definition at line 73 of file C4MouseControl.h.
Referenced by Clear(), Default(), DoMoveInput(), Execute(), GetLastCursorPos(), Init(), IsActive(), IsDragging(), Move(), and UpdateClip().
|
protected |
Definition at line 96 of file C4MouseControl.h.
Referenced by Default(), DoMoveInput(), Execute(), and Move().
|
protected |
Definition at line 93 of file C4MouseControl.h.
Referenced by Default().
|
protected |
Definition at line 112 of file C4MouseControl.h.
Referenced by Default(), Draw(), GetCaption(), Move(), and UpdateCursorTarget().
|
protected |
Definition at line 115 of file C4MouseControl.h.
|
protected |
Definition at line 94 of file C4MouseControl.h.
Referenced by Default(), DoMoveInput(), Execute(), and Move().
|
protected |
Definition at line 79 of file C4MouseControl.h.
Referenced by Default(), DragScript(), Draw(), LeftUpDragNone(), Move(), RightUpDragNone(), UpdateCursorTarget(), UpdateFogOfWar(), UpdateScrolling(), and UpdateSingleSelection().
|
protected |
Definition at line 122 of file C4MouseControl.h.
Referenced by ClearPointers(), Default(), DragNone(), LeftDown(), LeftUp(), LeftUpDragNone(), RightDown(), RightUp(), and RightUpDragNone().
|
protected |
Definition at line 87 of file C4MouseControl.h.
Referenced by Default(), DragNone(), LeftDown(), and RightDown().
|
protected |
Definition at line 87 of file C4MouseControl.h.
Referenced by Default(), DragNone(), LeftDown(), and RightDown().
|
protected |
Definition at line 90 of file C4MouseControl.h.
Referenced by ButtonUpDragScript(), ClearPointers(), Default(), DragNone(), Draw(), IsDragging(), LeftDouble(), LeftUp(), LeftUpDragNone(), Move(), RightUp(), RightUpDragNone(), and UpdateCursorTarget().
|
protected |
Definition at line 105 of file C4MouseControl.h.
Referenced by ButtonUpDragScript(), and Default().
|
protected |
Definition at line 106 of file C4MouseControl.h.
Referenced by ButtonUpDragScript(), ClearPointers(), Default(), DragNone(), and Draw().
|
protected |
Definition at line 107 of file C4MouseControl.h.
Referenced by ButtonUpDragScript(), ClearPointers(), Default(), DragNone(), and Draw().
|
protected |
Definition at line 104 of file C4MouseControl.h.
Referenced by ButtonUpDragScript(), ClearPointers(), Default(), DragNone(), Draw(), and UpdateCursorTarget().
|
protected |
Definition at line 85 of file C4MouseControl.h.
|
protected |
Definition at line 85 of file C4MouseControl.h.
Referenced by GetTargetObject(), and Move().
|
protected |
Definition at line 85 of file C4MouseControl.h.
Referenced by GetTargetObject(), Move(), and UpdateCursorTarget().
|
protected |
Definition at line 74 of file C4MouseControl.h.
Referenced by Default(), DoMoveInput(), Draw(), Execute(), GetLastCursorPos(), IsMouseOwned(), Move(), and SetOwnedMouse().
|
protected |
Definition at line 99 of file C4MouseControl.h.
Referenced by Default(), DragNone(), Move(), UpdateCursorTarget(), and UpdateFogOfWar().
|
protected |
Definition at line 83 of file C4MouseControl.h.
Referenced by Default(), DoMoveInput(), DragNone(), Draw(), GetLastCursorPos(), GetTargetObject(), LeftDown(), Move(), RightDown(), and UpdateFogOfWar().
|
protected |
Definition at line 83 of file C4MouseControl.h.
Referenced by Default(), DoMoveInput(), DragNone(), Draw(), GetLastCursorPos(), GetTargetObject(), LeftDown(), Move(), RightDown(), and UpdateFogOfWar().
|
protected |
Definition at line 84 of file C4MouseControl.h.
Referenced by Default(), DoMoveInput(), Draw(), GetLastCursorPos(), GetTargetObject(), Move(), and UpdateCursorTarget().
|
protected |
Definition at line 84 of file C4MouseControl.h.
Referenced by Default(), DoMoveInput(), Draw(), GetLastCursorPos(), GetTargetObject(), Move(), and UpdateCursorTarget().
|
protected |
Definition at line 98 of file C4MouseControl.h.
Referenced by C4Viewport::AdjustPosition(), Default(), Init(), and Move().
|
protected |
Definition at line 116 of file C4MouseControl.h.
Referenced by Default(), Move(), and UpdateCursorTarget().
|
protected |
Definition at line 92 of file C4MouseControl.h.
Referenced by Default(), DragNone(), IsLeftDown(), LeftDouble(), LeftDown(), LeftUp(), Move(), and RightUp().
|
protected |
Definition at line 92 of file C4MouseControl.h.
Referenced by Default(), LeftDouble(), and LeftUp().
|
protected |
Definition at line 75 of file C4MouseControl.h.
Referenced by ButtonUpDragScript(), Default(), DoMoveInput(), GetPlayer(), GetTargetObject(), Init(), IsPassive(), LeftUpDragNone(), Move(), RightUpDragNone(), UpdateClip(), UpdateCursorTarget(), and UpdateSingleSelection().
|
protected |
Definition at line 76 of file C4MouseControl.h.
Referenced by Default(), DoMoveInput(), Draw(), Move(), ScrollView(), and UpdateScrolling().
|
protected |
Definition at line 92 of file C4MouseControl.h.
Referenced by Default(), DragNone(), LeftUp(), Move(), RightDown(), and RightUp().
|
protected |
Definition at line 97 of file C4MouseControl.h.
Referenced by Default(), Execute(), UpdateCursorTarget(), UpdateFogOfWar(), and UpdateScrolling().
|
protected |
Definition at line 89 of file C4MouseControl.h.
Referenced by Default(), and UpdateScrolling().
|
protected |
Definition at line 102 of file C4MouseControl.h.
Referenced by Clear(), ClearPointers(), Default(), Draw(), LeftUpDragNone(), RightUpDragNone(), and UpdateSingleSelection().
|
protected |
Definition at line 95 of file C4MouseControl.h.
Referenced by Default(), DoMoveInput(), Execute(), and Move().
|
protected |
Definition at line 121 of file C4MouseControl.h.
Referenced by ButtonUpDragScript(), ClearPointers(), Default(), LeftDown(), Move(), RightDown(), UpdateCursorTarget(), UpdateFogOfWar(), and UpdateSingleSelection().
|
protected |
Definition at line 117 of file C4MouseControl.h.
Referenced by SetTooltipRectangle(), and UpdateCursorTarget().
|
protected |
Definition at line 118 of file C4MouseControl.h.
Referenced by SetTooltipRectangle(), and UpdateCursorTarget().
|
protected |
Definition at line 114 of file C4MouseControl.h.
Referenced by SetTooltipText(), and UpdateCursorTarget().
|
protected |
Definition at line 77 of file C4MouseControl.h.
Referenced by Default(), IsViewport(), Move(), ScrollView(), and UpdateScrolling().
|
protected |
Definition at line 82 of file C4MouseControl.h.
Referenced by Default(), GetTargetObject(), and Move().
|
protected |
Definition at line 82 of file C4MouseControl.h.
Referenced by Default(), GetTargetObject(), and Move().
|
protected |
Definition at line 100 of file C4MouseControl.h.
Referenced by Default(), Draw(), HideCursor(), and ShowCursor().
|
protected |
Definition at line 81 of file C4MouseControl.h.
Referenced by C4Viewport::AdjustPosition(), Default(), Execute(), Move(), and UpdateScrolling().
|
protected |
Definition at line 81 of file C4MouseControl.h.
Referenced by C4Viewport::AdjustPosition(), Default(), Execute(), Move(), and UpdateScrolling().