From 421f908c69ddf071b024608ae506472eb4edf962 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 27 Mar 2010 08:51:54 +0000 Subject: Bringing supported IDEs to the newest setup, add device and others. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7345 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/demo.cxx | 1 + test/device.cxx | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/demo.cxx b/test/demo.cxx index 4df676a5f..221f47eb8 100644 --- a/test/demo.cxx +++ b/test/demo.cxx @@ -92,6 +92,7 @@ const char *default_menu[] = { "@e:Block\\nAttack!:blocks\n", "@e:Checkers:checkers\n", "@e:Sudoku:sudoku\n", + "@e:Print\nsupport:device\n", "\n", "@main:Other\\nTests:@o\n", "@o:Color Choosers:color_chooser\n", diff --git a/test/device.cxx b/test/device.cxx index 0be6378c0..4a6cf7171 100644 --- a/test/device.cxx +++ b/test/device.cxx @@ -172,7 +172,7 @@ protected: fl_xyline(x()+5,y()+61,x()+48); fl_line_style(FL_DASHDOTDOT); fl_xyline(x()+5,y()+64,x()+48); - fl_line_style(0,0,"\7\3\7\2"); + fl_line_style(0,0,(char*)"\7\3\7\2"); fl_xyline(x()+5,y()+67,x()+48); @@ -460,7 +460,7 @@ protected: fl_color(FL_BLUE); - fl_line_style(0, 5, "\12\3\4\2\2\1"); + fl_line_style(0, 5, (char*)"\12\3\4\2\2\1"); fl_begin_line(); fl_vertex(10, 10); fl_vertex(190, 10); -- cgit v1.2.3