aboutsummaryrefslogtreecommitdiff
path: root/test/dw_lists.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/dw_lists.cc')
-rw-r--r--test/dw_lists.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/dw_lists.cc b/test/dw_lists.cc
index 99e78149..2d546f63 100644
--- a/test/dw_lists.cc
+++ b/test/dw_lists.cc
@@ -56,8 +56,8 @@ int main(int argc, char **argv)
fontAttrs.style = FONT_STYLE_NORMAL;
styleAttrs.font = Font::create (layout, &fontAttrs);
- styleAttrs.color = Color::createSimple (layout, 0x000000);
- styleAttrs.backgroundColor = Color::createSimple (layout, 0xffffff);
+ styleAttrs.color = Color::create (layout, 0x000000);
+ styleAttrs.backgroundColor = Color::create (layout, 0xffffff);
Style *widgetStyle = Style::create (layout, &styleAttrs);
@@ -75,8 +75,8 @@ int main(int argc, char **argv)
styleAttrs.margin.setVal (5);
styleAttrs.padding.setVal (5);
- styleAttrs.backgroundColor = Color::createSimple (layout, 0xffff40);
- styleAttrs.setBorderColor (Color::createSimple (layout, 0x000000));
+ styleAttrs.backgroundColor = Color::create (layout, 0xffff40);
+ styleAttrs.setBorderColor (Color::create (layout, 0x000000));
styleAttrs.setBorderStyle (BORDER_SOLID);
styleAttrs.borderWidth.setVal (1);