aboutsummaryrefslogtreecommitdiff
path: root/test/dw_border_test.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_border_test.cc
parent1250d68c8767232849145d9e6abe681a562f6f5d (diff)
parentc58af8aa171908de5e0e069754803235f8ea70f8 (diff)
Merge.
Diffstat (limited to 'test/dw_border_test.cc')
-rw-r--r--test/dw_border_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/dw_border_test.cc b/test/dw_border_test.cc
index 988abc33..ec5a09a5 100644
--- a/test/dw_border_test.cc
+++ b/test/dw_border_test.cc
@@ -65,7 +65,7 @@ int main(int argc, char **argv)
styleAttrs.color = Color::create (layout, 0x000000);
styleAttrs.backgroundColor = Color::create (layout, 0xffffff);
- Style *widgetStyle1 = Style::create (layout, &styleAttrs);
+ Style *widgetStyle1 = Style::create (&styleAttrs);
styleAttrs.backgroundColor = Color::create (layout, 0xffff80);
styleAttrs.margin.setVal (0);
@@ -74,7 +74,7 @@ int main(int argc, char **argv)
styleAttrs.setBorderStyle (BORDER_SOLID);
styleAttrs.padding.setVal (1);
- Style *widgetStyle2 = Style::create (layout, &styleAttrs);
+ Style *widgetStyle2 = Style::create (&styleAttrs);
Textblock *textblock1 = new Textblock (false);
textblock1->setStyle (widgetStyle1);
@@ -87,7 +87,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);
const char *words1[] = { "Some", "random", "text.", NULL };
const char *words2[] = { "A", "nested", "paragraph.", NULL };