.. index:: pair: class; EE::UI::UITheme .. _doxid-class_e_e_1_1_u_i_1_1_u_i_theme: class EE::UI::UITheme ===================== .. toctree:: :hidden: .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class UITheme { public: // construction virtual :target:`~UITheme`(); // methods static :ref:`UIThemePtr` :target:`New`(const std::string& name, const std::string& abbr, :ref:`Graphics::Font`* defaultFont = NULL); static :ref:`UIThemePtr` :target:`load`(const std::string& name, const std::string& abbr, const std::string& textureAtlasPath, :ref:`Graphics::Font`* defaultFont, const std::string& styleSheetPath); static :ref:`UIThemePtr` :target:`loadFromString`(const std::string& name, const std::string& abbr, const std::string& textureAtlasPath, :ref:`Graphics::Font`* defaultFont, const std::string& styleSheetString); static :ref:`UIThemePtr` :target:`loadFromTextureAtlas`(:ref:`UIThemePtr` theme, :ref:`Graphics::TextureAtlasPtr` textureAtlas); static :ref:`UIThemePtr` :target:`loadFromTextureAtlas`(:ref:`Graphics::TextureAtlasPtr` textureAtlas, const std::string& Name, const std::string& NameAbbr); static :ref:`UIThemePtr` :target:`loadFromDirectory`(:ref:`UIThemePtr` theme, const std::string& Path, const :ref:`Float`& pixelDensity = 1); static :ref:`UIThemePtr` :target:`loadFromDirectory`(const std::string& Path, const std::string& Name, const std::string& NameAbbr, const :ref:`Float`& pixelDensity = 1); const std::string& :target:`getName`() const; void :target:`setName`(const std::string& name); const :ref:`String::HashType`& :target:`getId`() const; const std::string& :target:`getAbbr`() const; :ref:`UISkin`* :target:`add`(:ref:`UISkinPtr` skin); :ref:`UISkin`* :target:`getById`(const :ref:`String::HashType`& id) const; :ref:`UISkin`* :target:`getByName`(const std::string& name) const; bool :target:`exists`(const std::string& name) const; bool :target:`existsId`(const :ref:`String::HashType`& id) const; :ref:`Graphics::TextureAtlas`* :target:`getTextureAtlas`() const; :ref:`UIIcon`* :target:`getIconByName`(const std::string& name); :ref:`UISkin`* :target:`getSkin`(const std::string& widgetName); :ref:`Font`* :target:`getDefaultFont`() const; void :target:`setDefaultFont`(:ref:`Font`* font); :ref:`CSS::StyleSheet`& :target:`getStyleSheet`(); const :ref:`CSS::StyleSheet`& :target:`getStyleSheet`() const; void :target:`setStyleSheet`(:ref:`CSS::StyleSheet`&& styleSheet); void :target:`setStyleSheet`(const :ref:`CSS::StyleSheet`& styleSheet); const :ref:`Float`& :target:`getDefaultFontSize`() const; void :target:`setDefaultFontSize`(const :ref:`Float`& defaultFontSize); :ref:`UIIconTheme`* :target:`getIconTheme`() const; const :ref:`Graphics::ResourceCatalogPtr`& :target:`getResourceCatalog`() const; const std::string& :target:`getStyleSheetPath`() const; void :target:`setStyleSheetPath`(const std::string& styleSheetPath); bool :target:`reloadStyleSheet`(); };