1 /*! 2 @file 3 @author Albert Semenov 4 @date 07/2012 5 */ 6 7 #ifndef _fd8c12d8_17c8_4bb6_a654_55ac29b333e9_ 8 #define _fd8c12d8_17c8_4bb6_a654_55ac29b333e9_ 9 10 #include "Control.h" 11 #include "sigslot.h" 12 13 namespace tools 14 { 15 16 class MYGUI_EXPORT_DLL FocusInfoControl : 17 public Control, 18 public sigslot::has_slots<> 19 { 20 public: 21 FocusInfoControl(); 22 virtual ~FocusInfoControl(); 23 24 protected: 25 virtual void OnInitialise(Control* _parent, MyGUI::Widget* _place, const std::string& _layoutName); 26 27 private: 28 void Command_FocusVisible(const MyGUI::UString& _commandName, bool& _result); 29 30 void notifyFrameStart(float _time); 31 void updateFocusWidgetHelpers(); 32 33 private: 34 MyGUI::Widget* mMouseView; 35 MyGUI::Widget* mKeyView; 36 MyGUI::IntCoord mKeyCoord; 37 MyGUI::IntCoord mMouseCoord; 38 }; 39 40 } 41 42 #endif 43