#include <MyGUI_DelegateManager.h>
Manager for handling delegates by names.
Definition at line 46 of file MyGUI_DelegateManager.h.
typedef delegates::CDelegate3<WidgetPtr, const std::string&, const std::string&> MyGUI::DelegateManager::HandleEvent |
Definition at line 50 of file MyGUI_DelegateManager.h.
typedef std::map<std::string, HandleEvent> MyGUI::DelegateManager::MapDelegate |
Definition at line 51 of file MyGUI_DelegateManager.h.
void MyGUI::DelegateManager::addDefaultDelegate | ( | HandleEvent::IDelegate * | _delegate | ) |
Add delegate that called by default if there's no delegate by called key
Definition at line 73 of file MyGUI_DelegateManager.cpp.
void MyGUI::DelegateManager::addDelegate | ( | const std::string & | _key, | |
HandleEvent::IDelegate * | _delegate | |||
) |
Definition at line 53 of file MyGUI_DelegateManager.cpp.
void MyGUI::DelegateManager::eventMouseButtonClick | ( | MyGUI::WidgetPtr | _sender | ) | [inline] |
Definition at line 84 of file MyGUI_DelegateManager.h.
void MyGUI::DelegateManager::eventMouseButtonDoubleClick | ( | MyGUI::WidgetPtr | _sender | ) | [inline] |
Definition at line 85 of file MyGUI_DelegateManager.h.
void MyGUI::DelegateManager::eventMouseButtonPressed | ( | MyGUI::WidgetPtr | _sender, | |
int | _left, | |||
int | _top, | |||
MyGUI::MouseButton | _id | |||
) | [inline] |
Definition at line 82 of file MyGUI_DelegateManager.h.
void MyGUI::DelegateManager::eventMouseButtonReleased | ( | MyGUI::WidgetPtr | _sender, | |
int | _left, | |||
int | _top, | |||
MyGUI::MouseButton | _id | |||
) | [inline] |
Definition at line 83 of file MyGUI_DelegateManager.h.
void MyGUI::DelegateManager::eventMouseDrag | ( | MyGUI::WidgetPtr | _sender, | |
int | _left, | |||
int | _top | |||
) | [inline] |
Definition at line 79 of file MyGUI_DelegateManager.h.
void MyGUI::DelegateManager::eventMouseLostFocus | ( | MyGUI::WidgetPtr | _sender, | |
MyGUI::WidgetPtr | _new | |||
) | [inline] |
Definition at line 77 of file MyGUI_DelegateManager.h.
void MyGUI::DelegateManager::eventMouseMove | ( | MyGUI::WidgetPtr | _sender, | |
int | _left, | |||
int | _top | |||
) | [inline] |
Definition at line 80 of file MyGUI_DelegateManager.h.
void MyGUI::DelegateManager::eventMouseSetFocus | ( | MyGUI::WidgetPtr | _sender, | |
MyGUI::WidgetPtr | _new | |||
) | [inline] |
Definition at line 78 of file MyGUI_DelegateManager.h.
void MyGUI::DelegateManager::eventMouseWheel | ( | MyGUI::WidgetPtr | _sender, | |
int | _rel | |||
) | [inline] |
Definition at line 81 of file MyGUI_DelegateManager.h.
* * void MyGUI::DelegateManager::eventToolTip | ( | MyGUI::WidgetPtr | _sender, | |
const MyGUI::ToolTipInfo & | _info | |||
) | [inline] |
Definition at line 158 of file MyGUI_DelegateManager.h.
void MyGUI::DelegateManager::initialise | ( | ) |
Definition at line 31 of file MyGUI_DelegateManager.cpp.
void MyGUI::DelegateManager::removeDelegate | ( | const std::string & | _key | ) |
Remove delegate
Definition at line 63 of file MyGUI_DelegateManager.cpp.
void MyGUI::DelegateManager::shutdown | ( | ) |
Definition at line 42 of file MyGUI_DelegateManager.cpp.
Definition at line 135 of file MyGUI_DelegateManager.h.
const std::string& MyGUI::DelegateManager::_key |
Definition at line 85 of file MyGUI_DelegateManager.h.
Definition at line 135 of file MyGUI_DelegateManager.h.
const std::string const std::string& MyGUI::DelegateManager::_value |
Definition at line 85 of file MyGUI_DelegateManager.h.
Definition at line 161 of file MyGUI_DelegateManager.h.
Definition at line 158 of file MyGUI_DelegateManager.h.
Definition at line 135 of file MyGUI_DelegateManager.h.
Event : Widget lost keyboard focus.
signature : void method(MyGUI::WidgetPtr _sender, MyGUI::WidgetPtr _new)
_new | widget with keyboard focus or nullptr Event : Widget got keyboard focus. signature : void method(MyGUI::WidgetPtr _sender, MyGUI::WidgetPtr _old) | |
_old | widget with keyboard focus or nullptr Event : Key pressed. signature : void method(MyGUI::WidgetPtr _sender, MyGUI::KeyCode _key, MyGUI::Char _char) | |
_key | code | |
_char | of pressed symbol (for multilanguage applications) Event : Key released. signature : void method(MyGUI::WidgetPtr _sender, MyGUI::KeyCode _key) | |
_key | code Event : Root widget changed mouse focus. info : this event sends only to root widget signature : void method(MyGUI::WidgetPtr _sender, bool _focus); | |
_focus | Is widget got mouse focus. Event : Root widget changed keyboard focus. info : this event sends only to root widget signature : void method(MyGUI::WidgetPtr _sender, bool _focus); | |
_focus | Is widget got keyboard focus. Event : Extendeble event for special cases or plugins. signature : void method(MyGUI::WidgetPtr _sender, const std::string& _key, const std::string& _value); |
Definition at line 85 of file MyGUI_DelegateManager.h.