From a721b4ad00eb6bfa5483d62ed2461f15ca94a407 Mon Sep 17 00:00:00 2001
From: Michael R Sweet The resulting program will display the window in Figure 2-1.
@@ -103,7 +103,7 @@ Fl_Box draws, changing it from the default of
"Hello, World!" example we use FL_UP_BOX,
which means that a raised button border will be drawn around
the widget. You can learn more about boxtypes in
-Chapter 3.
window->end();
window->show(argc, argv);
-return Fl::run();
+return Fl::run();
You could examine the boxtype in by doing box->box(). FLTK uses method name overloading to make @@ -179,7 +179,7 @@ data-driven displays.
FLTK applications must periodically check (Fl::check()) or wait (Fl::wait()) for events -or use the Fl:run() +or use the Fl::run() method to enter a standard event processing loop. Calling Fl::run() is equivalent to the following code:
-- cgit v1.2.3