diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-10-26 20:34:47 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-10-26 20:34:47 +0100 |
commit | 54215bccc9abe648593e29b11878552be69fd835 (patch) | |
tree | 468211d6e69b8e5423935748f18652c178e40a95 /src/css.hh | |
parent | 1b864d4d57d1c193bff13485fc8647fe8af8807e (diff) |
add klass parameter
Diffstat (limited to 'src/css.hh')
-rw-r--r-- | src/css.hh | 36 |
1 files changed, 36 insertions, 0 deletions
@@ -3,8 +3,44 @@ #include "dw/core.hh" +class CssProperties { + private: + dw::core::style::StyleAttrs attrs; + bool fontValid; + bool textDecorationValid; + bool colorValid; + bool backgroundColorValid; + bool textAlignValid; + bool valignValid; + bool textAlignCharValid; + bool hBorderSpacingValid; + bool vBorderSpacingValid; + bool widthValid; + bool heightValid; + bool marginValid; + bool borderWidthValid; + bool paddingValid; + bool borderColorValid; + bool borderStyleValid; + bool displayValid; + bool whiteSpaceValid; + bool listStyleTypeValid; + bool cursorValid; + + public: + CssProperties (); + ~CssProperties (); + + void apply (const CssProperties *p); + +}; + +class CssSelector { +}; + class CssRule { private: + CssProperties props; public: CssRule (); |