Final changes for next beta release - typos and more updated images.

git-svn-id: file:///fltk/svn/fltk/trunk@224 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 1999-01-13 20:55:40 +00:00
parent 4df8d6d80a
commit fae4b6ae7e
11 changed files with 29 additions and 29 deletions

View File

@ -113,9 +113,9 @@ window-&gt;<A href=Fl_Window.html#Fl_Window.show>show</A>(argc, argv);
return <A href=functions.html#run>Fl::run</A>();
</PRE>
</UL>
The resulting program will display the window below. You can quit the
The resulting program will display the window below. You can quit the
program by closing the window or pressing the ESCape key.
<CENTER><IMG src=./hello.C.gif></CENTER>
<P ALIGN=CENTER><IMG src=./hello.C.gif></P>
<H3>Creating the Widgets</H3>
The widgets are created using the C++ <TT>new</TT> operator; the
arguments to the constructors are usually one of the following:
@ -167,4 +167,4 @@ while (Fl::wait());
</PRE>
</UL>
<TT>Fl::run()</TT> does not return until all of the windows under FLTK
control are closed (either by the user or your program). </TT></BODY></HTML>
control are closed (either by the user or your program). </TT></BODY></HTML>

View File

@ -134,9 +134,9 @@ button-&gt;labelcolor(FL_WHITE);
<H2><A NAME=boxtypes>Box Types</A></H2>
<P>The type <TT>Fl_Boxtype</TT> stored and returned in <A href=Fl_Widget.html#Fl_Widget.box>
<TT>Fl_Widget::box()</TT></A> is an enumeration defined in <A href=enumerations.html#enumerations>
<TT>s.H&gt;</TT></A>:
<CENTER><IMG src=./boxtypes.gif width=80%></CENTER>
<TT>FL_NO_BOX</TT> means nothing is drawn at all, so whatever is
<TT>&lt;Enumerations.H&gt;</TT></A>:
<P ALIGN=CENTER><IMG src=./boxtypes.gif width=80%></P>
<P><TT>FL_NO_BOX</TT> means nothing is drawn at all, so whatever is
already on the screen remains. The <TT>FL_..._FRAME</TT> types only
draw their edges, leaving the center unchanged. In the above diagram
the blue color is the area that is not drawn by the box. </P>
@ -335,4 +335,4 @@ button-&gt;shortcut(FL_CTRL + FL_ALT + 'b');
</UL>
The shortcut value is the key event value (the ASCII value or one of
the special keys like <TT>FL_Enter</TT>) combined with any modifiers
(like shift, alt, and control). </BODY></HTML>
(like shift, alt, and control). </BODY></HTML>

View File

@ -122,7 +122,7 @@ and &quot;replace all&quot;, &quot;replace next&quot;, and &quot;cancel&quot; bu
are just <TT>Fl_Input</TT> widgets, the &quot;replace all&quot; and &quot;cancel&quot;
buttons are <TT>Fl_Button</TT> widgets, and the &quot;replace next &quot; button
is a <TT>Fl_Return_Button</TT> widget:
<CENTER><IMG src=./editor-replace.gif></CENTER>
<P ALIGN=CENTER><IMG src=./editor-replace.gif></P>
<UL>
<PRE>
Fl_Window *replace_dlg = new Fl_Window(300, 105, &quot;Replace&quot;);
@ -553,5 +553,5 @@ library. Also, the <TT>CC</TT> command may also be called <TT>gcc</TT>
<P>Congratulations, you've just built your own text editor! </P>
<H2>The Final Product</H2>
The final editor window should look like the image below:
<CENTER><IMG src=./editor.gif></CENTER>
</BODY></HTML>
<P ALIGN=CENTER><IMG src=./editor.gif></P>
</BODY></HTML>

View File

