class EE::UI::UIThemeManager¶
Overview¶
#include <uithememanager.hpp> class UIThemeManager { public: // construction virtual ~UIThemeManager(); // methods static UIThemeManager* New(); UITheme* add(UIThemePtr theme); bool remove(UITheme* theme); bool removeById(const String::HashType& id); bool removeByName(const std::string& name); UIThemeManager* setResourceScope(Graphics::ResourceScopePtr resourceScope); UIThemeManager* setDefaultFont(Font* Font); Font* getDefaultFont() const; UIThemeManager* setDefaultFontSize(const Float& fontSize); const Float& getDefaultFontSize() const; UIThemeManager* setDefaultTheme(UITheme* Theme); UIThemeManager* setDefaultTheme(UIThemePtr theme); UIThemeManager* setDefaultTheme(const std::string& Theme); UITheme* getDefaultTheme() const; UIThemePtr getDefaultThemeHandle() const; UITheme* getById(const String::HashType& id) const; UITheme* getByName(const std::string& name) 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; };
Detailed Documentation¶
Methods¶
UIThemePtr getDefaultThemeHandle() const
Returns:
An owning handle to the default theme, or an empty handle when unset.