20 #ifndef INC_C4MouseControl
21 #define INC_C4MouseControl
126 bool Init(int32_t iPlayer);
131 void Move(int32_t iButton, int32_t iX, int32_t iY,
DWORD dwKeyFlags,
bool fCenter =
false);
139 bool GetLastCursorPos(int32_t *x_out_gui, int32_t *y_out_gui, int32_t *x_out_game, int32_t *y_out_game)
const;
const int32_t C4MC_Button_X1Double
const int32_t C4MC_Cursor_Passive
const int32_t C4MC_Button_X2Up
const int32_t C4MC_Cursor_Left
const int32_t C4MC_Cursor_Up
const int32_t C4MC_Button_None
const int32_t C4MC_DragSensitivity
const int32_t C4MC_Button_RightDown
const int32_t C4MC_Cursor_DownRight
const int32_t C4MC_Button_MiddleUp
const int32_t C4MC_Button_RightUp
const int32_t C4MC_Cursor_Crosshair
const int32_t C4MC_Button_MiddleDouble
const int32_t C4MC_MD_DragSource
const int32_t C4MC_Button_X1Up
const int32_t C4MC_Button_MiddleDown
const int32_t C4MC_Cursor_DownLeft
const int32_t C4MC_Cursor_Down
const int32_t C4MC_Cursor_DragDrop
const int32_t C4MC_Button_RightDouble
const int32_t C4MC_Button_LeftUp
C4MouseControl MouseControl
const int32_t C4MC_Cursor_Select
const int32_t C4MC_Cursor_UpRight
const int32_t C4MC_Button_X1Down
const int32_t C4MC_Button_LeftDown
const int32_t C4MC_Button_LeftDouble
const int32_t C4MC_Button_X2Double
const int32_t C4MC_MD_NoClick
const int32_t C4MC_Cursor_DropInto
const int32_t C4MC_Cursor_Right
const int32_t C4MC_Button_X2Down
const int32_t C4MC_MD_DropTarget
const int32_t C4MC_Cursor_UpLeft
const int32_t C4MC_Button_Wheel
void SetTooltipText(const StdStrBuf &text)
void Draw(C4TargetFacet &cgo, const ZoomData &GameZoom)
bool IsViewport(C4Viewport *pViewport)
void SetOwnedMouse(bool fToVal)
StdCopyStrBuf TooltipText
bool GetLastCursorPos(int32_t *x_out_gui, int32_t *y_out_gui, int32_t *x_out_game, int32_t *y_out_game) const
void ScrollView(float iX, float iY, float ViewWdt, float ViewHgt)
const char * GetCaption()
void Move(int32_t iButton, int32_t iX, int32_t iY, DWORD dwKeyFlags, bool fCenter=false)
bool ButtonDownOnSelection
int32_t UpdateSingleSelection()
C4Object * GetTargetObject()
void SetTooltipRectangle(const C4Rect &rectangle)
C4Object * DragImageObject
void Wheel(DWORD dwFlags)
void ButtonUpDragScript()
int32_t TimeInTooltipRectangle
bool Init(int32_t iPlayer)
void ClearPointers(C4Object *pObj)
void UpdateCursorTarget()