aboutsummaryrefslogtreecommitdiff
path: root/test/dw_links.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/dw_links.cc')
-rw-r--r--test/dw_links.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/dw_links.cc b/test/dw_links.cc
index 4d15d520..08428e88 100644
--- a/test/dw_links.cc
+++ b/test/dw_links.cc
@@ -91,8 +91,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);
@@ -110,7 +110,7 @@ int main(int argc, char **argv)
Style *wordStyle = Style::create (layout, &styleAttrs);
- styleAttrs.color = Color::createSimple (layout, 0x0000ff);
+ styleAttrs.color = Color::create (layout, 0x0000ff);
styleAttrs.textDecoration = TEXT_DECORATION_UNDERLINE;
styleAttrs.cursor = CURSOR_POINTER;