MyGUI 3.0.1
|
#include <MyGUI_InputManager.h>
Definition at line 41 of file MyGUI_InputManager.h.
MyGUI::InputManager::InputManager | ( | ) |
Definition at line 36 of file MyGUI_InputManager.cpp.
MyGUI::InputManager::~InputManager | ( | ) |
Definition at line 36 of file MyGUI_InputManager.cpp.
void MyGUI::InputManager::addWidgetModal | ( | Widget * | _widget | ) |
Add modal widget - all other widgets inaccessible while modal widget exist
Definition at line 496 of file MyGUI_InputManager.cpp.
InputManager & MyGUI::InputManager::getInstance | ( | ) | [static] |
Definition at line 36 of file MyGUI_InputManager.cpp.
InputManager * MyGUI::InputManager::getInstancePtr | ( | ) | [static] |
Definition at line 36 of file MyGUI_InputManager.cpp.
Widget* MyGUI::InputManager::getKeyFocusWidget | ( | ) | [inline] |
Get key focused widget
Definition at line 88 of file MyGUI_InputManager.h.
const IntPoint& MyGUI::InputManager::getLastLeftPressed | ( | ) | [inline] |
Get position of last left mouse button press
Definition at line 90 of file MyGUI_InputManager.h.
Widget* MyGUI::InputManager::getMouseFocusWidget | ( | ) | [inline] |
Get mouse focused widget
Definition at line 86 of file MyGUI_InputManager.h.
const IntPoint& MyGUI::InputManager::getMousePosition | ( | ) | [inline] |
Get current mouse position
Definition at line 92 of file MyGUI_InputManager.h.
IntPoint MyGUI::InputManager::getMousePositionByLayer | ( | ) |
Definition at line 594 of file MyGUI_InputManager.cpp.
void MyGUI::InputManager::initialise | ( | ) |
Definition at line 38 of file MyGUI_InputManager.cpp.
Inject KeyPress event
Definition at line 338 of file MyGUI_InputManager.cpp.
bool MyGUI::InputManager::injectKeyRelease | ( | KeyCode | _key | ) |
Inject KeyRelease event
Definition at line 357 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 219 of file MyGUI_InputManager.cpp.
bool MyGUI::InputManager::injectMouseRelease | ( | int | _absx, |
int | _absy, | ||
MouseButton | _id | ||
) |
Inject MouseRelease event
Definition at line 292 of file MyGUI_InputManager.cpp.
bool MyGUI::InputManager::isCaptureMouse | ( | ) | [inline] |
Is any widget captured mouse
Definition at line 76 of file MyGUI_InputManager.h.
bool MyGUI::InputManager::isControlPressed | ( | ) | [inline] |
Is control button pressed
Definition at line 110 of file MyGUI_InputManager.h.
bool MyGUI::InputManager::isFocusKey | ( | ) | [inline] |
Is any widget have key focus
Definition at line 74 of file MyGUI_InputManager.h.
bool MyGUI::InputManager::isFocusMouse | ( | ) | [inline] |
Is any widget have mouse focus
Definition at line 72 of file MyGUI_InputManager.h.
bool MyGUI::InputManager::isModalAny | ( | ) | [inline] |
Return true if any modal widget exist
Definition at line 107 of file MyGUI_InputManager.h.
bool MyGUI::InputManager::isShiftPressed | ( | ) | [inline] |
Is shift button pressed
Definition at line 112 of file MyGUI_InputManager.h.
void MyGUI::InputManager::removeWidgetModal | ( | Widget * | _widget | ) |
Remove modal widget
Definition at line 509 of file MyGUI_InputManager.cpp.
void MyGUI::InputManager::resetKeyFocusWidget | ( | ) | [inline] |
Drop any key focus
Definition at line 83 of file MyGUI_InputManager.h.
void MyGUI::InputManager::resetKeyFocusWidget | ( | Widget * | _widget | ) |
Drop key focus for _widget
Definition at line 588 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 117 of file MyGUI_InputManager.h.
void MyGUI::InputManager::resetMouseFocusWidget | ( | ) |
Drop any mouse focus
Definition at line 444 of file MyGUI_InputManager.cpp.
void MyGUI::InputManager::setKeyFocusWidget | ( | Widget * | _widget | ) |
Set key focus for _widget
Definition at line 380 of file MyGUI_InputManager.cpp.
void MyGUI::InputManager::shutdown | ( | ) |
Definition at line 62 of file MyGUI_InputManager.cpp.
void MyGUI::InputManager::unlinkWidget | ( | Widget * | _widget | ) | [inline] |
Definition at line 119 of file MyGUI_InputManager.h.
Event :
signature : void method(MyGUI::Widget* _widget)
_widget |
Definition at line 133 of file MyGUI_InputManager.h.
Event :
signature : void method(MyGUI::Widget* _widget)
_widget |
Definition at line 126 of file MyGUI_InputManager.h.