summaryrefslogtreecommitdiff
path: root/test/dw_anchors_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/dw_anchors_test.cc')
-rw-r--r--test/dw_anchors_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dw_anchors_test.cc b/test/dw_anchors_test.cc
index 8615439e..97ed3fb4 100644
--- a/test/dw_anchors_test.cc
+++ b/test/dw_anchors_test.cc
@@ -126,8 +126,8 @@ int main(int argc, char **argv)
styleAttrs.initValues ();
styleAttrs.font = Font::create (layout, &fontAttrs);
styleAttrs.margin.setVal (5);
- styleAttrs.color = Color::createSimple (layout, 0x000000);
- styleAttrs.backgroundColor = Color::createSimple (layout, 0xffffff);
+ styleAttrs.color = Color::create (layout, 0x000000);
+ styleAttrs.backgroundColor = Color::create (layout, 0xffffff);
topWidgetStyle = Style::create (layout, &styleAttrs);
styleAttrs.margin.left = 20;