.. 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: protected :ref:`EE::System::ResourceManagerMulti` { public: // construction virtual :target:`~UITheme`(); // methods static UITheme* :target:`New`(const std::string& name, const std::string& abbr, :ref:`Graphics::Font`* defaultFont = NULL); static UITheme* :target:`load`(const std::string& name, const std::string& abbr, const std::string& textureAtlasPath, :ref:`Graphics::Font`* defaultFont, const std::string& styleSheetPath); static UITheme* :target:`loadFromTextureAtlas`(UITheme* tTheme, :ref:`Graphics::TextureAtlas`* getTextureAtlas); static UITheme* :target:`loadFromTextureAtlas`(:ref:`Graphics::TextureAtlas`* getTextureAtlas, const std::string& Name, const std::string& NameAbbr); static UITheme* :target:`loadFromDirectroy`(UITheme* tTheme, const std::string& Path, const :ref:`Float`& pixelDensity = 1); static UITheme* :target:`loadFromDirectroy`(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; virtual :ref:`UISkin`* :target:`add`(:ref:`UISkin`* Resource); :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`(const :ref:`CSS::StyleSheet`& styleSheet); const :ref:`Float`& :target:`getDefaultFontSize`() const; void :target:`setDefaultFontSize`(const :ref:`Float`& defaultFontSize); :ref:`UIIconTheme`* :target:`getIconTheme`() const; const std::string& :target:`getStyleSheetPath`() const; void :target:`setStyleSheetPath`(const std::string& styleSheetPath); bool :target:`reloadStyleSheet`(); }; Inherited Members ----------------- .. ref-code-block:: cpp :class: doxyrest-overview-inherited-code-block public: // methods virtual T* :ref:`add`(T* resource); bool :ref:`remove`(T* resource, bool remove = true); bool :ref:`removeById`(const :ref:`String::HashType`& id, bool remove = true); bool :ref:`removeByName`(const std::string& name, bool remove = true); T* :ref:`getByName`(const std::string& name); T* :ref:`getById`(const :ref:`String::HashType`& id); :ref:`Uint32` :ref:`getCount`(); :ref:`Uint32` :ref:`getCount`(const std::string& name); :ref:`Uint32` :ref:`getCount`(const :ref:`String::HashType`& id); bool :ref:`exists`(const std::string& name); bool :ref:`existsId`(const :ref:`String::HashType`& id); void :ref:`destroy`(); void :ref:`printNames`(); std::unordered_multimap<:ref:`String::HashType`, T*>& :ref:`getResources`(); const bool& :ref:`isDestroying`() const;