diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-10-29 19:03:43 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-10-29 19:03:43 +0100 |
commit | 2ca059af0e113cf167a848a9e43fa149c2c9f7bd (patch) | |
tree | f9fbb120defa9293c6494f2a95ad427a81e06a8d /src/styleengine.hh | |
parent | faa12b128ac5e22aed81a1ca692ddc504b31bd10 (diff) |
pass Layout to StyleEngine
Diffstat (limited to 'src/styleengine.hh')
-rw-r--r-- | src/styleengine.hh | 7 |
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 */ |