37 void initialise(
const std::string&
_core =
"MyGUI_Core.xml");
39#ifndef MYGUI_DONT_USE_OBSOLETE
41 " is deprecated, use : void Gui::initialise(const std::string& _core) and set log filename in Platform")
58 std::string_view
_type,
59 std::string_view
_skin,
63 std::string_view
_name = {});
66 std::string_view
_type,
67 std::string_view
_skin,
74 std::string_view
_name = {});
76 Widget* createWidgetRealT(
77 std::string_view _type,
78 std::string_view _skin,
79 const FloatCoord& _coord,
81 std::string_view _layer,
82 std::string_view _name = {});
84 Widget* createWidgetRealT(
85 std::string_view _type,
86 std::string_view _skin,
92 std::string_view _layer,
93 std::string_view _name = {});
99 std::string_view
_skin,
103 std::string_view
_name = {})
110 std::string_view
_skin,
117 std::string_view
_name = {})
119 return static_cast<T*
>(createWidgetT(
120 T::getClassTypeName(),
130 std::string_view
_skin,
134 std::string_view
_name = {})
141 std::string_view
_skin,
148 std::string_view
_name = {})
150 return static_cast<T*
>(
155 void destroyWidget(Widget* _widget);
158 void destroyWidgets(
const VectorWidgetPtr& _widgets);
161 void destroyWidgets(EnumeratorWidgetPtr& _widgets);
166 Widget* findWidgetT(std::string_view _name,
bool _throw =
true)
const;
171 Widget* findWidgetT(std::string_view _name, std::string_view _prefix,
bool _throw =
true)
const;
200 void destroyAllChildWidget();
208 void frameEvent(
float _time)
const;
225 std::string_view
_type,
226 std::string_view
_skin,
230 std::string_view
_name);
236 void _destroyAllChildWidget();
247 LayerManager* mLayerManager{
nullptr};
248 SkinManager* mSkinManager{
nullptr};
249 WidgetManager* mWidgetManager{
nullptr};
250 FontManager* mFontManager{
nullptr};
251 ControllerManager* mControllerManager{
nullptr};
252 PointerManager* mPointerManager{
nullptr};
253 ClipboardManager* mClipboardManager{
nullptr};
254 LayoutManager* mLayoutManager{
nullptr};
255 DynLibManager* mDynLibManager{
nullptr};
256 PluginManager* mPluginManager{
nullptr};
257 LanguageManager* mLanguageManager{
nullptr};
258 ResourceManager* mResourceManager{
nullptr};
259 FactoryManager* mFactoryManager{
nullptr};
260 ToolTipManager* mToolTipManager{
nullptr};
262 bool mIsInitialise{
false};
#define MYGUI_OBSOLETE(text)
#define MYGUI_SINGLETON_DECLARATION(ClassName)
T * createWidgetReal(std::string_view _skin, float _left, float _top, float _width, float _height, Align _align, std::string_view _layer, std::string_view _name={})
T * createWidget(std::string_view _skin, const IntCoord &_coord, Align _align, std::string_view _layer, std::string_view _name={})
T * findWidget(std::string_view _name, std::string_view _prefix, bool _throw=true) const
T * findWidget(std::string_view _name, bool _throw=true) const
T * createWidgetReal(std::string_view _skin, const FloatCoord &_coord, Align _align, std::string_view _layer, std::string_view _name={})
T * createWidget(std::string_view _skin, int _left, int _top, int _width, int _height, Align _align, std::string_view _layer, std::string_view _name={})
EventHandle_FrameEventDelegate eventFrameStart
std::vector< Widget * > VectorWidgetPtr