comparison src/styleengine.hh @ 1731:92b899247f72

make StyleEngine::Node a struct - it's just that anyway
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Mon, 11 Oct 2010 18:08:31 +0200
parents b27cf7eb15b6
children 3e3630a58627
comparison
equal deleted inserted replaced
1716:c805b4e0b7ce 1731:92b899247f72
17 * HTML elements and their attributes via the startElement() / endElement() 17 * HTML elements and their attributes via the startElement() / endElement()
18 * methods. 18 * methods.
19 */ 19 */
20 class StyleEngine { 20 class StyleEngine {
21 private: 21 private:
22 class Node { 22 struct Node {
23 public: 23 dw::core::style::Style *style;
24 dw::core::style::Style *style; 24 dw::core::style::Style *wordStyle;
25 dw::core::style::Style *wordStyle; 25 const char *styleAttribute;
26 const char *styleAttribute; 26 bool inheritBackgroundColor;
27 bool inheritBackgroundColor;
28 }; 27 };
29 28
30 dw::core::Layout *layout; 29 dw::core::Layout *layout;
31 lout::misc::SimpleVector <Node> *stack; 30 lout::misc::SimpleVector <Node> *stack;
32 CssContext *cssContext; 31 CssContext *cssContext;