#include <MyGUI_WidgetEvent.h>
Detailed Description
Definition at line 73 of file MyGUI_WidgetEvent.h.
Constructor & Destructor Documentation
virtual MyGUI::WidgetEvent::~WidgetEvent |
( |
| ) |
|
|
inlinevirtual |
MyGUI::WidgetEvent::WidgetEvent |
( |
| ) |
|
|
inlineprotected |
Member Function Documentation
virtual void MyGUI::WidgetEvent::onKeyButtonPressed |
( |
KeyCode |
_key, |
|
|
Char |
_char |
|
) |
| |
|
inlineprotectedvirtual |
virtual void MyGUI::WidgetEvent::onKeyButtonReleased |
( |
KeyCode |
_key | ) |
|
|
inlineprotectedvirtual |
virtual void MyGUI::WidgetEvent::onKeyChangeRootFocus |
( |
bool |
_focus | ) |
|
|
inlineprotectedvirtual |
virtual void MyGUI::WidgetEvent::onKeyLostFocus |
( |
Widget * |
_new | ) |
|
|
inlineprotectedvirtual |
virtual void MyGUI::WidgetEvent::onKeySetFocus |
( |
Widget * |
_old | ) |
|
|
inlineprotectedvirtual |
virtual void MyGUI::WidgetEvent::onMouseButtonClick |
( |
| ) |
|
|
inlineprotectedvirtual |
virtual void MyGUI::WidgetEvent::onMouseButtonDoubleClick |
( |
| ) |
|
|
inlineprotectedvirtual |
virtual void MyGUI::WidgetEvent::onMouseButtonPressed |
( |
int |
_left, |
|
|
int |
_top, |
|
|
MouseButton |
_id |
|
) |
| |
|
inlineprotectedvirtual |
virtual void MyGUI::WidgetEvent::onMouseButtonReleased |
( |
int |
_left, |
|
|
int |
_top, |
|
|
MouseButton |
_id |
|
) |
| |
|
inlineprotectedvirtual |
virtual void MyGUI::WidgetEvent::onMouseChangeRootFocus |
( |
bool |
_focus | ) |
|
|
inlineprotectedvirtual |
virtual void MyGUI::WidgetEvent::onMouseDrag |
( |
int |
_left, |
|
|
int |
_top |
|
) |
| |
|
inlineprotectedvirtual |
virtual void MyGUI::WidgetEvent::onMouseLostFocus |
( |
Widget * |
_new | ) |
|
|
inlineprotectedvirtual |
virtual void MyGUI::WidgetEvent::onMouseMove |
( |
int |
_left, |
|
|
int |
_top |
|
) |
| |
|
inlineprotectedvirtual |
virtual void MyGUI::WidgetEvent::onMouseSetFocus |
( |
Widget * |
_old | ) |
|
|
inlineprotectedvirtual |
virtual void MyGUI::WidgetEvent::onMouseWheel |
( |
int |
_rel | ) |
|
|
inlineprotectedvirtual |
Friends And Related Function Documentation
Field Documentation
Event : Internal request for parent and item index, used for any widget.
signature : void method(MyGUI::Widget* _sender, MyGUI::Widget*& _container, size_t& _index);
- Parameters
-
_sender | widget that called this event |
_container | parent |
_index | of container |
Definition at line 223 of file MyGUI_WidgetEvent.h.
Event : Extendeble event for special cases or plugins.
signature : void method(MyGUI::Widget* _sender, const std::string& _key, const std::string& _value);
- Parameters
-
_sender | widget that called this event |
_key | |
_value | |
Definition at line 215 of file MyGUI_WidgetEvent.h.
Event : Widget property changed through setProperty (in code, or from layout)
signature : void method(MyGUI::Widget* _sender, const std::string& _key, const std::string& _value);
- Parameters
-
_sender | widget that called this event |
_key | |
_value | |
Definition at line 231 of file MyGUI_WidgetEvent.h.
Event : Key pressed.
signature : void method(MyGUI::Widget* _sender, MyGUI::KeyCode _key, MyGUI::Char _char)
- Parameters
-
_sender | widget that called this event |
_key | code |
_char | of pressed symbol (for multilanguage applications) |
Definition at line 177 of file MyGUI_WidgetEvent.h.
Event : Key released.
signature : void method(MyGUI::Widget* _sender, MyGUI::KeyCode _key)
- Parameters
-
_sender | widget that called this event |
_key | code |
Definition at line 184 of file MyGUI_WidgetEvent.h.
Event : Widget lost keyboard focus.
signature : void method(MyGUI::Widget* _sender, MyGUI::Widget* _new)
- Parameters
-
_sender | widget that called this event |
_new | widget with keyboard focus or nullptr |
Definition at line 162 of file MyGUI_WidgetEvent.h.
Event : Widget got keyboard focus.
signature : void method(MyGUI::Widget* _sender, MyGUI::Widget* _old)
- Parameters
-
_sender | widget that called this event |
_old | widget with keyboard focus or nullptr |
Definition at line 169 of file MyGUI_WidgetEvent.h.
Event : Mouse button pressed and released.
signature : void method(MyGUI::Widget* _sender)
- Parameters
-
_sender | widget that called this event |
Definition at line 149 of file MyGUI_WidgetEvent.h.
Event : Mouse button double click.
signature : void method(MyGUI::Widget* _sender)
- Parameters
-
_sender | widget that called this event |
Definition at line 155 of file MyGUI_WidgetEvent.h.
Event : Mouse button pressed.
signature : void method(MyGUI::Widget* _sender, int _left, int _top, MyGUI::MouseButton _id)
- Parameters
-
_sender | widget that called this event |
_left | - pointer position |
_top | - pointer position |
_id | Mouse button id |
Definition at line 134 of file MyGUI_WidgetEvent.h.
Event : Mouse button released.
signature : void method(MyGUI::Widget* _sender, int _left, int _top, MyGUI::MouseButton _id)
- Parameters
-
_sender | widget that called this event |
_left | - pointer position |
_top | - pointer position |
_id | Mouse button id |
Definition at line 143 of file MyGUI_WidgetEvent.h.
Event : Widget mouse move with captured widget.
signature : void method(MyGUI::Widget* _sender, int _left, int _top)
- Parameters
-
_sender | widget that called this event |
_left | - pointer position |
_top | - pointer position |
Definition at line 110 of file MyGUI_WidgetEvent.h.
Event : Widget lost mouse focus.
signature : void method(MyGUI::Widget* _sender, MyGUI::Widget* _new)
- Parameters
-
_sender | widget that called this event |
_new | widget with mouse focus or nullptr |
Definition at line 95 of file MyGUI_WidgetEvent.h.
Event : Mouse move over widget.
signature : void method(MyGUI::Widget* _sender, int _left, int _top)
- Parameters
-
_sender | widget that called this event |
_left | - pointer position |
_top | - pointer position |
Definition at line 118 of file MyGUI_WidgetEvent.h.
Event : Widget got mouse focus.
signature : void method(MyGUI::Widget* _sender, MyGUI::Widget* _old)
- Parameters
-
_sender | widget that called this event |
_old | widget with mouse focus or nullptr |
Definition at line 102 of file MyGUI_WidgetEvent.h.
Event : Mouse wheel over widget.
signature : void method(MyGUI::Widget* _sender, int _rel)
- Parameters
-
_sender | widget that called this event |
_rel | relative wheel position |
Definition at line 125 of file MyGUI_WidgetEvent.h.
Event : Root widget changed keyboard focus.
info : this event sends only to root widget
signature : void method(MyGUI::Widget* _sender, bool _focus);
- Parameters
-
_sender | widget that called this event |
_focus | Is widget got keyboard focus. |
Definition at line 200 of file MyGUI_WidgetEvent.h.
Event : Root widget changed mouse focus.
info : this event sends only to root widget
signature : void method(MyGUI::Widget* _sender, bool _focus);
- Parameters
-
_sender | widget that called this event |
_focus | Is widget got mouse focus. |
Definition at line 192 of file MyGUI_WidgetEvent.h.
Event : Event about changing tooltip state.
signature : void method(MyGUI::Widget* _sender, const MyGUI::ToolTipInfo& _info);
- Parameters
-
_sender | widget that called this event |
_info | about tooltip |
Definition at line 207 of file MyGUI_WidgetEvent.h.
Widget* MyGUI::WidgetEvent::mWidgetEventSender |
|
protected |
The documentation for this class was generated from the following file: