GuiMouseEventCtrl
Engine/source/gui/utility/guiMouseEventCtrl.h
Private Types
Parent
Private Attributes
bool
Private Functions
sendMouseEvent(const char * name, const GuiEvent & )
Public Functions
DECLARE_CALLBACK(void , onMouseDown , (S32 modifier, Point2I mousePoint, S32 mouseClickCount) )
DECLARE_CALLBACK(void , onMouseDragged , (S32 modifier, Point2I mousePoint, S32 mouseClickCount) )
DECLARE_CALLBACK(void , onMouseEnter , (S32 modifier, Point2I mousePoint, S32 mouseClickCount) )
DECLARE_CALLBACK(void , onMouseLeave , (S32 modifier, Point2I mousePoint, S32 mouseClickCount) )
DECLARE_CALLBACK(void , onMouseMove , (S32 modifier, Point2I mousePoint, S32 mouseClickCount) )
DECLARE_CALLBACK(void , onRightMouseDown , (S32 modifier, Point2I mousePoint, S32 mouseClickCount) )
DECLARE_CALLBACK(void , onRightMouseDragged , (S32 modifier, Point2I mousePoint, S32 mouseClickCount) )
DECLARE_CALLBACK(void , onRightMouseUp , (S32 modifier, Point2I mousePoint, S32 mouseClickCount) )
DECLARE_CATEGORY("Gui Other Script" )
DECLARE_DESCRIPTION("A <a href="/coding/file/guieditctrl_8cpp/#guieditctrl_8cpp_1abb04e3738c4c5a96b3ade6fa47013a6c">control</a> that relays all mouse events <a href="/coding/file/cmdgram_8cpp/#cmdgram_8cpp_1a5bafda9519252aa2d0fd038153f77dca">to</a> script." )
onMouseDown(const GuiEvent & event)
onMouseDragged(const GuiEvent & event)
onMouseEnter(const GuiEvent & event)
onMouseLeave(const GuiEvent & event)
onMouseMove(const GuiEvent & event)
onRightMouseDown(const GuiEvent & event)
onRightMouseDragged(const GuiEvent & event)
onRightMouseUp(const GuiEvent & event)
Public Static Functions
Detailed Description
Private Types
typedef GuiControl Parent
Private Attributes
bool mLockMouse
Private Functions
sendMouseEvent(const char * name, const GuiEvent & )
Public Functions
GuiMouseEventCtrl()
DECLARE_CALLBACK(void , onMouseDown , (S32 modifier, Point2I mousePoint, S32 mouseClickCount) )
DECLARE_CALLBACK(void , onMouseDragged , (S32 modifier, Point2I mousePoint, S32 mouseClickCount) )
DECLARE_CALLBACK(void , onMouseEnter , (S32 modifier, Point2I mousePoint, S32 mouseClickCount) )
DECLARE_CALLBACK(void , onMouseLeave , (S32 modifier, Point2I mousePoint, S32 mouseClickCount) )
DECLARE_CALLBACK(void , onMouseMove , (S32 modifier, Point2I mousePoint, S32 mouseClickCount) )
DECLARE_CALLBACK(void , onMouseUp , (S32 modifier, Point2I mousePoint, S32 mouseClickCount) )
DECLARE_CALLBACK(void , onRightMouseDown , (S32 modifier, Point2I mousePoint, S32 mouseClickCount) )
DECLARE_CALLBACK(void , onRightMouseDragged , (S32 modifier, Point2I mousePoint, S32 mouseClickCount) )
DECLARE_CALLBACK(void , onRightMouseUp , (S32 modifier, Point2I mousePoint, S32 mouseClickCount) )
DECLARE_CATEGORY("Gui Other Script" )
DECLARE_CONOBJECT(GuiMouseEventCtrl )
DECLARE_DESCRIPTION("A <a href="/coding/file/guieditctrl_8cpp/#guieditctrl_8cpp_1abb04e3738c4c5a96b3ade6fa47013a6c">control</a> that relays all mouse events <a href="/coding/file/cmdgram_8cpp/#cmdgram_8cpp_1a5bafda9519252aa2d0fd038153f77dca">to</a> script." )
onMouseDown(const GuiEvent & event)
Reimplemented from: GuiControl
onMouseDragged(const GuiEvent & event)
Reimplemented from: GuiControl
onMouseEnter(const GuiEvent & event)
Reimplemented from: GuiControl
onMouseLeave(const GuiEvent & event)
Reimplemented from: GuiControl
onMouseMove(const GuiEvent & event)
Reimplemented from: GuiControl
onMouseUp(const GuiEvent & event)
Reimplemented from: GuiControl
onRightMouseDown(const GuiEvent & event)
Reimplemented from: GuiControl
onRightMouseDragged(const GuiEvent & event)
Reimplemented from: GuiControl
onRightMouseUp(const GuiEvent & event)
Reimplemented from: GuiControl