summaryrefslogtreecommitdiff
path: root/test/dw_lists.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2012-11-27 16:05:54 +0100
committerSebastian Geerken <devnull@localhost>2012-11-27 16:05:54 +0100
commit6526b42cefc35149af20d645f15e8bb76b0db0e2 (patch)
treecc4b9874540709435da9657501eae1db77038d99 /test/dw_lists.cc
parent1250d68c8767232849145d9e6abe681a562f6f5d (diff)
parentc58af8aa171908de5e0e069754803235f8ea70f8 (diff)
Merge.
Diffstat (limited to 'test/dw_lists.cc')
-rw-r--r--test/dw_lists.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/dw_lists.cc b/test/dw_lists.cc
index 12fa1627..2aa0abb7 100644
--- a/test/dw_lists.cc
+++ b/test/dw_lists.cc
@@ -61,7 +61,7 @@ int main(int argc, char **argv)
styleAttrs.color = Color::create (layout, 0x000000);
styleAttrs.backgroundColor = Color::create (layout, 0xffffff);
- Style *widgetStyle = Style::create (layout, &styleAttrs);
+ Style *widgetStyle = Style::create (&styleAttrs);
Textblock *textblock = new Textblock (false);
textblock->setStyle (widgetStyle);
@@ -73,7 +73,7 @@ int main(int argc, char **argv)
styleAttrs.backgroundColor = NULL;
styleAttrs.cursor = CURSOR_TEXT;
- Style *wordStyle = Style::create (layout, &styleAttrs);
+ Style *wordStyle = Style::create (&styleAttrs);
styleAttrs.margin.setVal (5);
styleAttrs.padding.setVal (5);
@@ -82,7 +82,7 @@ int main(int argc, char **argv)
styleAttrs.setBorderStyle (BORDER_SOLID);
styleAttrs.borderWidth.setVal (1);
- Style *itemStyle = Style::create (layout, &styleAttrs);
+ Style *itemStyle = Style::create (&styleAttrs);
const char *wordsPar[] = {
"This", "is", "a", "normal", "paragraph.", "And",