From 09daf20b81cdae78772f07c0af22a571d7cc73eb Mon Sep 17 00:00:00 2001
From: Michael R Sweet After including the required header files, the program then creates a
+ After including the required header files, the program then creates a
window:
@@ -116,7 +116,7 @@ of the form "type name() const".
Almost all of the set/get pairs are very fast, short inline functions and thus very efficient. However, the "set" methods do not call redraw() - you have to call it -yourself. This greatly reduces code size and execution time. +yourself. This greatly reduces code size and execution time. The only common exception is value() which calls redraw() if necessary.
@@ -144,8 +144,8 @@ desired.The show() method shows the widget or window. For windows -you can also provide the command-line arguments to allow users to +
The show() method shows the widget or window. For windows +you can also provide the command-line arguments to allow users to customize the appearance, size, and position of your windows.
Under UNIX (and under Microsoft Windows when using the GNU development -tools) you will probably need to tell the compiler where to find the +
Under UNIX (and under Microsoft Windows when using the GNU development +tools) you will probably need to tell the compiler where to find the header files. This is usually done using the -I option:
@@ -208,7 +208,7 @@ used to get the options that are required by your compiler: CC `fltk-config --cxxflags` ...-
Similarly, when linking your application you will need to tell the +
Similarly, when linking your application you will need to tell the compiler to use the FLTK library:
@@ -228,18 +228,18 @@ CC ... `fltk-config --ldflags`In Visual C++ you will need to tell the compiler where to find the FLTK header files. This can be done by selecting "Settings" from the "Project" menu and then -changing the "Preprocessor" settings under the +changing the "Preprocessor" settings under the "C/C++" tab. You will also need to add the FLTK and WinSock (WSOCK32.LIB) libraries to the "Link" settings.
-You can build your Microsoft Windows applications as Console or +
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, FLTK includes a WinMain() function that will call your main() function for you.
-Note: The Visual C++ 5.0 optimizer is known to cause problems with -many programs. We only recommend using the "Favor Small Code" +
Note: The Visual C++ 5.0 optimizer is known to cause problems with +many programs. We only recommend using the "Favor Small Code" optimization setting. The Visual C++ 6.0 optimizer seems to be much better and can be used with the "optimized for speed" setting.
-- cgit v1.2.3