class EE::UI::CSS::StyleSheetSpecification¶
#include <stylesheetspecification.hpp> class StyleSheetSpecification { public: // construction ~StyleSheetSpecification(); // methods PropertyDefinition& registerProperty(const std::string& propertyVame, const std::string& defaultValue, bool inherited = false); const PropertyDefinition* getProperty(const PropertyId& id) const; const PropertyDefinition* getProperty(const Uint32& id) const; const PropertyDefinition* getProperty(const std::string& name) const; const SmallVector<CSS::PropertyId>& getInheritableProperties() const; ShorthandDefinition& registerShorthand(const std::string& name, const std::vector<std::string>& properties, const std::string& shorthandFuncName); const ShorthandDefinition* getShorthand(const Uint32& id) const; const ShorthandDefinition* getShorthand(const std::string& name) const; bool isShorthand(const Uint32& id) const; bool isShorthand(const std::string& name) const; void registerNodeSelector(const std::string& name, StyleSheetNodeSelector nodeSelector); StructuralSelector getStructuralSelector(const std::string& name); void registerShorthandParser(const std::string& name, ShorthandParserFunc shorthandParserFunc); ShorthandParserFunc getShorthandParser(const std::string& name); DrawableImageParser& getDrawableImageParser(); };