23 #ifndef __MYGUI_INPUT_MANAGER_H__
24 #define __MYGUI_INPUT_MANAGER_H__
52 bool injectMouseMove(
int _absx,
int _absy,
int _absz);
56 bool injectMousePress(
int _absx,
int _absy,
MouseButton _id);
60 bool injectMouseRelease(
int _absx,
int _absy,
MouseButton _id);
69 bool injectKeyRelease(
KeyCode _key);
79 void setKeyFocusWidget(
Widget* _widget);
81 void resetKeyFocusWidget(
Widget* _widget);
98 void resetMouseFocusWidget();
102 void addWidgetModal(
Widget* _widget);
104 void removeWidgetModal(
Widget* _widget);
107 bool isModalAny() {
return !mVectorModalRootWidget.empty(); }
137 void _unlinkWidget(
Widget* _widget);
139 void frameEntered(
float _frame);
141 void firstEncoding(
KeyCode _key,
bool bIsKeyPressed);
151 Widget* mWidgetMouseFocus;
155 bool mIsWidgetMouseCapture;
160 bool mIsShiftPressed;
162 bool mIsControlPressed;
180 #endif // __MYGUI_INPUT_MANAGER_H__