updated all dox files, history kept. will add other eps files on another commit
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6448 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
501690edce
commit
690af6a7a0
@ -74,7 +74,7 @@ You can quit the program by closing the window or pressing the
|
||||
<KBD>ESC</KBD>ape key.
|
||||
|
||||
\image html hello.C.gif "Figure 2-1: The Hello, World! Window"
|
||||
|
||||
\image latex hello.C.eps "The Hello, World! Window" width=8cm
|
||||
\subsection basics_creating Creating the Widgets
|
||||
|
||||
The widgets are created using the C++ <tt>new</tt> operator. For
|
||||
|
@ -24,7 +24,7 @@ FLTK provides many types of buttons:
|
||||
\li Fl_Round_Button - A button with a radio circle.
|
||||
|
||||
\image html buttons.gif "Figure 3-1: FLTK Button Widgets"
|
||||
|
||||
\image latex buttons.eps "FLTK Button Widgets" width=10cm
|
||||
All of these buttons just need the corresponding
|
||||
<tt><FL/Fl_xyz_Button.H></tt> header file. The constructor
|
||||
takes the bounding box of the button and optionally a label
|
||||
@ -110,7 +110,7 @@ strings. FLTK provides the following valuators:
|
||||
\li Fl_Value_Slider - A slider that shows the current value.
|
||||
|
||||
\image html valuators.gif "Figure 3-2: FLTK valuator widgets"
|
||||
|
||||
\image latex valuators.eps "FLTK valuator widgets" width=10cm
|
||||
The <tt>value()</tt> method gets and sets the current value
|
||||
of the widget. The <tt>minimum()</tt> and <tt>maximum()</tt>
|
||||
methods set the range of values that are reported by the
|
||||
@ -234,7 +234,7 @@ is an enumeration defined in Enumerations.H.
|
||||
Figure 3-3 shows the standard box types included with FLTK.
|
||||
|
||||
\image html boxtypes.gif "Figure 3-3: FLTK box types"
|
||||
|
||||
\image latex boxtypes.eps "FLTK box types" width=12cm
|
||||
<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 interior unchanged. The blue color in
|
||||
|
@ -29,9 +29,10 @@ as a temporary solution.
|
||||
use Fl_Clock instead.
|
||||
|
||||
\image html clock.gif
|
||||
|
||||
\image latex clock.eps "" width=10cm
|
||||
\image html round_clock.gif
|
||||
#/
|
||||
\image latex clock.eps "" width=10cm
|
||||
\image html round_clock.eps "" width=10cm #/
|
||||
|
||||
/##
|
||||
Returns the displayed time.
|
||||
@ -412,7 +413,7 @@ The above code produces the following paragraphs:
|
||||
the HTML footer.
|
||||
|
||||
\image html tiny.gif
|
||||
|
||||
\image latex tiny.eps "" width=2cm
|
||||
|
||||
\section development_navigation_test 5 Navigation Proposals
|
||||
|
||||
|
@ -146,7 +146,7 @@ the "replace next " button is a
|
||||
<tt>Fl_Return_Button</tt> widget:
|
||||
|
||||
\image html editor-replace.gif "Figure 4-1: The search and replace dialog"
|
||||
|
||||
\image latex editor-replace.eps "The search and replace dialog" width=10cm
|
||||
\code
|
||||
Fl_Window *replace_dlg = new Fl_Window(300, 105, "Replace");
|
||||
Fl_Input *replace_find = new Fl_Input(70, 10, 200, 25, "Find:");
|
||||
@ -618,7 +618,7 @@ Congratulations, you've just built your own text editor!
|
||||
The final editor window should look like the image in Figure 4-2.
|
||||
|
||||
\image html editor.gif "Figure 4-2: The completed editor window"
|
||||
|
||||
\image latex editor.eps "The completed editor window" width=12cm
|
||||
\section editor_advanced_features Advanced Features
|
||||
|
||||
Now that we've implemented the basic functionality, it is
|
||||
|
@ -644,7 +644,7 @@ for more details.
|
||||
\htmlonly
|
||||
<hr>
|
||||
<a class="el" href="index.html">[Index]</a>
|
||||
<a class="el" href="license.html">[Previous]</a>
|
||||
<a class="el" href="license.html">[Previous] J - Software License</a>
|
||||
\ref license
|
||||
|
||||
\endhtmlonly
|
||||
|
@ -42,7 +42,7 @@ These <tt>.cxx</tt> files must <tt>\#include</tt> the <tt>.h</tt> file or they c
|
||||
file.
|
||||
|
||||
\image html fluid-org.gif "Figure 9-1: FLUID organization"
|
||||
|
||||
\image latex fluid-org.eps "FLUID organization" width=12cm
|
||||
Normally the FLUID file defines one or more functions or classes which
|
||||
output C++ code. Each function defines a one or more FLTK
|
||||
windows, and all the widgets that go inside those windows.
|
||||
@ -151,7 +151,7 @@ show you how to generate a complete user interface class with
|
||||
FLUID that is used for the CubeView program provided with FLTK.
|
||||
|
||||
\image html cubeview.gif "Figure 9-2: CubeView demo"
|
||||
|
||||
\image latex cubeview.eps "CubeView demo" width=10cm
|
||||
The window is of class CubeViewUI, and is completely generated by FLUID,
|
||||
including
|
||||
class member functions. The central display of the cube is a separate
|
||||
@ -382,7 +382,7 @@ window. You should see the new class declaration in the FLUID
|
||||
browser window.
|
||||
|
||||
\image html fluid1.gif "Figure 9-3: FLUID file for CubeView"
|
||||
|
||||
\image latex fluid1.eps "FLUID file for CubeView" width=10cm
|
||||
<a name="addcon"> </A> <!-- For old HTML links only ! -->
|
||||
\par Adding the Class Constructor
|
||||
|
||||
@ -410,7 +410,7 @@ CubeViewUI.
|
||||
When you are finished you should have something like this:
|
||||
|
||||
\image html fluid2.gif "Figure 9-4: FLUID window containing CubeView demo"
|
||||
|
||||
\image latex fluid2.eps "FLUID window containing CubeView demo" width=10cm
|
||||
We will talk about the <tt>show()</tt> method that is highlighted
|
||||
shortly.
|
||||
|
||||
@ -438,7 +438,7 @@ CubeView as a member of CubeViewUI, so any public CubeView methods are
|
||||
now available to CubeViewUI.
|
||||
|
||||
\image html fluid3-cxx.gif "Figure 9-5: CubeView methods"
|
||||
|
||||
\image latex fluid3-cxx.eps "CubeView methods" width=10cm
|
||||
<a name="defcall"> </A> <!-- For old HTML links only ! -->
|
||||
\par Defining the Callbacks
|
||||
|
||||
@ -476,7 +476,7 @@ not be adding any widgets to this method FLUID will assign it a return
|
||||
type of <tt>void</tt>.
|
||||
|
||||
\image html fluid4.gif "Figure 9-6: CubeView constructor"
|
||||
|
||||
\image latex fluid4.eps "CubeView constructor" width=10cm
|
||||
Once the new method has been added, highlight its name and select
|
||||
<B>New->Code->Code.</B> Enter the method's code in the code window.
|
||||
|
||||
@ -711,7 +711,7 @@ The internationalization options are described
|
||||
<A HREF="#I18N">later in this chapter</A>.
|
||||
|
||||
\image html fluid_prefs.gif "Figure 9-7: FLUID Preferences Window"
|
||||
|
||||
\image latex fluid_prefs.eps "FLUID Preferences Window" width=10cm
|
||||
\par Edit/GUI Settings... (Shift+Ctrl+p)
|
||||
|
||||
Displays the GUI settings panel. This panel is used
|
||||
@ -841,7 +841,7 @@ undone, however.
|
||||
<!-- NEW PAGE -->
|
||||
|
||||
\image html fluid_widget_gui.gif "Figure 9-8: The FLUID widget GUI attributes"
|
||||
|
||||
\image latex fluid_widget_gui.eps "The FLUID widget GUI attributes" width=10cm
|
||||
\section fluid_widget_attributes GUI Attributes
|
||||
|
||||
\par Label (text field)
|
||||
@ -937,7 +937,7 @@ On most (all?) window managers you will have to close the window
|
||||
and reopen it to see the effect.
|
||||
|
||||
\image html fluid_widget_style.gif "Figure 9-9: The FLUID widget Style attributes"
|
||||
|
||||
\image latex fluid_widget_style.eps "The FLUID widget Style attributes" width=10cm
|
||||
\subsection fluid_style_attributes Style Attributes
|
||||
|
||||
\par Label Font (pulldown menu)
|
||||
@ -997,7 +997,7 @@ Some widgets display text, such as input fields, pull-down
|
||||
menus, and browsers.
|
||||
|
||||
\image html fluid_widget_cxx.gif "Figure 9-10: The FLUID widget C++ attributes"
|
||||
|
||||
\image latex fluid_widget_cxx.eps "The FLUID widget C++ attributes" width=10cm
|
||||
\subsection fluid_cpp_attributes C++ Attributes
|
||||
|
||||
\par Class
|
||||
@ -1317,7 +1317,7 @@ function/macro name to use when retrieving the localized label
|
||||
strings.
|
||||
|
||||
\image html fluid-gettext.gif "Figure 9-11: Internationalization using GNU gettext"
|
||||
|
||||
\image latex fluid-gettext.eps "Internationalization using GNU gettext" width=10cm
|
||||
The "\#include" field controls the header file to include for
|
||||
I18N; by default this is \b <libintl.h>, the
|
||||
standard I18N file for GNU gettext.
|
||||
@ -1340,7 +1340,7 @@ catalog file, and set number for retrieving the localized label
|
||||
strings.
|
||||
|
||||
\image html fluid-catgets.gif "Figure 9-12: Internationalization using POSIX catgets"
|
||||
|
||||
\image latex fluid-catgets.eps "Internationalization using POSIX catgets" width=10cm
|
||||
The "\#include" field controls the header file to include for
|
||||
I18N; by default this is \b <nl_types.h>, the
|
||||
standard I18N file for POSIX catgets.
|
||||
|
@ -5,7 +5,7 @@
|
||||
<TR>
|
||||
<TD><CENTER>
|
||||
\image html FL200.gif
|
||||
\image latex FL200.eps "" width=4cm
|
||||
\image latex FL200.eps "" width=5cm
|
||||
</CENTER></TD>
|
||||
<TD><CENTER>
|
||||
<B>FLTK 1.3.0 Programming Manual</B>
|
||||
|
@ -45,7 +45,6 @@ exceptions:
|
||||
<I>[program/widget] is based in part on the work of
|
||||
the FLTK project (http://www.fltk.org).</I>
|
||||
|
||||
\htmlonly
|
||||
<HR>
|
||||
|
||||
\par GNU LIBRARY GENERAL PUBLIC LICENSE
|
||||
@ -491,11 +490,12 @@ DAMAGES.
|
||||
|
||||
\par END OF TERMS AND CONDITIONS
|
||||
|
||||
\htmlonly
|
||||
<hr>
|
||||
<a class="el" href="index.html">[Index]</a>
|
||||
<a class="el" href="development.html">[Previous]</a>
|
||||
<a class="el" href="development.html">[Previous] I - Developer Information</a>
|
||||
\ref development
|
||||
<a class="el" href="examples.html">[Next]</a>
|
||||
<a class="el" href="examples.html">[Next] K - Example Source Code</a>
|
||||
\ref examples
|
||||
|
||||
\endhtmlonly
|
||||
|
Loading…
Reference in New Issue
Block a user