MyGUI 3.4.1
Public Member Functions | Static Public Member Functions | Data Fields
MyGUI::PointerManager Class Reference

#include <MyGUI_PointerManager.h>

Inheritance diagram for MyGUI::PointerManager:
Inheritance graph
[legend]

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)
 
IPointergetByName (const std::string &_name) const
 
- 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 PointerManagergetInstance ()
 
static PointerManagergetInstancePtr ()
 
static const char * getClassTypeName ()
 

Data Fields

delegates::CMultiDelegate1< const std::string & > eventChangeMousePointer
 

Detailed Description

Definition at line 20 of file MyGUI_PointerManager.h.

Constructor & Destructor Documentation

◆ PointerManager()

MyGUI::PointerManager::PointerManager ( )

Definition at line 27 of file MyGUI_PointerManager.cpp.

Member Function Documentation

◆ getByName()

IPointer * MyGUI::PointerManager::getByName ( const std::string &  _name) const

Get pointer resource

Definition at line 218 of file MyGUI_PointerManager.cpp.

◆ getClassTypeName()

static const char * MyGUI::PointerManager::getClassTypeName ( )
static

◆ getDefaultPointer()

const std::string & MyGUI::PointerManager::getDefaultPointer ( ) const

Get default pointer

Definition at line 259 of file MyGUI_PointerManager.cpp.

◆ getInstance()

static PointerManager & MyGUI::PointerManager::getInstance ( )
static

◆ getInstancePtr()

static PointerManager * MyGUI::PointerManager::getInstancePtr ( )
static

◆ getLayerName()

const std::string & MyGUI::PointerManager::getLayerName ( ) const

Get layer name where pointer rendered

Definition at line 264 of file MyGUI_PointerManager.cpp.

◆ initialise()

void MyGUI::PointerManager::initialise ( )

Definition at line 40 of file MyGUI_PointerManager.cpp.

◆ isVisible()

bool MyGUI::PointerManager::isVisible ( ) const

Is mouse pointer visible

Definition at line 254 of file MyGUI_PointerManager.cpp.

◆ resetToDefaultPointer()

void MyGUI::PointerManager::resetToDefaultPointer ( )

Reset to default pointer

Definition at line 158 of file MyGUI_PointerManager.cpp.

◆ setDefaultPointer()

void MyGUI::PointerManager::setDefaultPointer ( const std::string &  _value)

Set default pointer

Definition at line 195 of file MyGUI_PointerManager.cpp.

◆ setLayerName()

void MyGUI::PointerManager::setLayerName ( const std::string &  _value)

Set layer where pointer rendered

Definition at line 203 of file MyGUI_PointerManager.cpp.

◆ setPointer()

void MyGUI::PointerManager::setPointer ( const std::string &  _name)

Set pointer that will be shown

Parameters
_nameof pointer

Definition at line 249 of file MyGUI_PointerManager.cpp.

◆ setVisible()

void MyGUI::PointerManager::setVisible ( bool  _visible)

Show or hide mouse pointer

Definition at line 125 of file MyGUI_PointerManager.cpp.

◆ shutdown()

void MyGUI::PointerManager::shutdown ( )

Definition at line 66 of file MyGUI_PointerManager.cpp.

Field Documentation

◆ eventChangeMousePointer

delegates::CMultiDelegate1<const std::string&> MyGUI::PointerManager::eventChangeMousePointer

Event : Mouse pointer has been changed.
signature : void method(const std::string& _pointerName)

Parameters
_pointerNameName of current mouse pointer

Definition at line 61 of file MyGUI_PointerManager.h.


The documentation for this class was generated from the following files: