7#ifndef MYGUI_INPUT_MANAGER_H_ 
    8#define MYGUI_INPUT_MANAGER_H_ 
   61        bool isFocusMouse() 
const;
 
   63        bool isFocusKey() 
const;
 
   65        bool isCaptureMouse() 
const;
 
   72        void resetKeyFocusWidget();
 
   75        Widget* getMouseFocusWidget() 
const;
 
   77        Widget* getKeyFocusWidget() 
const;
 
   85        const IntPoint& getMousePosition() 
const;
 
   90        IntPoint getMousePositionByLayer() 
const;
 
   99        bool isModalAny() 
const;
 
  102        bool isControlPressed() 
const;
 
  104        bool isShiftPressed() 
const;
 
  106        bool isAltPressed() 
const;
 
  108        bool isMetaPressed() 
const;
 
  114        void resetMouseCaptureWidget();
 
  132        void _resetMouseFocusWidget();
 
  138        void frameEntered(
float _frame);
 
  150        Widget* mWidgetMouseFocus;
 
  155        float mTimerDoubleClick; 
 
  158        bool mIsShiftPressed;
 
  160        bool mIsControlPressed;
 
  167        IntPoint mLastPressed[MouseButton::MAX];
 
  170        bool mMouseCapture[MouseButton::MAX];
 
#define MYGUI_SINGLETON_DECLARATION(ClassName)
std::vector< Widget * > VectorWidgetPtr