7#ifndef MYGUI_POINTER_MANAGER_H_
8#define MYGUI_POINTER_MANAGER_H_
67 void _unlinkWidget(
Widget* _widget)
override;
73 std::string_view _type,
74 std::string_view _skin,
77 std::string_view _layer,
78 std::string_view _name);
81 void _destroyAllChildWidget();
85 void notifyFrameStart(
float _time);
86 void notifyChangeMouseFocus(
Widget* _widget);
93 std::string mDefaultName;
97 std::string mLayerName;
98 std::string mSkinName;
100 Widget* mWidgetOwner{
nullptr};
101 ImageBox* mMousePointer{
nullptr};
102 IPointer* mPointer{
nullptr};
103 std::string mCurrentMousePointer;
105 bool mIsInitialise{
false};
106 std::string mXmlPointerTagName;
107 std::string mXmlPropertyTagName;
108 std::string mXmlDefaultPointerValue;
#define MYGUI_SINGLETON_DECLARATION(ClassName)
PointerManager(const PointerManager &)=delete
void resetToDefaultPointer()
void setPointer(std::string_view _name)
const std::string & getDefaultPointer() const
void setVisible(bool _visible)
const std::string & getLayerName() const
EventPairConvertStringView< delegates::MultiDelegate< const std::string & >, delegates::MultiDelegate< std::string_view > > eventChangeMousePointer
void setDefaultPointer(std::string_view _value)
void setLayerName(std::string_view _value)
IPointer * getByName(std::string_view _name) const
types::TPoint< int > IntPoint
types::TCoord< int > IntCoord
std::vector< Widget * > VectorWidgetPtr