class EE::UI::UIThemeManager¶
#include <uithememanager.hpp> class UIThemeManager: public EE::System::ResourceManager { public: // construction virtual ~UIThemeManager(); // methods static UIThemeManager* New(); UIThemeManager* setDefaultFont(Font* Font); Font* getDefaultFont() const; UIThemeManager* setDefaultFontSize(const Float& fontSize); const Float& getDefaultFontSize() const; UIThemeManager* setDefaultTheme(UITheme* Theme); UIThemeManager* setDefaultTheme(const std::string& Theme); UITheme* getDefaultTheme() const; UIThemeManager* applyDefaultTheme(UINode* node); UIThemeManager* setAutoApplyDefaultTheme(const bool& apply); const bool& getAutoApplyDefaultTheme() const; UIThemeManager* setDefaultEffectsEnabled(const bool& Enabled); const bool& getDefaultEffectsEnabled() const; const Time& getWidgetsFadeInTime() const; UIThemeManager* setWidgetsFadeInTime(const Time& Time); const Time& getWidgetsFadeOutTime() const; UIThemeManager* setWidgetsFadeOutTime(const Time& Time); UIThemeManager* setTooltipTimeToShow(const Time& Time); const Time& getTooltipTimeToShow() const; UIThemeManager* setTooltipFollowMouse(const bool& Follow); const bool& getTooltipFollowMouse() const; UIThemeManager* setCursorSize(const Sizei& Size); const Sizei& getCursorSize() const; };
Inherited Members¶
public: // methods virtual T* add(T* resource); bool remove(T* resource, bool remove = true); bool removeById(const String::HashType& id, bool remove = true); bool removeByName(const std::string& name, bool remove = true); T* getByName(const std::string& name); T* getById(const String::HashType& id); Uint32 getCount(); Uint32 getCount(const std::string& name); Uint32 getCount(const String::HashType& id); bool exists(const std::string& name); bool existsId(const String::HashType& id); void destroy(); void printNames(); UnorderedMap<String::HashType, T*>& getResources(); const bool& isDestroying() const; template <typename Predicate> void each(Predicate pred) const; template <typename Predicate> void each(Predicate pred); template <typename Predicate> T* findIf(Predicate pred) const; template <typename Predicate> T* findIf(Predicate pred);