aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2010-10-11 18:08:31 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2010-10-11 18:08:31 +0200
commit6d2621066b477f55a89e212a5a866ad2801dcb09 (patch)
tree1d80b80d66f007d085d7b181c1fdd5a372981f66 /src/styleengine.hh
parent289364d31a9dcc694d0e277b503c512787402482 (diff)
make StyleEngine::Node a struct - it's just that anyway
Diffstat (limited to 'src/styleengine.hh')
-rw-r--r--src/styleengine.hh11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/styleengine.hh b/src/styleengine.hh
index 5eafc7a6..794e63d2 100644
--- a/src/styleengine.hh
+++ b/src/styleengine.hh
@@ -19,12 +19,11 @@ class StyleEngine;
*/
class StyleEngine {
private:
- class Node {
- public:
- dw::core::style::Style *style;
- dw::core::style::Style *wordStyle;
- const char *styleAttribute;
- bool inheritBackgroundColor;
+ struct Node {
+ dw::core::style::Style *style;
+ dw::core::style::Style *wordStyle;
+ const char *styleAttribute;
+ bool inheritBackgroundColor;
};
dw::core::Layout *layout;