MyGUI
3.2.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::Singleton< PointerManager > | |
Singleton () | |
virtual | ~Singleton () |
Public Member Functions inherited from MyGUI::IUnlinkWidget | |
virtual | ~IUnlinkWidget () |
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) |
Data Fields | |
delegates::CMultiDelegate1 < const std::string & > | eventChangeMousePointer |
Additional Inherited Members | |
Public Types inherited from MyGUI::Singleton< PointerManager > | |
typedef Singleton< PointerManager > | Base |
Static Public Member Functions inherited from MyGUI::Singleton< PointerManager > | |
static PointerManager & | getInstance () |
static PointerManager * | getInstancePtr () |
static const char * | getClassTypeName () |
Definition at line 20 of file MyGUI_PointerManager.h.
MyGUI::PointerManager::PointerManager | ( | ) |
Definition at line 28 of file MyGUI_PointerManager.cpp.
IPointer * MyGUI::PointerManager::getByName | ( | const std::string & | _name | ) | const |
Get pointer resource
Definition at line 244 of file MyGUI_PointerManager.cpp.
const std::string & MyGUI::PointerManager::getDefaultPointer | ( | ) | const |
Get default pointer
Definition at line 285 of file MyGUI_PointerManager.cpp.
const std::string & MyGUI::PointerManager::getLayerName | ( | ) | const |
Get layer name where pointer rendered
Definition at line 290 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 280 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 221 of file MyGUI_PointerManager.cpp.
void MyGUI::PointerManager::setLayerName | ( | const std::string & | _value | ) |
Set layer where pointer rendered
Definition at line 229 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 275 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.