.. index:: pair: class; EE::UI::CSS::StyleSheet .. _doxid-class_e_e_1_1_u_i_1_1_c_s_s_1_1_style_sheet: class EE::UI::CSS::StyleSheet ============================= .. toctree:: :hidden: .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class StyleSheet { public: // methods void :target:`clear`(); void :target:`addStyle`(std::shared_ptr<:ref:`StyleSheetStyle`> node); bool :target:`isEmpty`() const; std::string :target:`print`(); void :target:`combineStyleSheet`(const StyleSheet& styleSheet); std::shared_ptr<:ref:`ElementDefinition`> :target:`getElementStyles`(:ref:`UIWidget`* element, const bool& applyPseudo = false) const; const std::vector`>>& :target:`getStyles`() const; std::vector`>> :target:`getStylesFromSelector`(const std::string& selector) const; std::shared_ptr<:ref:`StyleSheetStyle`> :target:`getStyleFromSelector`(const std::string& selector, bool searchBySpecificity = false) const; bool :target:`updateMediaLists`(const :ref:`MediaFeatures`& features); bool :target:`isMediaQueryListEmpty`() const; :ref:`StyleSheetStyleVector` :target:`getStyleSheetStyleByAtRule`(const :ref:`AtRuleType`& atRuleType) const; bool :target:`isKeyframesDefined`(const std::string& keyframesName) const; const :ref:`KeyframesDefinition`& :target:`getKeyframesDefinition`(const std::string& keyframesName) const; void :target:`addKeyframes`(const :ref:`KeyframesDefinition`& keyframes); void :target:`addKeyframes`(const :ref:`KeyframesDefinitionMap`& keyframesMap); const :ref:`KeyframesDefinitionMap`& :target:`getKeyframes`() const; void :target:`invalidateCache`(); const :ref:`Uint32`& :target:`getMarker`() const; void :target:`setMarker`(const :ref:`Uint32`& marker); void :target:`removeAllWithMarker`(const :ref:`Uint32`& marker); bool :target:`markerExists`(const :ref:`Uint32`& marker) const; StyleSheet :target:`getAllWithMarker`(const :ref:`Uint32`& marker) const; std::vector`>> :target:`findStyleFromSelectorName`(const std::string& selector) const; bool :target:`refreshCacheFromStyles`(const std::vector`>>& styles); const :ref:`Uint64`& :target:`getVersion`() const; StyleSheet& :target:`operator=`(const StyleSheet& other); };