aboutsummaryrefslogtreecommitdiff
path: root/src/css.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-10-26 20:34:47 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-10-26 20:34:47 +0100
commit54215bccc9abe648593e29b11878552be69fd835 (patch)
tree468211d6e69b8e5423935748f18652c178e40a95 /src/css.hh
parent1b864d4d57d1c193bff13485fc8647fe8af8807e (diff)
add klass parameter
Diffstat (limited to 'src/css.hh')
-rw-r--r--src/css.hh36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/css.hh b/src/css.hh
index 2680d399..a466527b 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -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 ();