diff options
Diffstat (limited to 'test/dw_links2.cc')
-rw-r--r-- | test/dw_links2.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/dw_links2.cc b/test/dw_links2.cc index e1db9011..ea2d4d40 100644 --- a/test/dw_links2.cc +++ b/test/dw_links2.cc @@ -119,8 +119,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); @@ -138,7 +138,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; |