44 using Ptr = std::shared_ptr<Theme>;
116 void replace(const
Theme& otherTheme);
179 TGUI_NODISCARD const
String& getPrimary() const;
208 static
void setDefault(const
String& primary = "");
216 static
void setDefault(std::shared_ptr<
Theme> theme);
222 static
void setDefault(std::nullptr_t);
233 TGUI_NODISCARD static std::shared_ptr<
Theme> getDefault();
242 static
void addRendererInheritanceParent(const
String& widgetType, const
String& parentType);
251 TGUI_NODISCARD static
String getRendererInheritanceParent(const
String& widgetType);
261 static
void addRendererDefaultSubwidget(const
String& widgetType, const
String& property, const
String& propertyWidgetType);
270 TGUI_NODISCARD static std::map<
String,
String> getRendererDefaultSubwidgets(const
String& widgetType);
280 static
void addRendererInheritedGlobalProperty(const
String& widgetType, const
String& property, const
String& globalProperty);
289 TGUI_NODISCARD static std::map<
String,
String> getRendererInheritedGlobalProperties(const
String& widgetType);
295 static std::map<
String,
String> m_rendererInheritanceParents;
297 static std::map<
String, std::map<
String,
String>> m_rendererInheritedGlobalProperties;
298 static std::shared_ptr<
Theme> m_defaultTheme;