@ -1,5 +1,5 @@
<HTML><BODY>
<H1 ALIGN=RIGHT><A NAME=enumerations>C - FLTK Enumerations.H</A></H1>
<H1 ALIGN=RIGHT><A NAME=enumerations>C - FLTK Enumerations</A></H1>
This appendix lists the enumerations provided in the <TT>
&lt;FL/Enumerations.H&gt;</TT> header file, organized by section.
<H2>Version Numbers</H2>
@ -203,4 +203,4 @@ FLTK:
<LI><TT>FL_DAMAGE_ALL</TT> - Everything needs to be redrawn. </LI>
</UL>
</LI>
</BODY></HTML>
</BODY></HTML>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.9 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -31,7 +31,7 @@ use the inline functions and instead use &quot;pure&quot; FLTK. This will make
it a lot cleaner and make it easier to figure out how to call the FLTK
functions. Unfortunately this conversion is harder than expected and
even Digital Domain's inhouse code still uses <TT>forms.H</TT> a lot. </P>
<H2>Problems you will encounter</H2>
<H2>Problems You Will Encounter</H2>
<P>Many parts of XForms use X-specific structures like <TT>XEvent</TT>
in their interface. I did not emulate these! Unfortunately these
features (such as the &quot;canvas&quot; widget) are needed by most large
@ -125,7 +125,7 @@ encountered when going from old Forms to XForms:
unless &quot;foreground()&quot; was called. FLTK acts like &quot;foreground()&quot; is
called all the time. If you really want the fork behavior do &quot;if
(fork()) exit(0)&quot; right at the start of your program.
<H3>You Cannot Use IRISGL windows or fl_queue</H3>
<H3>You Cannot Use IRISGL Windows or fl_queue</H3>
If a Forms (not XForms) program if you wanted your own window for
displaying things you would create a IRISGL window and draw in it,
periodically calling Forms to check if the user hit buttons on the
@ -197,4 +197,4 @@ fl_font_name(10,&quot;*bookman-demi-r-no*&quot;);
fl_font_name(11,&quot;*bookman-light-i-no*&quot;);
</PRE>
</UL>
</BODY></HTML>
</BODY></HTML>

View File

