From b475babf172ec6702af57f514c6fc28bd43159da Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Tue, 21 Apr 2009 09:09:37 +0000 Subject: Most test demos converted to use Fl_Double_Window to prevent flicker when new users run test/demo programs. For details, see fltk.development thread started 04/16/09, "Subject: browser demo flicker". git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6772 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/tile.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/tile.cxx') diff --git a/test/tile.cxx b/test/tile.cxx index cbbf537fb..7db28eb45 100644 --- a/test/tile.cxx +++ b/test/tile.cxx @@ -33,7 +33,7 @@ //#define TEST_INACTIVE int main(int argc, char** argv) { - Fl_Window window(300,300); + Fl_Double_Window window(300,300); window.box(FL_NO_BOX); window.resizable(window); Fl_Tile tile(0,0,300,300); @@ -42,7 +42,7 @@ int main(int argc, char** argv) { box0.color(9); box0.labelsize(36); box0.align(FL_ALIGN_CLIP); - Fl_Window w1(150,0,150,150,"1"); + Fl_Double_Window w1(150,0,150,150,"1"); w1.box(FL_NO_BOX); Fl_Box box1(0,0,150,150,"1\nThis is a\nchild\nwindow"); box1.box(FL_DOWN_BOX); -- cgit v1.2.3