summaryrefslogtreecommitdiff
path: root/test/tile.cxx
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2009-04-21 09:09:37 +0000
committerGreg Ercolano <erco@seriss.com>2009-04-21 09:09:37 +0000
commitb475babf172ec6702af57f514c6fc28bd43159da (patch)
tree115b0aa1a977a8496552c2b16161f96573e350a9 /test/tile.cxx
parent03ec459eb03b18c4792c9edc5f8e585653c276e9 (diff)
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
Diffstat (limited to 'test/tile.cxx')
-rw-r--r--test/tile.cxx4
1 files changed, 2 insertions, 2 deletions
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);