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;
void SetTooltipRectangle(const C4Rect &rectangle)
const int32_t C4MC_Button_MiddleUp
const int32_t C4MC_Button_LeftDown
int32_t TimeInTooltipRectangle
const int32_t C4MC_Cursor_Right
const int32_t C4MC_Cursor_Passive
StdCopyStrBuf TooltipText
const int32_t C4MC_Cursor_DragDrop
C4Object * DragImageObject
int32_t UpdateSingleSelection()
const int32_t C4MC_DragSensitivity
const int32_t C4MC_Button_RightUp
void ButtonUpDragScript()
bool ButtonDownOnSelection
const int32_t C4MC_Button_X2Down
const int32_t C4MC_Cursor_Down
const int32_t C4MC_Button_MiddleDouble
void ScrollView(float iX, float iY, float ViewWdt, float ViewHgt)
void SetOwnedMouse(bool fToVal)
const int32_t C4MC_Button_X1Double
const int32_t C4MC_MD_NoClick
const int32_t C4MC_MD_DropTarget
const int32_t C4MC_Button_LeftDouble
void SetTooltipText(const StdStrBuf &text)
void Draw(C4TargetFacet &cgo, const ZoomData &GameZoom)
const int32_t C4MC_Button_X2Double
C4MouseControl MouseControl
const int32_t C4MC_Button_LeftUp
const int32_t C4MC_Button_X1Up
bool IsViewport(C4Viewport *pViewport)
void Move(int32_t iButton, int32_t iX, int32_t iY, DWORD dwKeyFlags, bool fCenter=false)
const int32_t C4MC_Cursor_Left
const int32_t C4MC_Cursor_DownLeft
const int32_t C4MC_Cursor_DropInto
const int32_t C4MC_Cursor_Select
const int32_t C4MC_Button_X1Down
const int32_t C4MC_Button_RightDown
const int32_t C4MC_Cursor_Up
void Wheel(DWORD dwFlags)
const int32_t C4MC_Button_Wheel
const int32_t C4MC_Cursor_UpLeft
const int32_t C4MC_MD_DragSource
bool Init(int32_t iPlayer)
void UpdateCursorTarget()
const int32_t C4MC_Button_RightDouble
const int32_t C4MC_Button_None
const int32_t C4MC_Cursor_DownRight
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_MiddleDown
const int32_t C4MC_Cursor_UpRight
C4Object * GetTargetObject()
const char * GetCaption()
void ClearPointers(C4Object *pObj)
const int32_t C4MC_Cursor_Crosshair
const int32_t C4MC_Button_X2Up