summaryrefslogtreecommitdiff
path: root/test/dw_example.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/dw_example.cc')
-rw-r--r--test/dw_example.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dw_example.cc b/test/dw_example.cc
index 75b891e2..ad570924 100644
--- a/test/dw_example.cc
+++ b/test/dw_example.cc
@@ -53,9 +53,9 @@ int main(int argc, char **argv)
styleAttrs.font = dw::core::style::Font::create (layout, &fontAttrs);
styleAttrs.color =
- dw::core::style::Color::createSimple (layout, 0x000000);
+ dw::core::style::Color::create (layout, 0x000000);
styleAttrs.backgroundColor =
- dw::core::style::Color::createSimple (layout, 0xffffff);
+ dw::core::style::Color::create (layout, 0xffffff);
dw::core::style::Style *widgetStyle =
dw::core::style::Style::create (layout, &styleAttrs);