From 4c53a5d8f4f23358a101ef6bda4b6b8ea4b95274 Mon Sep 17 00:00:00 2001 From: Bill Spitzak Date: Sun, 31 Jan 1999 07:43:16 +0000 Subject: Added optimization for SGI builds (mike: please run autoconf before making a distribution). Documentation fixes. git-svn-id: file:///fltk/svn/fltk/trunk@259 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/basics.html | 44 +++++++++++++++++++++++++++----------------- 1 file changed, 27 insertions(+), 17 deletions(-) (limited to 'documentation/basics.html') diff --git a/documentation/basics.html b/documentation/basics.html index e394a6cc2..959e67641 100644 --- a/documentation/basics.html +++ b/documentation/basics.html @@ -20,13 +20,12 @@ FLTK. Microsoft Windows developers please note: case *is* significant under other operating systems, and the C standard uses the forward -slash (/) to separate directories. The following #include - directives are *not* recommended for portability reasons: +slash (/) to separate directories. Do not do any of the following:

Compiling Programs with Standard Compilers

@@ -75,7 +74,8 @@ display the window. int main(int argc, char **argv) { Fl_Window *window = new Fl_Window(300,180); - Fl_Box *box = new Fl_Box(FL_UP_BOX,20,40,260,100,"Hello, World!"); + Fl_Box *box = new Fl_Box(20,40,260,100,"Hello, World!"); + box->box(FL_UP_BOX); box->labelsize(36); box->labelfont(FL_BOLD+FL_ITALIC); box->labeltype(FL_SHADOW_LABEL); @@ -95,12 +95,13 @@ Fl_Window *window = new Fl_Window(300,180); and a box with the "Hello, World!" string in it: - Next, we set the size, font, and style of the label: + Next, we set the type of box and the size, font, and style of the label: