From 367f908d8ed5a3464b9676223a26ddf4e11bdb5b Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 7 Jan 1999 16:36:11 +0000 Subject: "Final" changes for first draft of 1.0 documentation. git-svn-id: file:///fltk/svn/fltk/trunk@187 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/basics.html | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'documentation/basics.html') diff --git a/documentation/basics.html b/documentation/basics.html index 62e74d7e0..d3b01a5b8 100644 --- a/documentation/basics.html +++ b/documentation/basics.html @@ -31,7 +31,7 @@ The proper way to include FLTK header files is: #include <FL/Fl_xyz.H> -Microsoft Windows developers please note: case *is* significant +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: @@ -71,9 +71,8 @@ header files. This can be done by selecting "Settings" from the

You can build your Microsoft Windows applications as Console or WIN32 applications. If you want to use the standard C main() -function as the entry point, enter the name mainCRTStartup in -the "Entry-point symbol" field in the "Output" settings under the -"Link" tab. +function as the entry point, FLTK includes a WinMain() function +that will call your main() function for you.

Note: The Visual C++ optimizer is known to cause problems with many programs. We only recommend using the "Favor Small Code" @@ -155,7 +154,7 @@ The boxtype value is the style of the box that is drawn around the widget. Usually this is FL_NO_BOX, which means that no box is drawn. In our "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 +widget. You can learn more about boxtypes in Chapter 3.

The x and y parameters determine where the widget @@ -170,7 +169,7 @@ governed by the underlying window system or hardware.

Labels

All widgets support labels. In the case of window widgets, the label -is used for the label in the title bar. Our example program calls the +is used for the label in the title bar. Our example program calls the labelfont, labelsize, and labeltype methods. @@ -185,7 +184,7 @@ directly.

The labeltype method sets the type of label. FLTK supports normal, embossed, shadowed, symbol, and image labels. -

A complete list of all label options can be found in +

A complete list of all label options can be found in Chapter 3.

Showing the Window

-- cgit v1.2.3