7#ifndef MYGUI_INPUT_MANAGER_H_
8#define MYGUI_INPUT_MANAGER_H_
134 void _unlinkWidget(
Widget* _widget)
override;
136 void frameEntered(
float _frame);
138 void firstEncoding(
KeyCode _key,
bool bIsKeyPressed);
148 Widget* mWidgetMouseFocus{
nullptr};
149 Widget* mWidgetKeyFocus{
nullptr};
150 ILayer* mLayerMouseFocus{
nullptr};
153 float mTimerDoubleClick;
156 bool mIsShiftPressed{
false};
158 bool mIsControlPressed{
false};
159 bool mIsAltPressed{
false};
160 bool mIsMetaPressed{
false};
165 IntPoint mLastPressed[MouseButton::MAX];
168 bool mMouseCapture[MouseButton::MAX];
171 KeyCode mHoldKey{KeyCode::None};
173 bool mFirstPressKey{
false};
174 float mTimerKey{0.0f};
180 bool mIsInitialise{
false};
#define MYGUI_SINGLETON_DECLARATION(ClassName)
types::TPoint< int > IntPoint
std::vector< Widget * > VectorWidgetPtr