diff options
Diffstat (limited to 'test/dw_table_aligned.cc')
-rw-r--r-- | test/dw_table_aligned.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/dw_table_aligned.cc b/test/dw_table_aligned.cc index beb8525d..5fa94874 100644 --- a/test/dw_table_aligned.cc +++ b/test/dw_table_aligned.cc @@ -50,7 +50,7 @@ int main(int argc, char **argv) styleAttrs.margin.setVal (5); styleAttrs.borderWidth.setVal (1); styleAttrs.setBorderStyle (BORDER_OUTSET); - styleAttrs.setBorderColor (Color::createShaded (layout, 0x808080)); + styleAttrs.setBorderColor (Color::create (layout, 0x808080)); FontAttrs fontAttrs; fontAttrs.name = "Bitstream Charter"; @@ -59,8 +59,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, 0xa0a0a0); + styleAttrs.color = Color::create (layout, 0x000000); + styleAttrs.backgroundColor = Color::create (layout, 0xa0a0a0); styleAttrs.hBorderSpacing = 5; styleAttrs.vBorderSpacing = 5; |