mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
30 lines
649 B
C++
30 lines
649 B
C++
#ifndef EE_UI_CSS_STYLESHEETNODE_HPP
|
|
#define EE_UI_CSS_STYLESHEETNODE_HPP
|
|
|
|
#include <eepp/ui/css/stylesheetselector.hpp>
|
|
#include <eepp/ui/css/stylesheetproperty.hpp>
|
|
|
|
namespace EE { namespace UI { namespace CSS {
|
|
|
|
class EE_API StyleSheetNode {
|
|
public:
|
|
StyleSheetNode();
|
|
|
|
explicit StyleSheetNode( const std::string& selector, const StyleSheetProperties& properties );
|
|
|
|
void print();
|
|
|
|
const StyleSheetSelector& getSelector() const;
|
|
|
|
const StyleSheetProperties& getProperties() const;
|
|
|
|
void setProperty( const StyleSheetProperty& property );
|
|
protected:
|
|
StyleSheetSelector mSelector;
|
|
StyleSheetProperties mProperties;
|
|
};
|
|
|
|
}}}
|
|
|
|
#endif
|