Fixed various typos and added a Fluid organization chart image
contributed by Craig Earls. git-svn-id: file:///fltk/svn/fltk/trunk@207 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
74b2965417
commit
07766e7d72
@ -76,7 +76,7 @@ that will call your <tt>main()</tt> function for you.
|
||||
|
||||
<p><i>Note: The Visual C++ optimizer is known to cause problems with
|
||||
many programs. We only recommend using the "Favor Small Code"
|
||||
optimization setting.
|
||||
optimization setting.</i>
|
||||
|
||||
<H2>Writing Your First FLTK Program</H2>
|
||||
|
||||
|
@ -105,7 +105,7 @@ href=#enumerations><tt><FL/Enumerations.H></tt></a>.
|
||||
<p>For colormapped displays, a color cell will be allocated out of
|
||||
<tt>fl_colormap</tt> the first time you use a color. If the colormap
|
||||
fills up then a least-squares algorithm is used to find the closest
|
||||
color.</i>
|
||||
color.
|
||||
|
||||
<h4>Fl_Color fl_color()</h4>
|
||||
|
||||
@ -503,7 +503,7 @@ decompress the entire line at once: decompress it into the buffer, and
|
||||
then if <tt>x</tt> is not zero, copy the data over so the <tt>x</tt>'th
|
||||
pixel is at the start of the buffer.
|
||||
|
||||
<p>You can assumme the <tt>y</tt>'s will be consecutive, except the first one
|
||||
<p>You can assume the <tt>y</tt>'s will be consecutive, except the first one
|
||||
may be greater than zero.
|
||||
|
||||
<p>If <tt>D</tt> is 4 or more, you must fill in the unused bytes with zero.
|
||||
|
@ -386,7 +386,7 @@ void replall_cb() {
|
||||
|
||||
if (found != NULL) {
|
||||
// Found a match; update the position and replace text...
|
||||
times ++
|
||||
times ++;
|
||||
pos = input->position() + found - val;
|
||||
input->replace(pos, pos + strlen(find), replace_with->value());
|
||||
input->position(pos + strlen(replace_with->value()));
|
||||
|
@ -8,7 +8,7 @@ widget.
|
||||
|
||||
<H2>The FLTK Event Model</H2>
|
||||
|
||||
Events are identified the small integer argument passed to the <a
|
||||
Events are identified by the integer argument passed to the <a
|
||||
href="#handle"><tt>Fl_Widget::handle()</tt></a> virtual method. Other
|
||||
information about the most recent event is stored in static locations
|
||||
and acquired by calling the <a
|
||||
@ -133,7 +133,7 @@ or one of its parents.
|
||||
<h3>FL_HIDE</h3>
|
||||
|
||||
This widget is no longer visible, due to <a
|
||||
href="#Fl_Widget.hide><tt>hide()</a> being called on it or one of its
|
||||
href="#Fl_Widget.hide><tt>hide()</tt></a> being called on it or one of its
|
||||
parents, or due to a parent window being minimized. <tt>visible()</tt>
|
||||
may still be true after this, but the widget is visible only if
|
||||
<tt>visible()</tt> is true for it and all its parents (use
|
||||
|
BIN
documentation/fluid-org.gif
Normal file
BIN
documentation/fluid-org.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
@ -27,24 +27,7 @@ functions. These .cxx files must <tt>#include</tt> the .h file or
|
||||
they can <tt>#include</tt> the .cxx file so it still appears to be a single
|
||||
source file.
|
||||
|
||||
<hr break>
|
||||
<ul><pre>
|
||||
___________
|
||||
/ /
|
||||
__________ +->/.cxx file /--------+
|
||||
/ / / /__________/ |
|
||||
/.fl file /<==>[FLUID]< #include |
|
||||
/_________/ \ ___v_____ |
|
||||
\ / / |
|
||||
+>/.h file / |
|
||||
/________/ |
|
||||
^ |
|
||||
#include |
|
||||
___|_______ | __________
|
||||
/ / V / /
|
||||
/ main.cxx /--->[c++,link]-->/ program /
|
||||
/__________/ /_________/
|
||||
</pre></ul>
|
||||
<center><img src=fluid-org.gif></center>
|
||||
|
||||
<p>Normally the FLUID file defines one or more "functions", which
|
||||
output C++ functions. Each function defines a one or more FLTK
|
||||
|
@ -5,9 +5,10 @@
|
||||
|
||||
The Fast Light Tool Kit ("FLTK", pronounced "fulltick") is a LGPL'd C++
|
||||
graphical user interface toolkit for X (UNIX®), OpenGL®, and
|
||||
Microsoft® Windows® NT 4.0, 95, or 98. It is currently
|
||||
maintained by a small group of developers across the world with a
|
||||
central repository in the US.
|
||||
Microsoft® Windows® NT 4.0, 95, or 98. It was originally
|
||||
developed by Mr. Bill Spitzak and is currently maintained by a small
|
||||
group of developers across the world with a central repository in the
|
||||
US.
|
||||
|
||||
<h2>History of FLTK</h2>
|
||||
|
||||
@ -44,15 +45,15 @@ window around.
|
||||
<p>At Digital Domain Bill discovered another toolkit, "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 my table-driven menus into it.
|
||||
to use Forms, except he integrated his table-driven menus into it.
|
||||
Several very large programs were created using this version of Forms.
|
||||
|
||||
<p>The need to switch to OpenGL and GLX, portability, and a desire to
|
||||
use C++ subclassing required a rewrite of Forms. This produced the
|
||||
first version of FLTK. The conversion to C++ required so many changes
|
||||
it made it impossible to recompile any Forms objects. Since it was
|
||||
incompatable anyway, Bill decided to incorporate as much as possible my
|
||||
older ideas on simplifying the lower level interface and the event
|
||||
incompatible anyway, Bill decided to incorporate his older ideas as
|
||||
much as possible by simplifying the lower level interface and the event
|
||||
passing mechanisim.
|
||||
|
||||
<p>Bill received permission to release it for free on the Internet,
|
||||
|
@ -1,7 +1,7 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<META NAME="Author" CONTENT="Michael Sweet">
|
||||
<META NAME="Copyright" CONTENT="Copyright 1998-1999 by Bill Spizak and Others.">
|
||||
<META NAME="Copyright" CONTENT="Copyright 1998-1999 by Bill Spitzak and Others.">
|
||||
<META NAME="DocNumber" CONTENT="Revision 0">
|
||||
<TITLE>FLTK 1.0 Programming Manual</TITLE>
|
||||
</HEAD>
|
||||
|
Loading…
x
Reference in New Issue
Block a user