mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 15:32:12 +08:00
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:
+2
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user