summaryrefslogtreecommitdiff
path: root/test/doublebuffer.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-12-23 03:40:51 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-12-23 03:40:51 +0000
commit6be2be6d436eaae5579c8816d0c0d4cab0c2c7b5 (patch)
tree5a1060a8c4fce44a49065638a6acab2e8f286bb5 /test/doublebuffer.cxx
parentc868f3d88640b9d3edd2026bf879e70e34829893 (diff)
Demo updates (so they all will use the default scheme)
Added show(argc, argv) method to Fl_Help_Dialog. Don't clear tab area in Fl_Tabs... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1896 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/doublebuffer.cxx')
-rw-r--r--test/doublebuffer.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/doublebuffer.cxx b/test/doublebuffer.cxx
index f380829a0..f2aec4e66 100644
--- a/test/doublebuffer.cxx
+++ b/test/doublebuffer.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: doublebuffer.cxx,v 1.4.2.3 2001/01/22 15:13:41 easysw Exp $"
+// "$Id: doublebuffer.cxx,v 1.4.2.3.2.1 2001/12/23 03:40:51 easysw Exp $"
//
// Double-buffering test program for the Fast Light Tool Kit (FLTK).
//
@@ -91,7 +91,7 @@ public:
: Fl_Double_Window(x,y,w,h,l) {resizable(this);}
};
-int main() {
+int main(int argc, char **argv) {
if (!Fl::visual(FL_DOUBLE))
printf("Xdbe not supported, faking double buffer with pixmaps.\n");
Fl_Window w01(420,420,"Fl_Single_Window"); w01.box(FL_FLAT_BOX);
@@ -114,7 +114,7 @@ int main() {
slider1.callback(slider_cb, 1);
w2.end();
w02.end();
- w01.show();
+ w01.show(argc, argv);
w1.show();
w02.show();
w2.show();
@@ -122,5 +122,5 @@ int main() {
}
//
-// End of "$Id: doublebuffer.cxx,v 1.4.2.3 2001/01/22 15:13:41 easysw Exp $".
+// End of "$Id: doublebuffer.cxx,v 1.4.2.3.2.1 2001/12/23 03:40:51 easysw Exp $".
//