.. index:: pair: class; EE::UI::UIStyle .. _doxid-class_e_e_1_1_u_i_1_1_u_i_style: class EE::UI::UIStyle ===================== .. toctree:: :hidden: .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class UIStyle: public :ref:`EE::UI::UIState` { public: // construction :target:`UIStyle`(:ref:`UIWidget`* widget); virtual :target:`~UIStyle`(); // methods static UIStyle* :target:`New`(:ref:`UIWidget`* widget); virtual bool :target:`stateExists`(const :ref:`Uint32`& state) const; void :target:`load`(); virtual void :target:`onStateChange`(); const :ref:`CSS::StyleSheetProperty`* :target:`getStatelessStyleSheetProperty`(const :ref:`Uint32`& propertyId) const; void :target:`setStyleSheetProperties`(const :ref:`CSS::StyleSheetProperties`& properties); void :target:`setStyleSheetProperty`(const :ref:`CSS::StyleSheetProperty`& property); bool :target:`hasTransition`(const std::string& propertyName); :ref:`CSS::StyleSheetPropertyAnimation`* :target:`getAnimation`(const :ref:`CSS::PropertyDefinition`* propertyDef); bool :target:`hasAnimation`(const :ref:`CSS::PropertyDefinition`* propertyDef); :ref:`CSS::TransitionDefinition` :target:`getTransition`(const std::string& propertyName); const bool& :target:`isChangingState`() const; :ref:`CSS::StyleSheetVariable` :target:`getVariable`(const std::string& variable); bool :target:`getForceReapplyProperties`() const; void :target:`setForceReapplyProperties`(bool forceReapplyProperties); bool :target:`getDisableAnimations`() const; void :target:`setDisableAnimations`(bool disableAnimations); bool :target:`isStructurallyVolatile`() const; void :target:`reloadFontFamily`(); void :target:`addStructurallyVolatileChild`(:ref:`UIWidget`* widget); void :target:`removeStructurallyVolatileChild`(:ref:`UIWidget`* widget); :ref:`UnorderedSet`<:ref:`UIWidget`*>& :target:`getStructurallyVolatileChilds`(); bool :target:`hasProperty`(const :ref:`CSS::PropertyId`& propertyId) const; void :target:`resetGlobalDefinition`(); }; Inherited Members ----------------- .. ref-code-block:: cpp :class: doxyrest-overview-inherited-code-block public: // enums enum :ref:`UIStates`; enum :ref:`UIStatesFlags`; // methods static const char* :ref:`getStateName`(const :ref:`Uint32`& State); static int :ref:`getStateNumber`(const std::string& State); static const char* :ref:`getStateNameFromStateFlag`(const :ref:`Uint32`& stateFlag); static const :ref:`Uint32`& :ref:`getStateFlag`(const :ref:`Uint32`& stateIndex); static :ref:`Uint32` :ref:`getStateFlagFromName`(const std::string& name); static bool :ref:`isStateName`(const std::string& State); const :ref:`Uint32`& :ref:`getState`() const; void :ref:`setState`(const :ref:`Uint32`& State); void :ref:`pushState`(const :ref:`Uint32`& State); void :ref:`popState`(const :ref:`Uint32`& State); virtual bool :ref:`stateExists`(const :ref:`Uint32`& State) const = 0; const :ref:`Uint32`& :ref:`getCurrentState`() const; const :ref:`Uint32`& :ref:`getPreviousState`() const;