summaryrefslogtreecommitdiff
path: root/test/threads.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/threads.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/threads.cxx')
-rw-r--r--test/threads.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/threads.cxx b/test/threads.cxx
index a48f798e8..0574a6f6e 100644
--- a/test/threads.cxx
+++ b/test/threads.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: threads.cxx,v 1.10.2.1 2001/12/08 16:23:51 easysw Exp $"
+// "$Id: threads.cxx,v 1.10.2.2 2001/12/23 03:40:51 easysw Exp $"
//
// Threading example program for the Fast Light Tool Kit (FLTK).
//
@@ -77,14 +77,14 @@ void* prime_func(void* p)
return 0;
}
-int main()
+int main(int argc, char **argv)
{
Fl_Window* w = new Fl_Window(200, 200, "Single Thread");
browser1 = new Fl_Browser(0, 0, 200, 175);
w->resizable(browser1);
value1 = new Fl_Value_Output(100, 175, 200, 25, "Max Prime:");
w->end();
- w->show();
+ w->show(argc, argv);
w = new Fl_Window(200, 200, "Six Threads");
browser2 = new Fl_Browser(0, 0, 200, 175);
w->resizable(browser2);
@@ -126,5 +126,5 @@ int main() {
//
-// End of "$Id: threads.cxx,v 1.10.2.1 2001/12/08 16:23:51 easysw Exp $".
+// End of "$Id: threads.cxx,v 1.10.2.2 2001/12/23 03:40:51 easysw Exp $".
//