MyGUI
3.0.1
|
#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 () const |
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) const |
void | show () |
void | hide () |
bool | isShow () |
![]() | |
virtual | ~IUnlinkWidget () |
virtual void | _unlinkWidget (Widget *_widget)=0 |
![]() | |
virtual | ~IWidgetCreator () |
virtual void | _linkChildWidget (Widget *_widget) |
virtual void | _unlinkChildWidget (Widget *_widget) |
Static Public Member Functions | |
static PointerManager & | getInstance () |
static PointerManager * | getInstancePtr () |
Data Fields | |
delegates::CMultiDelegate1 < const std::string & > | eventChangeMousePointer |
Additional Inherited Members | |
![]() | |
virtual Widget * | baseCreateWidget (WidgetStyle _style, const std::string &_type, const std::string &_skin, const IntCoord &_coord, Align _align, const std::string &_layer, const std::string &_name)=0 |
virtual void | _destroyChildWidget (Widget *_widget)=0 |
virtual void | _destroyAllChildWidget ()=0 |
void | _deleteWidget (Widget *_widget) |
Definition at line 36 of file MyGUI_PointerManager.h.
MyGUI::PointerManager::PointerManager | ( | ) |
MyGUI::PointerManager::~PointerManager | ( | ) |
void MyGUI::PointerManager::_load | ( | xml::ElementPtr | _node, |
const std::string & | _file, | ||
Version | _version | ||
) |
Definition at line 101 of file MyGUI_PointerManager.cpp.
IPointer * MyGUI::PointerManager::getByName | ( | const std::string & | _name | ) | const |
Get pointer resource
Definition at line 319 of file MyGUI_PointerManager.cpp.
|
inline |
Get default pointer
Definition at line 65 of file MyGUI_PointerManager.h.
|
static |
|
static |
|
inline |
Definition at line 69 of file MyGUI_PointerManager.h.
|
inline |
Definition at line 89 of file MyGUI_PointerManager.h.
void MyGUI::PointerManager::initialise | ( | ) |
Definition at line 48 of file MyGUI_PointerManager.cpp.
|
inline |
Definition at line 91 of file MyGUI_PointerManager.h.
|
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 96 of file MyGUI_PointerManager.cpp.
void MyGUI::PointerManager::resetToDefaultPointer | ( | ) |
Reset to default pointer
Definition at line 235 of file MyGUI_PointerManager.cpp.
void MyGUI::PointerManager::setDeafultPointer | ( | const std::string & | _value | ) |
Set default pointer
Definition at line 296 of file MyGUI_PointerManager.cpp.
void MyGUI::PointerManager::setLayerName | ( | const std::string & | _value | ) |
Definition at line 304 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 350 of file MyGUI_PointerManager.cpp.
void MyGUI::PointerManager::setVisible | ( | bool | _visible | ) |
Show or hide mouse pointer
Definition at line 202 of file MyGUI_PointerManager.cpp.
|
inline |
Definition at line 87 of file MyGUI_PointerManager.h.
void MyGUI::PointerManager::shutdown | ( | ) |
Definition at line 73 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 81 of file MyGUI_PointerManager.h.