aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-10-29 19:03:43 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-10-29 19:03:43 +0100
commit2ca059af0e113cf167a848a9e43fa149c2c9f7bd (patch)
treef9fbb120defa9293c6494f2a95ad427a81e06a8d /src/styleengine.hh
parentfaa12b128ac5e22aed81a1ca692ddc504b31bd10 (diff)
pass Layout to StyleEngine
Diffstat (limited to 'src/styleengine.hh')
-rw-r--r--src/styleengine.hh7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/styleengine.hh b/src/styleengine.hh
index 97d6c8ae..39591633 100644
--- a/src/styleengine.hh
+++ b/src/styleengine.hh
@@ -10,14 +10,19 @@ class StyleEngine : public Doctree {
class Node : public DoctreeNode {
public:
dw::core::style::Style *style;
+ CssPropertyList *nonCssProperties;
+ const char *styleAttribute;
};
+ dw::core::Layout *layout;
lout::misc::SimpleVector <Node> *stack;
+ CssContext *cssContext;
dw::core::style::Style *style0 ();
+ void apply (dw::core::style::StyleAttrs *attrs, CssPropertyList *props);
public:
- StyleEngine ();
+ StyleEngine (dw::core::Layout *layout);
~StyleEngine ();
/* Doctree interface */