#include <MyGUI_InputManager.h>
Definition at line 40 of file MyGUI_InputManager.h.
void MyGUI::InputManager::addWidgetModal | ( | WidgetPtr | _widget | ) |
Add modal widget - all other widgets inaccessible while modal widget exist
Definition at line 472 of file MyGUI_InputManager.cpp.
WidgetPtr MyGUI::InputManager::getKeyFocusWidget | ( | ) | [inline] |
Get key focused widget
Definition at line 87 of file MyGUI_InputManager.h.
const IntPoint& MyGUI::InputManager::getLastLeftPressed | ( | ) | [inline] |
Get position of last left mouse button press
Definition at line 89 of file MyGUI_InputManager.h.
WidgetPtr MyGUI::InputManager::getMouseFocusWidget | ( | ) | [inline] |
Get mouse focused widget
Definition at line 85 of file MyGUI_InputManager.h.
const IntPoint& MyGUI::InputManager::getMousePosition | ( | ) | [inline] |
Get current mouse position
Definition at line 91 of file MyGUI_InputManager.h.
void MyGUI::InputManager::initialise | ( | ) |
Definition at line 39 of file MyGUI_InputManager.cpp.
Inject KeyPress event
Definition at line 314 of file MyGUI_InputManager.cpp.
bool MyGUI::InputManager::injectKeyRelease | ( | KeyCode | _key | ) |
Inject KeyRelease event
Definition at line 333 of file MyGUI_InputManager.cpp.
bool MyGUI::InputManager::injectMouseMove | ( | int | _absx, | |
int | _absy, | |||
int | _absz | |||
) |
Inject MouseMove event
Definition at line 74 of file MyGUI_InputManager.cpp.
bool MyGUI::InputManager::injectMousePress | ( | int | _absx, | |
int | _absy, | |||
MouseButton | _id | |||
) |
Inject MousePress event
Definition at line 199 of file MyGUI_InputManager.cpp.
bool MyGUI::InputManager::injectMouseRelease | ( | int | _absx, | |
int | _absy, | |||
MouseButton | _id | |||
) |
Inject MouseRelease event
Definition at line 268 of file MyGUI_InputManager.cpp.
bool MyGUI::InputManager::isCaptureMouse | ( | ) | [inline] |
Is any widget captured mouse
Definition at line 75 of file MyGUI_InputManager.h.
bool MyGUI::InputManager::isControlPressed | ( | ) | [inline] |
Is control button pressed
Definition at line 107 of file MyGUI_InputManager.h.
bool MyGUI::InputManager::isFocusKey | ( | ) | [inline] |
Is any widget have key focus
Definition at line 73 of file MyGUI_InputManager.h.
bool MyGUI::InputManager::isFocusMouse | ( | ) | [inline] |
Is any widget have mouse focus
Definition at line 71 of file MyGUI_InputManager.h.
bool MyGUI::InputManager::isModalAny | ( | ) | [inline] |
Return true if any modal widget exist
Definition at line 104 of file MyGUI_InputManager.h.
bool MyGUI::InputManager::isShiftPressed | ( | ) | [inline] |
Is shift button pressed
Definition at line 109 of file MyGUI_InputManager.h.
void MyGUI::InputManager::removeWidgetModal | ( | WidgetPtr | _widget | ) |
Remove modal widget
Definition at line 485 of file MyGUI_InputManager.cpp.
void MyGUI::InputManager::resetKeyFocusWidget | ( | ) | [inline] |
Drop any key focus
Definition at line 82 of file MyGUI_InputManager.h.
void MyGUI::InputManager::resetKeyFocusWidget | ( | WidgetPtr | _widget | ) |
Drop key focus for _widget
Definition at line 564 of file MyGUI_InputManager.cpp.
void MyGUI::InputManager::resetMouseCaptureWidget | ( | ) | [inline] |
Reset mouse capture (for example when we dragging and application lost focus you should call this)
Definition at line 114 of file MyGUI_InputManager.h.
void MyGUI::InputManager::resetMouseFocusWidget | ( | ) |
Drop any mouse focus
Definition at line 420 of file MyGUI_InputManager.cpp.
void MyGUI::InputManager::setKeyFocusWidget | ( | WidgetPtr | _widget | ) |
Set key focus for _widget
Definition at line 356 of file MyGUI_InputManager.cpp.
void MyGUI::InputManager::shutdown | ( | ) |
Definition at line 62 of file MyGUI_InputManager.cpp.
void MyGUI::InputManager::unlinkWidget | ( | WidgetPtr | _widget | ) | [inline] |
Definition at line 116 of file MyGUI_InputManager.h.
Event :
signature : void method(MyGUI::WidgetPtr _widget)
_widget |
Definition at line 130 of file MyGUI_InputManager.h.
Event :
signature : void method(MyGUI::WidgetPtr _widget)
_widget |
Definition at line 123 of file MyGUI_InputManager.h.