@ -10,7 +10,7 @@ Appendix A</A>.
</H3>
The double version takes RGB values in the range 0.0 to 1.0. The
uchar version takes RGB values in the range 0 to 255.
<CENTER><IMG src=./fl_color_chooser.jpg></CENTER>
<P ALIGN=CENTER><IMG src=./fl_color_chooser.jpg></P>
<P><TT>fl_color_chooser()</TT> pops up a window to let the user pick an
arbitrary RGB color. They can pick the hue and saturation in the &quot;hue
box&quot; on the left (hold down CTRL to just change the saturation), and
@ -32,22 +32,22 @@ dithering. </P>
access with <A href=#fl_color><TT>fl_color()</TT></A> and lets the user
pick one of them. It returns the new color index, or the old one if
the user types ESC or clicks outside the window.
<CENTER><IMG src=./fl_show_colormap.gif></CENTER>
<P ALIGN=CENTER><IMG src=./fl_show_colormap.gif></P>
<H3><A name=fl_message>void fl_message(const char *, ...)</A></H3>
Displays a printf-style message in a pop-up box with an &quot;OK&quot; button,
waits for the user to hit the button. The message will wrap to fit the
window, or may be many lines by putting <TT>\n</TT> characters into it.
The enter key is a shortcut for the OK button.
<CENTER><IMG src=./fl_message.gif></CENTER>
<P ALIGN=CENTER><IMG src=./fl_message.gif></P>
<H3><A name=fl_>void fl_alert(const char *, ...)</A></H3>
Same as <TT>fl_message()</TT> except for the &quot;!&quot; symbol.
<CENTER><IMG src=./fl_alert.gif></CENTER>
<P ALIGN=CENTER><IMG src=./fl_alert.gif></P>
<H3><A name=fl_ask>int fl_ask(const char *, ...)</A></H3>
Displays a printf-style message in a pop-up box with an &quot;Yes&quot; and &quot;No&quot;
button and waits for the user to hit a button. The return value is 1
if the user hits Yes, 0 if they pick No. The enter key is a shortcut
for Yes and ESC is a shortcut for No.
<CENTER><IMG src=./fl_ask.gif></CENTER>
<P ALIGN=CENTER><IMG src=./fl_ask.gif></P>
<H3><A name=fl_choice>int fl_choice(const char *q, const char *b0,
const char *b1, const char *b2, ...)</A></H3>
Shows the message with three buttons below it marked with the strings <TT>
@ -56,7 +56,7 @@ which button is hit. ESC is a shortcut for button 0 and the enter key
is a shortcut for button 1. Notice the &quot;misordered&quot; position of the
buttons. You can hide buttons by passing <TT>NULL</TT> as their
labels.
<CENTER><IMG src=./fl_choice.gif></CENTER>
<P ALIGN=CENTER><IMG src=./fl_choice.gif></P>
<H3><A name=fl_input>const char *fl_input(const char *label, const char
*deflt = 0, ...)</A></H3>
Pops up a window displaying a string, lets the user edit it, and
@ -64,12 +64,12 @@ return the new value. The cancel button returns <TT>NULL</TT>. <I>The
returned pointer is only valid until the next time <TT>fl_input()</TT>
is called</I>. Due to back-compatability, the arguments to any printf
commands in the label are after the default value.
<CENTER><IMG src=./fl_input.gif></CENTER>
<P ALIGN=CENTER><IMG src=./fl_input.gif></P>
<H3><A name=fl_password>const char *fl_password(const char *label,
const char *deflt = 0, ...)</A></H3>
Same as <TT>fl_input()</TT> except an <A href=Fl_Secret_Input.html#Fl_Secret_Input>
<TT>Fl_Secret_Input</TT></A> field is used.
<CENTER><IMG src=./fl_password.gif></CENTER>
<P ALIGN=CENTER><IMG src=./fl_password.gif></P>
<H3><A name=fl_message_font>void fl_message_font(Fl_Font fontid, uchar
size)</A></H3>
Change the font and font size used for the messages in all the popups.
@ -84,7 +84,7 @@ choose files from large directories. This file chooser has several
unique features, the major one being that the Tab key completes
filenames like it does in Emacs or tcsh, and the list always shows all
possible completions.
<CENTER><IMG src=./filechooser.gif></CENTER>
<P ALIGN=CENTER><IMG src=./filechooser.gif></P>
<TT>fl_file_chooser()</TT> pops up the file chooser, waits for the user
to pick a file or Cancel, and then returns a pointer to that filename
or <TT>NULL</TT> if Cancel is chosen.
@ -802,4 +802,4 @@ user can continue (very little calls this now). <TT>Fl::fatal</TT> must
not return, as FLTK is in an unusable state, however your version may
be able to use <TT>longjmp</TT> or an exception to continue, as long as
it does not call FLTK again. </P>
</BODY></HTML>
</BODY></HTML>

View File

@ -133,7 +133,7 @@ This will build the library, FLUID tool, and all of the test programs.
<P>To install the library, become root and type &quot;make install&quot;. This
will copy the &quot;fluid&quot; executable to &quot;bindir&quot;, the header files to
&quot;includedir&quot;, and the library files to &quot;libdir&quot;. </P>
<H2>Building FLTK Under Micrsoft Windows</H2>
<H2>Building FLTK Under Microsoft Windows</H2>
There are two ways to build FLTK under Microsoft Windows. The first
is to use the Visual C++ 5.0 project files under the &quot;visualc&quot;
directory. Just open (or double-click on) the &quot;fltk.dsw&quot; file to get
@ -195,4 +195,4 @@ Please include the FLTK version, operating system &amp; version, and
compiler that you are using when describing the bug or problem.
<P>For general support and questions, please use the FLTK mailing list
at &quot;fltk@easysw.com&quot;. </P>
</BODY></HTML>
</BODY></HTML>

View File

@ -1,6 +1,6 @@
<HTML><BODY>
<H1 ALIGN=RIGHT><A NAME=license>G - Software License</A></H1>
<H2>GNU LIBRARY GENERAL PUBLIC LICENSE</H2>
<H2 ALIGN=CENTER>GNU LIBRARY GENERAL PUBLIC LICENSE</H2>
<P ALIGN=CENTER>Version 2, June 1991
<BR> Copyright (C) 1991 Free Software Foundation, Inc.
<BR> 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
@ -373,4 +373,4 @@ FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES. </P>
<H2 ALIGN=CENTER>END OF TERMS AND CONDITIONS</H2>
</BODY></HTML>
</BODY></HTML>