#include <MyGUI_PointerManager.h>
Public Member Functions | |
PointerManager () | |
~PointerManager () | |
void | initialise () |
void | shutdown () |
bool | load (const std::string &_file) |
void | _load (xml::ElementPtr _node, const std::string &_file, Version _version) |
void | setVisible (bool _visible) |
bool | isVisible () |
void | setPointer (const std::string &_name) |
void | resetToDefaultPointer () |
const std::string & | getDefaultPointer () |
void | setDeafultPointer (const std::string &_value) |
const std::string & | getLayerName () |
void | setLayerName (const std::string &_value) |
IPointer * | getByName (const std::string &_name) |
__declspec (deprecated("use : void PointerManager::setVisible(bool _visible)")) void show() | |
__declspec (deprecated("use : void PointerManager::setVisible(bool _visible)")) void hide() | |
__declspec (deprecated("use : bool PointerManager::isVisible()")) bool isShow() | |
Static Public Member Functions | |
static PointerManager & | getInstance () |
static PointerManager * | getInstancePtr () |
Data Fields | |
delegates::CDelegate1< const std::string & > | eventChangeMousePointer |
Definition at line 36 of file MyGUI_PointerManager.h.
MyGUI::PointerManager::PointerManager | ( | ) |
Definition at line 46 of file MyGUI_PointerManager.cpp.
MyGUI::PointerManager::~PointerManager | ( | ) |
Definition at line 46 of file MyGUI_PointerManager.cpp.
MyGUI::PointerManager::__declspec | ( | deprecated("use : bool PointerManager::isVisible()") | ) | [inline] |
Definition at line 90 of file MyGUI_PointerManager.h.
MyGUI::PointerManager::__declspec | ( | deprecated("use : void PointerManager::setVisible(bool _visible)") | ) | [inline] |
Definition at line 88 of file MyGUI_PointerManager.h.
MyGUI::PointerManager::__declspec | ( | deprecated("use : void PointerManager::setVisible(bool _visible)") | ) | [inline] |
Definition at line 86 of file MyGUI_PointerManager.h.
void MyGUI::PointerManager::_load | ( | xml::ElementPtr | _node, | |
const std::string & | _file, | |||
Version | _version | |||
) |
Definition at line 102 of file MyGUI_PointerManager.cpp.
IPointer * MyGUI::PointerManager::getByName | ( | const std::string & | _name | ) |
Get pointer resource
Definition at line 335 of file MyGUI_PointerManager.cpp.
const std::string& MyGUI::PointerManager::getDefaultPointer | ( | ) | [inline] |
Get default pointer
Definition at line 65 of file MyGUI_PointerManager.h.
PointerManager & MyGUI::PointerManager::getInstance | ( | ) | [static] |
Definition at line 46 of file MyGUI_PointerManager.cpp.
PointerManager * MyGUI::PointerManager::getInstancePtr | ( | ) | [static] |
Definition at line 46 of file MyGUI_PointerManager.cpp.
const std::string& MyGUI::PointerManager::getLayerName | ( | ) | [inline] |
Definition at line 69 of file MyGUI_PointerManager.h.
void MyGUI::PointerManager::initialise | ( | ) |
Definition at line 48 of file MyGUI_PointerManager.cpp.
bool MyGUI::PointerManager::isVisible | ( | ) | [inline] |
Is mouse pointer visible
Definition at line 55 of file MyGUI_PointerManager.h.
bool MyGUI::PointerManager::load | ( | const std::string & | _file | ) |
Load additional MyGUI *_pointer.xml file
Definition at line 97 of file MyGUI_PointerManager.cpp.
void MyGUI::PointerManager::resetToDefaultPointer | ( | ) |
Reset to default pointer
Definition at line 243 of file MyGUI_PointerManager.cpp.
void MyGUI::PointerManager::setDeafultPointer | ( | const std::string & | _value | ) |
Set default pointer
Definition at line 305 of file MyGUI_PointerManager.cpp.
void MyGUI::PointerManager::setLayerName | ( | const std::string & | _value | ) |
Definition at line 313 of file MyGUI_PointerManager.cpp.
void MyGUI::PointerManager::setPointer | ( | const std::string & | _name | ) |
Set pointer that will be shown
_name | of pointer |
Definition at line 366 of file MyGUI_PointerManager.cpp.
void MyGUI::PointerManager::setVisible | ( | bool | _visible | ) |
Show or hide mouse pointer
Definition at line 208 of file MyGUI_PointerManager.cpp.
void MyGUI::PointerManager::shutdown | ( | ) |
Definition at line 74 of file MyGUI_PointerManager.cpp.
delegates::CDelegate1<const std::string &> MyGUI::PointerManager::eventChangeMousePointer |
Event : Mouse pointer has been changed.
signature : void method(const std::string& _pointerName)
_pointerName | Name of current mouse pointer |
Definition at line 81 of file MyGUI_PointerManager.h.