From 4faea14c5488d86a52213004f4b6cbc4885f4596 Mon Sep 17 00:00:00 2001
From: Albrecht Schlosser The Fast Light Tool Kit ("FLTK", pronounced
-"fulltick") is a cross-platform C++ GUI toolkit for
+ The Fast Light Tool Kit ("FLTK", pronounced
+"fulltick") is a cross-platform C++ GUI toolkit for
UNIX®/Linux® (X11), Microsoft® Windows®, and
MacOS® X. FLTK provides modern GUI functionality without the
bloat and supports 3D graphics via OpenGL® and its built-in
@@ -25,7 +25,7 @@ tried to push their own baroque toolkit instead. Many of the ideas in FLTK were developed on a NeXT (but
not using NextStep) in 1987 in a C toolkit Bill called
-"views". Here he came up with passing events downward
+"views". Here he came up with passing events downward
in the tree and having the handle routine return a value
indicating whether it used the event, and the table-driven menus. In
general he was trying to prove that complex UI ideas could be
@@ -35,19 +35,19 @@ or support by the system. After going to film school for a few years, Bill worked at
Sun Microsystems on the (doomed) NeWS project. Here he found an
even better and cleaner windowing system, and he reimplemented
-"views" atop that. NeWS did have an unnecessarily
+"views" atop that. NeWS did have an unnecessarily
complex method of delivering events which hurt it. But the
designers did admit that perhaps the user could write just as
good of a button as they could, and officially exposed the lower
level interface. With the death of NeWS Bill realized that he would have to
-live with X. The biggest problem with X is the "window
-manager", which means that the toolkit can no longer
+live with X. The biggest problem with X is the "window
+manager", which means that the toolkit can no longer
control the window borders or drag the window around. At Digital Domain Bill discovered another toolkit,
-"Forms". Forms was similar to his work, but provided
+"Forms". Forms was similar to his work, but provided
many more widgets, since it was used in many real applications,
rather then as theoretical work. He decided to use Forms, except
he integrated his table-driven menus into it. Several very large
@@ -91,8 +91,8 @@ is now included with several Linux distributions.
FLTK was originally designed to be compatible with the Forms Library written for SGI machines. In that library all the -functions and structures started with "fl_". This +functions and structures started with "fl_". This naming was extended to all new methods and widgets in the C++ library, and this prefix was taken as the name of the library. -It is almost impossible to search for "FL" on the +It is almost impossible to search for "FL" on the Internet, due to the fact that it is also the abbreviation for Florida. After much debating and searching for a new name for the toolkit, which was already in use by several people, Bill -came up with "FLTK", including a bogus excuse that it -stands for "The Fast Light Toolkit".
+came up with "FLTK", including a bogus excuse that it +stands for "The Fast Light Toolkit".In most cases you can just type "make". This will +
In most cases you can just type "make". This will run configure with the default of no options and then compile everything.
@@ -165,36 +165,36 @@ locations you'll need to define the CFLAGS, CXXFLAGS, and LDFLAGS environment variables. For the Bourne and Korn shells you'd use: --CFLAGS=-Iincludedir; export CFLAGS -CXXFLAGS=-Iincludedir; export CXXFLAGS -LDFLAGS=-Llibdir; export LDFLAGS -+\code +CFLAGS=-Iincludedir; export CFLAGS +CXXFLAGS=-Iincludedir; export CXXFLAGS +LDFLAGS=-Llibdir; export LDFLAGS +\endcode
For C shell and tcsh, use:
--setenv CFLAGS "-Iincludedir" -setenv CXXFLAGS "-Iincludedir" -setenv LDFLAGS "-Llibdir" -+\code +setenv CFLAGS "-Iincludedir" +setenv CXXFLAGS "-Iincludedir" +setenv LDFLAGS "-Llibdir" +\endcode
By default configure will look for a C++ compiler named CC, c++, g++, or gcc in that order. To use another compiler you need to set the CXX environment variable:
-+\code CXX=xlC; export CXX setenv CXX "xlC" -+\endcode
The CC environment variable can also be used to override the default C compiler (cc or gcc), which is used for a few FLTK source files.
You can run configure yourself to get the exact setup you -need. Type "./configure <options>", where +need. Type "./configure <options>", where options are:
When the configure script is done you can just run the -"make" command. This will build the library, FLUID +"make" command. This will build the library, FLUID tool, and all of the test programs.
-To install the library, become root and type "make -install". This will copy the "fluid" executable -to "bindir", the header files to -"includedir", and the library files to -"libdir".
+To install the library, become root and type "make +install". This will copy the "fluid" executable +to "bindir", the header files to +"includedir", and the library files to +"libdir".
There are three ways to build FLTK under Microsoft Windows. The first is to use the Visual C++ 5.0 project files under the -"visualc" directory. Just open (or double-click on) -the "fltk.dsw" file to get the whole shebang.
+"visualc" directory. Just open (or double-click on) +the "fltk.dsw" file to get the whole shebang.The second method is to use the configure script included with the FLTK software; this has only been tested with the CygWin tools:
-+\code sh configure --prefix=C:/FLTK make -+\endcode
The final method is to use a GNU-based development tool with -the files in the "makefiles" directory. To build +the files in the "makefiles" directory. To build using one of these tools simply copy the appropriate makeinclude and config files to the main directory and do a make:
--copy makefiles\Makefile.<env> Makefile +\code +copy makefiles\Makefile.+\endcodeMakefile make -
The "fltkdll.dsp" project file builds a DLL-version +
The "fltkdll.dsp" project file builds a DLL-version of the FLTK library. Because of name mangling differences between PC compilers (even between different versions of Visual C++!) you can only use the DLL that is generated with the same @@ -304,10 +304,10 @@ is installed.
To build the XFree86 version of FLTK for OS/2, copy the appropriate makeinclude and config files to the main directory and do a make:
-+\code copy makefiles\Makefile.os2x Makefile make -+\endcode
To send a message to the FLTK mailing list -("fltk@fltk.org") you must first join the list. +("fltk@fltk.org") you must first join the list. Non-member submissions are blocked to avoid problems with unsolicited email.
To join the FLTK mailing list, send a message to -"majordomo@fltk.org" with "subscribe fltk" +"majordomo@fltk.org" with "subscribe fltk" in the message body. A digest of this list is available by -subscribing to the "fltk-digest" mailing list.
+subscribing to the "fltk-digest" mailing list.To report a bug in FLTK, send an email to -"fltk-bugs@fltk.org". Please include the FLTK version, -operating system & version, and compiler that you are using +"fltk-bugs@fltk.org". Please include the FLTK version, +operating system & version, and compiler that you are using when describing the bug or problem. We will be unable to provide any kind of help without that basic information.
@@ -362,6 +362,6 @@ any kind of help without that basic information. SourceForge bug tracker pages.For general support and questions, please use the FLTK mailing list -at "fltk@fltk.org" or one of the newsgroups.
+at "fltk@fltk.org" or one of the newsgroups. */ -- cgit v1.2.3