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
This commit is contained in:
Greg Ercolano
2009-04-21 09:09:37 +00:00
parent 03ec459eb0
commit b475babf17
28 changed files with 72 additions and 72 deletions
+2 -2
View File
@@ -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);