MyGUI 3.4.1
|
#include <MyGUI_PointerManager.h>
Public Member Functions | |
PointerManager () | |
void | initialise () |
void | shutdown () |
void | setVisible (bool _visible) |
bool | isVisible () const |
void | setPointer (const std::string &_name) |
void | resetToDefaultPointer () |
const std::string & | getDefaultPointer () const |
void | setDefaultPointer (const std::string &_value) |
const std::string & | getLayerName () const |
void | setLayerName (const std::string &_value) |
IPointer * | getByName (const std::string &_name) const |
Public Member Functions inherited from MyGUI::IUnlinkWidget | |
virtual | ~IUnlinkWidget () |
virtual void | _unlinkWidget (Widget *_widget)=0 |
Public Member Functions inherited from MyGUI::MemberObsolete< PointerManager > | |
void | setDeafultPointer (const std::string &_value) |
void | show () |
void | hide () |
bool | isShow () |
bool | load (const std::string &_file) |
void | loadOldPointerFormat (xml::ElementPtr _node, const std::string &_file, Version _version, const std::string &_tag) |
Static Public Member Functions | |
static PointerManager & | getInstance () |
static PointerManager * | getInstancePtr () |
static const char * | getClassTypeName () |
Data Fields | |
delegates::CMultiDelegate1< const std::string & > | eventChangeMousePointer |
Definition at line 20 of file MyGUI_PointerManager.h.
MyGUI::PointerManager::PointerManager | ( | ) |
Definition at line 27 of file MyGUI_PointerManager.cpp.
IPointer * MyGUI::PointerManager::getByName | ( | const std::string & | _name | ) | const |
Get pointer resource
Definition at line 218 of file MyGUI_PointerManager.cpp.
|
static |
const std::string & MyGUI::PointerManager::getDefaultPointer | ( | ) | const |
Get default pointer
Definition at line 259 of file MyGUI_PointerManager.cpp.
|
static |
|
static |
const std::string & MyGUI::PointerManager::getLayerName | ( | ) | const |
Get layer name where pointer rendered
Definition at line 264 of file MyGUI_PointerManager.cpp.
void MyGUI::PointerManager::initialise | ( | ) |
Definition at line 40 of file MyGUI_PointerManager.cpp.
bool MyGUI::PointerManager::isVisible | ( | ) | const |
Is mouse pointer visible
Definition at line 254 of file MyGUI_PointerManager.cpp.
void MyGUI::PointerManager::resetToDefaultPointer | ( | ) |
Reset to default pointer
Definition at line 158 of file MyGUI_PointerManager.cpp.
void MyGUI::PointerManager::setDefaultPointer | ( | const std::string & | _value | ) |
Set default pointer
Definition at line 195 of file MyGUI_PointerManager.cpp.
void MyGUI::PointerManager::setLayerName | ( | const std::string & | _value | ) |
Set layer where pointer rendered
Definition at line 203 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 249 of file MyGUI_PointerManager.cpp.
void MyGUI::PointerManager::setVisible | ( | bool | _visible | ) |
Show or hide mouse pointer
Definition at line 125 of file MyGUI_PointerManager.cpp.
void MyGUI::PointerManager::shutdown | ( | ) |
Definition at line 66 of file MyGUI_PointerManager.cpp.
delegates::CMultiDelegate1<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 61 of file MyGUI_PointerManager.h.