43 using Ptr = std::shared_ptr<Theme>;
110 void replace(const
Theme& otherTheme);
167 TGUI_NODISCARD const
String& getPrimary() const;
193 static
void setDefault(const
String& primary = "");
200 static
void setDefault(std::shared_ptr<
Theme> theme);
205 static
void setDefault(std::nullptr_t);
215 TGUI_NODISCARD static std::shared_ptr<
Theme> getDefault();
223 static
void addRendererInheritanceParent(const
String& widgetType, const
String& parentType);
231 TGUI_NODISCARD static
String getRendererInheritanceParent(const
String& widgetType);
240 static
void addRendererDefaultSubwidget(const
String& widgetType, const
String& property, const
String& propertyWidgetType);
248 TGUI_NODISCARD static std::map<
String,
String> getRendererDefaultSubwidgets(const
String& widgetType);
257 static
void addRendererInheritedGlobalProperty(const
String& widgetType, const
String& property, const
String& globalProperty);
265 TGUI_NODISCARD static std::map<
String,
String> getRendererInheritedGlobalProperties(const
String& widgetType);
270 static std::map<
String,
String> m_rendererInheritanceParents;
272 static std::map<
String, std::map<
String,
String>> m_rendererInheritedGlobalProperties;
273 static std::shared_ptr<
Theme> m_defaultTheme;