summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorengelsman <engelsman>2008-10-11 08:14:59 +0000
committerengelsman <engelsman>2008-10-11 08:14:59 +0000
commit0e518f7f49011ab5a3aad9ed9ccd271961ecc566 (patch)
treeaf7c8a8bd718511acad57fbaa9215b72eafe0d35
parentd658ae60392ed57eedd3ada08717e4947768934e (diff)
more html to doxygen conversion for {fluid,advanced,unicode}.dox
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6407 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--documentation/advanced.dox87
-rw-r--r--documentation/fluid.dox881
-rw-r--r--documentation/unicode.dox101
3 files changed, 548 insertions, 521 deletions
diff --git a/documentation/advanced.dox b/documentation/advanced.dox
index 5f084c2c7..fbc9d5f0c 100644
--- a/documentation/advanced.dox
+++ b/documentation/advanced.dox
@@ -2,18 +2,35 @@
\page advanced 10 - Advanced FLTK
-<P>This chapter explains advanced programming and design topics
-that will help you to get the most out of FLTK.</P>
-
-<H2><A NAME="multithreading">Multithreading</H2>
-
-<P>FLTK supports multithreaded application using a locking mechanism based on "pthreads". We do not provide a threading interface as part of the library. However a simple example how threads can be implemented for all supported platforms can be found in <tt>test/threads.h</tt> and <tt>test/threads.cxx</tt>.
-
-<P>To use the locking mechanism, FLTK must be compiled with <tt>--enable-threads</tt> set during the <tt>configure</tt> process. IDE-based versions of FLTK are automatically compiled with locking enabled if possible.
-
-<P>In <TT>main()</TT>, call <a href="Fl.html#Fl.lock"><TT>Fl::lock()</TT></A> before <A HREF="Fl.html#Fl.run"><TT>Fl::run()</TT></A> or <A HREF="Fl.html#Fl.wait"><TT>Fl::wait()</TT></A> to start the runtime multithreading support for your program. All callbacks and derived functions like <tt>handle()</tt> and <tt>draw()</tt> will now be properly locked:</P>
-
-<pre>
+This chapter explains advanced programming and design topics
+that will help you to get the most out of FLTK.
+
+<A NAME="multithreading"> </A> <!-- For old HTML links only ! -->
+\section advanced_multithreading Multithreading
+
+FLTK supports multithreaded application using a locking mechanism
+based on "pthreads". We do not provide a threading interface as part of
+the library. However a simple example how threads can be implemented
+for all supported platforms can be found in <tt>test/threads.h</tt>
+and <tt>test/threads.cxx</tt>.
+
+To use the locking mechanism, FLTK must be compiled with
+<tt>--enable-threads</tt> set during the <tt>configure</tt>
+process. IDE-based versions of FLTK are automatically compiled with
+locking enabled if possible.
+
+In <TT>main()</TT>, call
+<a href="Fl.html#Fl.lock"><TT>Fl::lock()</TT></A> before
+<A HREF="Fl.html#Fl.run"><TT>Fl::run()</TT></A> or
+<A HREF="Fl.html#Fl.wait"><TT>Fl::wait()</TT></A>
+to start the runtime
+multithreading support for your program. All callbacks and derived
+functions like <tt>handle()</tt> and <tt>draw()</tt> will now be properly
+locked:
+
+}
+
+\code
int main() {
Fl::lock();
/* run thread */
@@ -23,32 +40,32 @@ that will help you to get the most out of FLTK.</P>
}
}
}
-</pre>
+\endcode
-<P>You can now start as many threads as you like. From within
+You can now start as many threads as you like. From within
a thread (other than the main thread) FLTK calls must be wrapped
with calls to <a href="Fl.html#Fl.lock"><tt>Fl::lock()</tt></a>
and <a href="Fl.html#Fl.unlock"><tt>Fl::unlock()</tt></a>:
-<pre>
+\code
Fl::lock(); // avoid conflicting calls
... // your code here
Fl::unlock(); // allow other threads to access FLTK again
-</pre>
+\endcode
-<p>You can send messages from child threads to the main thread
+You can send messages from child threads to the main thread
using <a href="Fl.html#Fl.awake"><tt>Fl::awake(msg)</tt></a>:</p>
-<pre>
+\code
void *msg; // "msg" is a pointer to your message
Fl::awake(msg); // send "msg" to main thread
-</pre>
+\endcode
-<p>You can also tell the main thread to call a function for you
+You can also tell the main thread to call a function for you
as soon as possible by using
<a href="Fl.html#Fl.awake"><tt>Fl::awake(callback, userdata)</tt></a>:</p>
-<pre>
+\code
void do_something(void *userdata) {
// running with the main thread
}
@@ -56,32 +73,32 @@ as soon as possible by using
// running in another thread
void *data; // "data" is a pointer to your user data
Fl::awake(do_something, data); // call something in main thread
-</pre>
+\endcode
-<P>FLTK supports multiple platforms, some of them which do not
+FLTK supports multiple platforms, some of them which do not
allow any other but the main thread to handle system events and
open or close windows. The safe thing to do is to adhere to the
following rules for threads on all operating systems:
-<ul>
-
-<li>Don't <tt>show()</tt> or <tt>hide()</tt>anything that contains
-widgets derived from <tt>Fl_Window</tt>, including dialogs, file
-choosers, subwindows or <tt>Fl_GL_Window</tt>s</li>
-<li>Don't call <tt>Fl::wait()</tt>, <tt>Fl::flush()</tt> or any
-related methods that will handle system messages</li>
+\li Don't <tt>show()</tt> or <tt>hide()</tt>anything that contains
+ widgets derived from <tt>Fl_Window</tt>, including dialogs, file
+ choosers, subwindows or <tt>Fl_GL_Window</tt>s
-<li>Don't start or cancel timers</li>
+\li Don't call <tt>Fl::wait()</tt>, <tt>Fl::flush()</tt> or any
+ related methods that will handle system messages
-<li>Don't change window decorations or titles</li>
+\li Don't start or cancel timers
-<li>The <tt>make_current()</tt> method may or may not work well for regular windows, but should always work for <tt>Fl_GL_Window</tt>s to allow for high speed rendering on graphics cards with multiple pipelines</li>
+\li Don't change window decorations or titles
-</ul>
+\li The <tt>make_current()</tt> method may or may not work well for
+ regular windows, but should always work for <tt>Fl_GL_Window</tt>s
+ to allow for high speed rendering on graphics cards with multiple
+ pipelines
-<P>See also:
+See also:
<a href="Fl.html#Fl.awake">void awake(void *message)</A>,
<a href="Fl.html#Fl.lock">void lock()</A>,
<a href="Fl.html#Fl.thread_message">void *thread_message()</A>,
diff --git a/documentation/fluid.dox b/documentation/fluid.dox
index 61cc7be5b..7876efbbd 100644
--- a/documentation/fluid.dox
+++ b/documentation/fluid.dox
@@ -2,51 +2,52 @@
\page fluid 9 - Programming with FLUID
-<P>This chapter shows how to use the Fast Light User-Interface Designer
-("FLUID") to create your GUIs.</P>
-
-<P>Subchapters:
-<UL>
-<LI><A HREF="#what_is_fluid">What is FLUID</A></LI>
-<LI><A HREF="#fluid_under_linux">Running FLUID Under UNIX</A></LI>
-<LI><A HREF="#fluid_under_windows">Running FLUID Under Microsoft Windows</A></LI>
-<LI><A HREF="#compiling_fl_files">Compiling <TT>.fl</TT> Files</A></LI>
-<LI><A HREF="#tutorial">A Short Tutorial</A></LI>
-<LI><A HREF="#references">FLUID Reference</A></LI>
-<LI><A HREF="#I18N">Internationalization with FLUID</A></LI>
-<LI><A HREF="#limitations">Known Limitations</A></LI>
-</UL></P>
-
-<H2><A NAME="what_is_fluid">What is FLUID?</A></H2>
-
-<P>The Fast Light User Interface Designer, or FLUID, is a
+This chapter shows how to use the Fast Light User-Interface Designer
+("FLUID") to create your GUIs.
+
+Subchapters:
+
+\li <A HREF="#what_is_fluid">What is FLUID</A>
+\li <A HREF="#fluid_under_linux">Running FLUID Under UNIX</A>
+\li <A HREF="#fluid_under_windows">Running FLUID Under Microsoft Windows</A>
+\li <A HREF="#compiling_fl_files">Compiling <tt>.fl</tt> Files</A>
+\li <A HREF="#tutorial">A Short Tutorial</A>
+\li <A HREF="#references">FLUID Reference</A>
+\li <A HREF="#I18N">Internationalization with FLUID</A>
+\li <A HREF="#limitations">Known Limitations</A>
+
+<A NAME="what_is_fluid"> </A> <!-- For old HTML links only ! -->
+\section fluid_what_is_fluid What is FLUID?
+
+The Fast Light User Interface Designer, or FLUID, is a
graphical editor that is used to produce FLTK source code. FLUID
-edits and saves its state in <TT>.fl</TT> files. These files
+edits and saves its state in <tt>.fl</tt> files. These files
are text, and you can (with care) edit them in a text editor,
-perhaps to get some special effects.</P>
+perhaps to get some special effects.
-<P>FLUID can "compile" the <TT>.fl</TT> file into a
-<TT>.cxx</TT> and a <TT>.h</TT> file. The <TT>.cxx</TT> file
-defines all the objects from the <TT>.fl</TT> file and the
-<TT>.h</TT> file declares all the global ones. FLUID also
+FLUID can "compile" the <tt>.fl</tt> file into a
+<tt>.cxx</tt> and a <tt>.h</tt> file. The <tt>.cxx</tt> file
+defines all the objects from the <tt>.fl</tt> file and the
+<tt>.h</tt> file declares all the global ones. FLUID also
supports localization (<A HREF="#I18N">Internationalization</A>)
of label strings using message files and the GNU gettext or
POSIX catgets interfaces.
-<P>A simple program can be made by putting all your code (including a <TT>
-main()</TT> function) into the <TT>.fl</TT> file and thus making the <TT>.cxx</TT> file a
+A simple program can be made by putting all your code (including a <tt>
+main()</tt> function) into the <tt>.fl</tt> file and thus making the <tt>.cxx</tt> file a
single source file to compile. Most programs are more complex than
-this, so you write other <TT>.cxx</TT> files that call the FLUID functions.
-These <TT>.cxx</TT> files must <TT>\#include</TT> the <TT>.h</TT> file or they can <TT>
-\#include</TT> the <TT>.cxx</TT> file so it still appears to be a single source
+this, so you write other <tt>.cxx</tt> files that call the FLUID functions.
+These <tt>.cxx</tt> files must <tt>\#include</tt> the <tt>.h</tt> file or they can <tt>
+\#include</tt> the <tt>.cxx</tt> file so it still appears to be a single source
file.
\image html fluid-org.gif "Figure 9-1: FLUID organization"
-<P>Normally the FLUID file defines one or more functions or classes which
+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.</P>
-<P>Widgets created by FLUID are either "named", "complex named" or
+windows, and all the widgets that go inside those windows.
+
+Widgets created by FLUID are either "named", "complex named" or
"unnamed". A named widget has a legal C++ variable identifier as its
name (i.e. only alphanumeric and underscore). In this case FLUID
defines a global variable or class member that will point at the widget
@@ -54,24 +55,30 @@ after the function defining it is called. A complex named object has
punctuation such as '.' or '->' or any other symbols in its name. In
this case FLUID assigns a pointer to the widget to the name, but does
not attempt to declare it. This can be used to get the widgets into
-structures. An unnamed widget has a blank name and no pointer is stored.</P>
-<P>Widgets may either call a named callback function that you write in
+structures. An unnamed widget has a blank name and no pointer is stored.
+
+Widgets may either call a named callback function that you write in
another source file, or you can supply a small piece of C++ source and
-FLUID will write a private callback function into the <TT>.cxx</TT> file.</P>
-<H2><A NAME="fluid_under_linux">Running FLUID Under UNIX</A></H2>
- To run FLUID under UNIX, type:
- \code
+FLUID will write a private callback function into the <tt>.cxx</tt> file.
+
+<A NAME="fluid_under_linux"> </A> <!-- For old HTML links only ! -->
+\section fluid_fluid_under_unix Running FLUID Under UNIX
+
+To run FLUID under UNIX, type:
+
+\code
fluid filename.fl &
- \endcode
+\endcode
-to edit the <TT>.fl</TT> file <TT>filename.fl</TT>. If the file does not exist
+to edit the <tt>.fl</tt> file <tt>filename.fl</tt>. If the file does not exist
you will get an error pop-up, but if you dismiss it you will be editing
a blank file of that name. You can run FLUID without any name, in
which case you will be editing an unnamed blank setup (but you can use
save-as to write it to a file).
-<P>You can provide any of the standard FLTK switches before the filename: </P>
- \code
+You can provide any of the standard FLTK switches before the filename:
+
+\code
-display host:n.n
-geometry WxH+X+Y
-title windowtitle
@@ -83,35 +90,37 @@ save-as to write it to a file).
-scheme schemename
\endcode
-<P>Changing the colors may be useful to see what your interface
+Changing the colors may be useful to see what your interface
will look at if the user calls it with the same switches.
Similarly, using "-scheme plastic" will show how the interface
will look using the "plastic" scheme.
-<P>In the current version, if you don't put FLUID into the
+In the current version, if you don't put FLUID into the
background with '&' then you will be able to abort FLUID by
typing <KBD>CTRL-C</KBD> on the terminal. It will exit
-immediately, losing any changes.</P>
+immediately, losing any changes.
-<H2><A NAME="fluid_under_windows">Running FLUID Under Microsoft Windows</A></H2>
+<A NAME="fluid_under_windows"> </A> <!-- For old HTML links only ! -->
+\section fluid_fluid_under_windows Running FLUID Under Microsoft Windows
-<P>To run FLUID under WIN32, double-click on the <I>FLUID.exe</I>
+To run FLUID under WIN32, double-click on the <I>FLUID.exe</I>
file. You can also run FLUID from the Command Prompt window.
FLUID always runs in the background under WIN32.
-<H2><A NAME="compiling_fl_files">Compiling <TT>.fl</TT> files</A></H2>
+<A NAME="compiling_fl_files"> </A> <!-- For old HTML links only ! -->
+\section fluid_compiling_fl_files Compiling .fl files
-<P>FLUID can also be called as a command-line
-"compiler" to create the <TT>.cxx</TT> and <TT>.h</TT>
-file from a <TT>.fl</TT> file. To do this type:
+FLUID can also be called as a command-line
+"compiler" to create the <tt>.cxx</tt> and <tt>.h</tt>
+file from a <tt>.fl</tt> file. To do this type:
\code
fluid -c filename.fl
\endcode
-<P>This will read the <TT>filename.fl</TT> file and write
+This will read the <tt>filename.fl</tt> file and write
<I>filename.cxx</I> and <I> filename.h</I>. Any leading
-directory on <TT>filename.fl</TT> will be stripped, so they are
+directory on <tt>filename.fl</tt> will be stripped, so they are
always written to the current directory. If there are any errors
reading or writing the files, FLUID will print the error and
exit with a non-zero code. You can use the following lines in a
@@ -123,7 +132,7 @@ my_panels.h my_panels.cxx: my_panels.fl
fluid -c my_panels.fl
\endcode
-<P>Most versions of make support rules that cause <TT>.fl</TT>
+Most versions of make support rules that cause <tt>.fl</tt>
files to be compiled:
\code
@@ -132,39 +141,46 @@ files to be compiled:
fluid -c $<
\endcode
-<H2><A NAME="tutorial">A Short Tutorial</A></H2>
+<A NAME="tutorial"> </A> <!-- For old HTML links only ! -->
+\section fluid_tutorial A Short Tutorial
-<P>FLUID is an amazingly powerful little program. However, this
+FLUID is an amazingly powerful little program. However, this
power comes at a price as it is not always obvious how to
accomplish seemingly simple tasks with it. This tutorial will
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 html cubeview.gif "Figure 9-2: CubeView demo"
-<P>The window is of class CubeViewUI, and is completely generated by FLUID, including
+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
subclass of Fl_Gl_Window called CubeView. CubeViewUI manages CubeView
using callbacks from the various sliders and rollers to manipulate the
viewing angle and zoom of CubeView.
-<p>At the completion of this tutorial you will (hopefully) understand
+
+At the completion of this tutorial you will (hopefully) understand
how to:
-<ol>
-<li>Use FLUID to create a complete user interface class, including
-constructor and any member functions necessary.
-<li>Use FLUID to set callbacks member functions of a custom widget
-classes.
-<li>Subclass an Fl_Gl_Window to suit your purposes.
-</ol>
-
-<h3>The CubeView Class</h3>
+
+-# Use FLUID to create a complete user interface class, including
+ constructor and any member functions necessary.
+-# Use FLUID to set callbacks member functions of a custom widget
+ classes.
+-# Subclass an Fl_Gl_Window to suit your purposes.
+
+\subsection fluid_cubeview The CubeView Class
+
The CubeView class is a subclass of Fl_Gl_Window. It has methods for
setting the zoom, the <i>x</i> and <i>y</i> pan, and the rotation angle
about the <i>x</i> and <i>y</i>axes.
-<p>You can safely skip this section as long as you realize the CubeView
+
+You can safely skip this section as long as you realize the CubeView
is a sublass of Fl_Gl_Window and will respond to calls from
CubeViewUI, generated by FLUID.
-<h4><a name="def">The CubeView Class Definition</a></h4>
+
+<a name="def"> </A> <!-- For old HTML links only ! -->
+\par The CubeView Class Definition
+
Here is the CubeView class definition, as given by its header file
"test/CubeView.h":
@@ -225,10 +241,10 @@ class CubeView : public Fl_Gl_Window {
};
\endcode
+<a name="imp"> </A> <!-- For old HTML links only ! -->
+\par The CubeView Class Implementation
-<h4><a name="imp">The CubeView Class Implementation</a></h4>
-
-<P>Here is the CubeView implementation. It is very similar to the
+Here is the CubeView implementation. It is very similar to the
"cube" demo included with FLTK.
\code
@@ -350,82 +366,83 @@ void CubeView::draw() {
};
\endcode
+\subsection fluid_cubevieui The CubeViewUI Class
-<h3>The CubeViewUI Class</h3>
-
-<P>We will completely construct a window to display and control the
+We will completely construct a window to display and control the
CubeView defined in the previous section using FLUID.
-<h4><a name="defui">Defining the CubeViewUI Class</a></h4>
+<a name="defui"> </A> <!-- For old HTML links only ! -->
+\par Defining the CubeViewUI Class
-<P>Once you have started FLUID, the first step in defining a class is to
+Once you have started FLUID, the first step in defining a class is to
create a new class within FLUID using the \em New->Code->Class
menu item. Name the class "CubeViewUI" and leave the
subclass blank. We do not need any inheritance for this
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 html fluid1.gif "Figure 9-3: FLUID file for CubeView"
-<h4><a name="addcon">Adding the Class Constructor</a></h4>
+<a name="addcon"> </A> <!-- For old HTML links only ! -->
+\par Adding the Class Constructor
-<P>Click on the CubeViewUI class in the FLUID window and add a new method
+Click on the CubeViewUI class in the FLUID window and add a new method
by selecting <b>New->Code->Function/Method.</b> The name of the
function will also be CubeViewUI. FLUID will understands that this will
be the constructor for the class and will generate the appropriate
code. Make sure you declare the constructor public.
-<p>Then add a window to the CubeViewUI class. Highlight the name of
+Then add a window to the CubeViewUI class. Highlight the name of
the constructor in the FLUID browser window and click on
<b>New->Group->Window</b>. In a similar manner add the
following to the CubeViewUI constructor:
-<ul>
-<li>A horizontal roller named <tt>hrot</tt>
-<li>A vertical roller named <tt>vrot</tt>
-<li>A horizontal slider named <tt>xpan</tt>
-<li>A vertical slider named <tt>ypan</tt>
-<li>A horizontal value slider named <tt>zoom</tt>
-</ul>
+\li A horizontal roller named <tt>hrot</tt>
+\li A vertical roller named <tt>vrot</tt>
+\li A horizontal slider named <tt>xpan</tt>
+\li A vertical slider named <tt>ypan</tt>
+\li A horizontal value slider named <tt>zoom</tt>
-<P>None of these additions need be public. And they shouldn't be
+None of these additions need be public. And they shouldn't be
unless you plan to expose them as part of the interface for
CubeViewUI.
-<p>When you are finished you should have something like this:
+When you are finished you should have something like this:
- \image html fluid2.gif "Figure 9-4: FLUID window containing CubeView demo"
+\image html fluid2.gif "Figure 9-4: FLUID window containing CubeView demo"
-<p>We will talk about the <tt>show()</tt> method that is highlighted
+We will talk about the <tt>show()</tt> method that is highlighted
shortly.
-<h4><a name="addcube">Adding the CubeView Widget</a></h4>
+<a name="addcube"> </A> <!-- For old HTML links only ! -->
+\par Adding the CubeView Widget
-<P>What we have is nice, but does little to show our cube. We have already
+What we have is nice, but does little to show our cube. We have already
defined the CubeView class and we would like to show it within the
CubeViewUI.
-<p>The CubeView class inherits the Fl_Gl_Window class, which
+The CubeView class inherits the Fl_Gl_Window class, which
is created in the same way as a Fl_Box widget. Use
<b>New->Other->Box</b> to add a square box to the main window.
This will be no ordinary box, however.
-<p>The Box properties window will appear. The key to letting CubeViewUI
+The Box properties window will appear. The key to letting CubeViewUI
display CubeView is to enter CubeView in the "Class:" text
entry box. This tells FLUID that it is not an Fl_Box, but a
similar widget with the same constructor.
In the "Extra Code:" field enter <tt>\#include "CubeView.h"</tt>
-<p>This <tt>\#include</tt> is important, as we have just included
+This <tt>\#include</tt> is important, as we have just included
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 html fluid3-cxx.gif "Figure 9-5: CubeView methods"
-<h4><a name="defcall">Defining the Callbacks</a></h4>
+<a name="defcall"> </A> <!-- For old HTML links only ! -->
+\par Defining the Callbacks
-<P>Each of the widgets we defined before adding CubeView can have
+Each of the widgets we defined before adding CubeView can have
callbacks that call CubeView methods. You can call an external
function or put in a short amount of code in the "Callback"
field of the widget panel. For example, the callback for the
@@ -436,109 +453,113 @@ cube->pany(((Fl_Slider *)o)->value());
cube->redraw();
\endcode
-<P>We call <tt>cube->redraw()</tt> after changing the value to update
+We call <tt>cube->redraw()</tt> after changing the value to update
the CubeView window. CubeView could easily be modified to do this, but
it is nice to keep this exposed in the case where you may want to do
more than one view change only redrawing once saves a lot of time.
-<p>There is no reason no wait until after you have added CubeView to
+There is no reason no wait until after you have added CubeView to
enter these callbacks. FLUID assumes you are smart enough not to refer
to members or functions that don't exist.
-<h4><a name="addmeth">Adding a Class Method</a></h4>
+<a name="addmeth"> </A> <!-- For old HTML links only ! -->
+\par Adding a Class Method
-<P>You can add class methods within FLUID that have nothing to do with the
+You can add class methods within FLUID that have nothing to do with the
GUI. An an example add a show function so that CubeViewUI can actually
appear on the screen.
-<p>Make sure the top level CubeViewUI is selected and select
+Make sure the top level CubeViewUI is selected and select
<b>New->Code->Function/Method</b>. Just use the name
<tt>show()</tt>. We don't need a return value here, and since we will
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 html fluid4.gif "Figure 9-6: CubeView constructor"
-<p>Once the new method has been added, highlight its name and select
+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.
-<h3><a name="addconst">Adding Constructor Initialization Code</a></h3>
+<a name="addconst"> </A> <!-- For old HTML links only ! -->
+\subsection fluid_addconst Adding Constructor Initialization Code
-<P>If you need to add code to initialize class, for example setting
+If you need to add code to initialize class, for example setting
initial values of the horizontal and vertical angles in the
CubeView, you can simply highlight the Constructor and select
<b>New->Code->Code</b>. Add any required code.
-<h3><a name="gencode">Generating the Code</a></h3>
+<a name="gencode"> </A> <!-- For old HTML links only ! -->
+\subsection fluid_gencode Generating the Code
-<P>Now that we have completely defined the CubeViewUI, we have to generate
+Now that we have completely defined the CubeViewUI, we have to generate
the code. There is one last trick to ensure this all works. Open the
preferences dialog from <b>Edit->Preferences</b>.
-<p>At the bottom of the preferences dialog box is the key: "Include
+At the bottom of the preferences dialog box is the key: "Include
Header from Code". Select that option and set your desired file
extensions and you are in business. You can include the CubeViewUI.h
(or whatever extension you prefer) as you would any other C++ class.
<!-- NEW PAGE -->
-<H2><A NAME="references">FLUID Reference</A></H2>
+<A NAME="references"> </A> <!-- For old HTML links only ! -->
+\section fluid_references FLUID Reference
-<P>The following sections describe each of the windows in FLUID.
+The following sections describe each of the windows in FLUID.
-<H3>The Widget Browser</H3>
+\subsection fluid_browser The Widget Browser
-<P>The main window shows a menu bar and a scrolling browser of
-all the defined widgets. The name of the <TT>.fl</TT> file being
+The main window shows a menu bar and a scrolling browser of
+all the defined widgets. The name of the <tt>.fl</tt> file being
edited is shown in the window title.
-<P>The widgets are stored in a hierarchy. You can open and close a
+The widgets are stored in a hierarchy. You can open and close a
level by clicking the "triangle" at the left of a widget.
The leftmost widgets are the <I>parents</I>, and all the widgets
listed below them are their <I>children</I>. Parents don't have to have
-any children.</P>
+any children.
-<P>The top level of the hierarchy is composed of <I>functions</I> and
+The top level of the hierarchy is composed of <I>functions</I> and
<I>classes</I>. Each of these will produce a single C++ public
-function or class in the output <TT>.cxx</TT> file. Calling the function or
-instantiating the class will create all of the child widgets.</P>
+function or class in the output <tt>.cxx</tt> file. Calling the function or
+instantiating the class will create all of the child widgets.
-<P>The second level of the hierarchy contains the <I>windows</I>. Each of these
-produces an instance of class <tt>Fl_Window</tt>.</P>
+The second level of the hierarchy contains the <I>windows</I>. Each of these
+produces an instance of class <tt>Fl_Window</tt>.
-<P>Below that are either <I>widgets</I> (subclasses of <tt>Fl_Widget</tt>) or <I>
+Below that are either <I>widgets</I> (subclasses of <tt>Fl_Widget</tt>) or <I>
groups</I> of widgets (including other groups). Plain groups are for
layout, navigation, and resize purposes. <I>Tab groups</I> provide the
-well-known file-card tab interface.</P>
+well-known file-card tab interface.
-<P>Widgets are shown in the browser by either their <I>name</I> (such
+Widgets are shown in the browser by either their <I>name</I> (such
as "main_panel" in the example), or by their <I>type</I>
-and <I>label</I> (such as "Button "the green"").</P>
+and <I>label</I> (such as "Button "the green"").
-<P>You <I>select</I> widgets by clicking on their names, which highlights
+You <I>select</I> widgets by clicking on their names, which highlights
them (you can also select widgets from any displayed window). You can
select many widgets by dragging the mouse across them, or by using
Shift+Click to toggle them on and off. To select no widgets, click in
the blank area under the last widget. Note that hidden children may
be selected even when there is no visual indication of this.
-<P>You <I>open</I> widgets by double-clicking on them, or (to open several
+You <I>open</I> widgets by double-clicking on them, or (to open several
widgets you have picked) by typing the F1 key. A control panel will appear
-so you can change the widget(s).</P>
+so you can change the widget(s).
-<H3>Menu Items</H3>
+\subsection fluid_menu_items Menu Items
-<P>The menu bar at the top is duplicated as a pop-up menu on any
+The menu bar at the top is duplicated as a pop-up menu on any
displayed window. The shortcuts for all the menu items work in any
-window. The menu items are: </P>
+window. The menu items are:
-<H4>File/Open... (Ctrl+o)</H4>
+\par File/Open... (Ctrl+o)
-<P>Discards the current editing session and reads in a different
-<TT>.fl</TT> file. You are asked for confirmation if you have
+Discards the current editing session and reads in a different
+<tt>.fl</tt> file. You are asked for confirmation if you have
changed the current file.
-<P>FLUID can also read <tt>.fd</tt> files produced by the Forms
+FLUID can also read <tt>.fd</tt> files produced by the Forms
and XForms "fdesign" programs. It is best to
File/Merge them instead of opening them. FLUID does not
understand everything in a <tt>.fd</tt> file, and will print a
@@ -547,274 +568,270 @@ not understand. You will probably need to edit the resulting
setup to fix these errors. Be careful not to save the file
without changing the name, as FLUID will write over the
<tt>.fd</tt> file with its own format, which fdesign cannot
-read! </P>
+read!
-<H4>File/Insert... (Ctrl+i)</H4>
+\par File/Insert... (Ctrl+i)
-<P>Inserts the contents of another <TT>.fl</TT> file, without
-changing the name of the current <TT>.fl</TT> file. All the
+Inserts the contents of another <tt>.fl</tt> file, without
+changing the name of the current <tt>.fl</tt> file. All the
functions (even if they have the same names as the current ones)
are added, and you will have to use cut/paste to put the widgets
where you want.
-<H4>File/Save (Ctrl+s)</H4>
+\par File/Save (Ctrl+s)
-<P>Writes the current data to the <TT>.fl</TT> file. If the
+Writes the current data to the <tt>.fl</tt> file. If the
file is unnamed then FLUID will ask for a filename.
-<H4>File/Save As...(Ctrl+Shift+S)</H4>
+\par File/Save As... (Ctrl+Shift+S)
-<P>Asks for a new filename and saves the file.
+Asks for a new filename and saves the file.
-<H4>File/Write Code (Ctrl+Shift+C)</H4>
+\par File/Write Code (Ctrl+Shift+C)
-<P>"Compiles" the data into a <TT>.cxx</TT> and <TT>.h</TT>
+"Compiles" the data into a <tt>.cxx</tt> and <tt>.h</tt>
file. These are exactly the same as the files you get when you run
FLUID with the <tt>-c</tt> switch.
-<P>The output file names are the same as the <TT>.fl</TT> file, with
+The output file names are the same as the <tt>.fl</tt> file, with
the leading directory and trailing ".fl" stripped, and
-".h" or ".cxx" appended.</P>
+".h" or ".cxx" appended.
-<H4>File/Write Strings (Ctrl+Shift+W)</H4>
+\par File/Write Strings (Ctrl+Shift+W)
-<P>Writes a message file for all of the text labels defined in
+Writes a message file for all of the text labels defined in
the current file.
-<P>The output file name is the same as the <TT>.fl</TT> file,
+The output file name is the same as the <tt>.fl</tt> file,
with the leading directory and trailing ".fl"
-stripped, and ".txt", ".po", or
-".msg" appended depending on the <A
-HREF="#I18N">Internationalization Mode</A>.</P>
+stripped, and ".txt", ".po", or ".msg" appended depending on the
+<A HREF="#I18N">Internationalization Mode</A>.
-<H4>File/Quit (Ctrl+q)</H4>
+\par File/Quit (Ctrl+q)
-<P>Exits FLUID. You are asked for confirmation if you have
+Exits FLUID. You are asked for confirmation if you have
changed the current file.
-<H4>Edit/Undo (Ctrl+z)</H4>
+\par Edit/Undo (Ctrl+z)
-<P>This isn't implemented yet. You should do save often so you can
+This isn't implemented yet. You should do save often so you can
recover from any mistakes you make.
-<H4>Edit/Cut (Ctrl+x)</H4>
+\par Edit/Cut (Ctrl+x)
-<P>Deletes the selected widgets and all of their children.
+Deletes the selected widgets and all of their children.
These are saved to a "clipboard" file and can be
pasted back into any FLUID window.
-<H4>Edit/Copy (Ctrl+c)</H4>
+\par Edit/Copy (Ctrl+c)
-<P>Copies the selected widgets and all of their children to the
+Copies the selected widgets and all of their children to the
"clipboard" file.
-<H4>Edit/Paste (Ctrl+c)</H4>
+\par Edit/Paste (Ctrl+c)
-<P>Pastes the widgets from the clipboard file.
+Pastes the widgets from the clipboard file.
-<P>If the widget is a window, it is added to whatever function
-is selected, or contained in the current selection.</P>
+If the widget is a window, it is added to whatever function
+is selected, or contained in the current selection.
-<P>If the widget is a normal widget, it is added to whatever
+If the widget is a normal widget, it is added to whatever
window or group is selected. If none is, it is added to the
-window or group that is the parent of the current selection.</P>
+window or group that is the parent of the current selection.
-<P>To avoid confusion, it is best to select exactly one widget
-before doing a paste.</P>
+To avoid confusion, it is best to select exactly one widget
+before doing a paste.
-<P>Cut/paste is the only way to change the parent of a
-widget.</P>
+Cut/paste is the only way to change the parent of a
+widget.
-<H4>Edit/Select All (Ctrl+a)</H4>
+\par Edit/Select All (Ctrl+a)
-<P>Selects all widgets in the same group as the current
-selection.
+Selects all widgets in the same group as the current selection.
-<P>If they are all selected already then this selects all
+If they are all selected already then this selects all
widgets in that group's parent. Repeatedly typing Ctrl+a will
select larger and larger groups of widgets until everything is
-selected.</P>
+selected.
-<H4>Edit/Open... (F1 or double click)</H4>
+\par Edit/Open... (F1 or double click)
-<P>Displays the current widget in the attributes panel. If the
+Displays the current widget in the attributes panel. If the
widget is a window and it is not visible then the window is
shown instead.
-<H4>Edit/Sort</H4>
+\par Edit/Sort
-<P>Sorts the selected widgets into left to right, top to bottom
+Sorts the selected widgets into left to right, top to bottom
order. You need to do this to make navigation keys in FLTK work
correctly. You may then fine-tune the sorting with
"Earlier" and "Later". This does not affect
the positions of windows or functions.
-<H4>Edit/Earlier (F2)</H4>
+\par Edit/Earlier (F2)
-<P>Moves all of the selected widgets one earlier in order among
+Moves all of the selected widgets one earlier in order among
the children of their parent (if possible). This will affect
navigation order, and if the widgets overlap it will affect how
they draw, as the later widget is drawn on top of the earlier
one. You can also use this to reorder functions, classes, and
windows within functions.
-<H4>Edit/Later (F3)</H4>
+\par Edit/Later (F3)
<P>Moves all of the selected widgets one later in order among
the children of their parent (if possible).
-<H4>Edit/Group (F7)</H4>
+\par Edit/Group (F7)
-<P>Creates a new <tt>Fl_Group</tt> and make all the currently
+Creates a new <tt>Fl_Group</tt> and make all the currently
selected widgets children of it.
-<H4>Edit/Ungroup (F8)</H4>
+\par Edit/Ungroup (F8)
-<P>Deletes the parent group if all the children of a group are
+Deletes the parent group if all the children of a group are
selected.
-<H4>Edit/Overlays on/off (Ctrl+Shift+O)</H4>
+\par Edit/Overlays on/off (Ctrl+Shift+O)
-<P>Toggles the display of the red overlays off, without changing
+Toggles the display of the red overlays off, without changing
the selection. This makes it easier to see box borders and how
the layout looks. The overlays will be forced back on if you
change the selection.
-<H4>Edit/Project Settings... (Ctrl+p)</H4>
+\par Edit/Project Settings... (Ctrl+p)
-<P>Displays the project settings panel.
+Displays the project settings panel.
The output filenames control the extensions or names of the
files the are generated by FLUID. If you check the "Include .h
from .cxx" button the code file will include the header file
automatically.
-<P>The internationalization options are described <A
-HREF="#I18N">later in this chapter</A>.
+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 html fluid_prefs.gif "Figure 9-7: FLUID Preferences Window"
-<H4>Edit/GUI Settings... (Shift+Ctrl+p)</H4>
+\par Edit/GUI Settings... (Shift+Ctrl+p)
-<P>Displays the GUI settings panel. This panel is used
+Displays the GUI settings panel. This panel is used
to control the user interface settings.
-<H4>New/Code/Function</H4>
+\par New/Code/Function
-<P>Creates a new C function. You will be asked for a name for
+Creates a new C function. You will be asked for a name for
the function. This name should be a legal C++ function
template, without the return type. You can pass arguments which
can be referred to by code you type into the individual widgets.
-<P>If the function contains any unnamed windows, it will be
+If the function contains any unnamed windows, it will be
declared as returning a Fl_Window pointer. The unnamed window
will be returned from it (more than one unnamed window is
useless). If the function contains only named windows, it will
-be declared as returning nothing (<tt>void</tt>).</P>
+be declared as returning nothing (<tt>void</tt>).
-<P>It is possible to make the <TT>.cxx</TT> output be a
+It is possible to make the <tt>.cxx</tt> output be a
self-contained program that can be compiled and executed. This
is done by deleting the function name so
<tt>main(argc,argv)</tt> is used. The function will call
<tt>show()</tt> on all the windows it creates and then call
<tt>Fl::run()</tt>. This can also be used to test resize
-behavior or other parts of the user interface.</P>
+behavior or other parts of the user interface.
-<P>You can change the function name by double-clicking on the
-function.</P>
+You can change the function name by double-clicking on the
+function.
-<H4>New/Window</H4>
+\par New/Window
-<P>Creates a new <tt>Fl_Window</tt> widget. The window is added
+Creates a new <tt>Fl_Window</tt> widget. The window is added
to the currently selected function, or to the function
containing the currently selected item. The window will appear,
sized to 100x100. You can resize it to whatever size you
require.
-<P>The widget panel will also appear and is described later in
-this chapter.</P>
+The widget panel will also appear and is described later in
+this chapter.
-<H4>New/...</H4>
+\par New/...
-<P>All other items on the New menu are subclasses of
+All other items on the New menu are subclasses of
<tt>Fl_Widget</tt>. Creating them will add them to the
currently selected group or window, or the group or window
containing the currently selected widget. The initial
dimensions and position are chosen by copying the current
widget, if possible.
-<P>When you create the widget you will get the widget's control
-panel, which is described later in this chapter.</P>
+When you create the widget you will get the widget's control
+panel, which is described later in this chapter.
+\par Layout/Align/...
-<H4>Layout/Align/... </H4>
+Align all selected widgets to the first widget in the selection.
-<P>Align all selected widgets to the first widget in the selection.
+\par Layout/Space Evenly/...
-<H4>Layout/Space Evenly/... </H4>
-
-<P>Space all selected widgets evenly inside the selected space.
+Space all selected widgets evenly inside the selected space.
Widgets will be sorted from first to last.
-<H4>Layout/Make Same Size/... </H4>
+\par Layout/Make Same Size/...
-<P>Make all slected widgets the same size as the first selected widget.
+Make all slected widgets the same size as the first selected widget.
-<H4>Layout/Center in Group/... </H4>
+\par Layout/Center in Group/...
-<P>Center all selected widgets relative to their parent widget
+Center all selected widgets relative to their parent widget
-<H4>Layout/Grid... (Ctrl+g)</H4>
+\par Layout/Grid... (Ctrl+g)
-<P>Displays the grid settings panel.
+Displays the grid settings panel.
This panel
controls the grid that all widgets snap to when you move and
resize them, and for the "snap" which is how far a widget has to
be dragged from its original position to actually change.
+\par Shell/Execute Command... (Alt+x)
-<H4>Shell/Execute Command... (Alt+x)</H4>
-
-<P>Displays the shell command panel. The shell command
+Displays the shell command panel. The shell command
is commonly used to run a 'make' script to compile the FLTK output.
-<H4>Shell/Execute Again (Alt+g)</H4>
+\par Shell/Execute Again (Alt+g)
-<P>Run the shell command again.
+Run the shell command again.
-<H4>Help/About FLUID</H4>
+\par Help/About FLUID
-<P>Pops up a panel showing the version of FLUID.
+Pops up a panel showing the version of FLUID.
-<H4>Help/On FLUID</H4>
+\par Help/On FLUID
-<P>Shows this chapter of the manual.
+Shows this chapter of the manual.
-<H4>Help/Manual</H4>
+\par Help/Manual
-<P>Shows the contents page of the manual
+Shows the contents page of the manual
-<H3>The Widget Panel</H3>
+\subsection fluid_widget_panel The Widget Panel
-<P>When you double-click on a widget or a set of widgets you
+When you double-click on a widget or a set of widgets you
will get the "widget attribute panel".
-<P>When you change attributes using this panel, the changes are
+When you change attributes using this panel, the changes are
reflected immediately in the window. It is useful to hit the
"no overlay" button (or type Ctrl+Shift+O) to hide the
red overlay so you can see the widgets more accurately,
especially when setting the box type.
-<P>If you have several widgets selected, they may have different
+If you have several widgets selected, they may have different
values for the fields. In this case the value for <I>one</I> of
the widgets is shown. But if you change this value, <I>all</I>
of the selected widgets are changed to the new value.
-<P>Hitting "OK" makes the changes permanent.
+Hitting "OK" makes the changes permanent.
Selecting a different widget also makes the changes permanent.
FLUID checks for simple syntax errors such as mismatched
parenthesis in any code before saving any text.
-<P>"Revert" or "Cancel" put everything back
+"Revert" or "Cancel" put everything back
to when you last brought up the panel or hit OK. However in the
current version of FLUID, changes to "visible"
attributes (such as the color, label, box) are not undone by
@@ -823,74 +840,74 @@ undone, however.
<!-- NEW PAGE -->
- \image html fluid_widget_gui.gif "Figure 9-8: The FLUID widget GUI attributes"
+\image html fluid_widget_gui.gif "Figure 9-8: The FLUID widget GUI attributes"
\section fluid_widget_attributes GUI Attributes
-<H4>Label (text field)</H4>
+\par Label (text field)
-<P>String to print next to or inside the button. You can put
+String to print next to or inside the button. You can put
newlines into the string to make multiple lines. The easiest way
-is by typing Ctrl+j.</P>
+is by typing Ctrl+j.
-<P><A href="common.html#symbols">Symbols</A> can be added to the
-label using the at sign ("@").
+<A href="common.html#symbols">Symbols</A>
+can be added to the label using the at sign ("@").
-<H4>Label (pull down menu)</H4>
+\par Label (pull down menu)
-<P>How to draw the label. Normal, shadowed, engraved, and
+How to draw the label. Normal, shadowed, engraved, and
embossed change the appearance of the text.
-<H4>Image</H4>
+\par Image
-<P>The active image for the widget. Click on the
+The active image for the widget. Click on the
<B>Browse...</B> button to pick an image file using the file
chooser.
-<H4>Inactive</H4>
+\par Inactive
-<P>The inactive image for the widget. Click on the
+The inactive image for the widget. Click on the
<B>Browse...</B> button to pick an image file using the file
chooser.
-<H4>Alignment (buttons)</H4>
+\par Alignment (buttons)
-<P>Where to draw the label. The arrows put it on that side of
+Where to draw the label. The arrows put it on that side of
the widget, you can combine the to put it in the corner. The
"box" button puts the label inside the widget, rather
than outside.
-<P>The <B>clip</B> button clips the label to the widget box, the
+The <B>clip</B> button clips the label to the widget box, the
<B>wrap</B> button wraps any text in the label, and the <B>text
image</B> button puts the text over the image instead of under
the image.
-<H4>Position (text fields)</H4>
+\par Position (text fields)
-<P>The position fields show the current position and size of the
+The position fields show the current position and size of the
widget box. Enter new values to move and/or resize a widget.
-<H4>Values (text fields)</H4>
+\par Values (text fields)
-<P>The values and limits of the current widget. Depending on the
+The values and limits of the current widget. Depending on the
type of widget, some or all of these fields may be inactive.
-<H4>Shortcut</H4>
+\par Shortcut
-<P>The shortcut key to activate the widget. Click on the
+The shortcut key to activate the widget. Click on the
shortcut button and press any key sequence to set the shortcut.
-<H4>Attributes (buttons)</H4>
+\par Attributes (buttons)
-<P>The <B>Visible</B> button controls whether the widget is
+The <B>Visible</B> button controls whether the widget is
visible (on) or hidden (off) initially. Don't change this for
windows or for the immediate children of a Tabs group.
-<P>The <B>Active</B> button controls whether the widget is
+The <B>Active</B> button controls whether the widget is
activated (on) or deactivated (off) initially. Most widgets
appear greyed out when deactivated.
-<P>The <B>Resizable</B> button controls whether the window is
+The <B>Resizable</B> button controls whether the window is
resizeable. In addition all the size changes of a window or
group will go "into" the resizable child. If you have
a large data display surrounded by buttons, you probably want
@@ -898,9 +915,9 @@ that data area to be resizable. You can get more complex
behavior by making invisible boxes the resizable widget, or by
using hierarchies of groups. Unfortunately the only way to test
it is to compile the program. Resizing the FLUID window is
-<I>not</I> the same as what will happen in the user program.</P>
+<I>not</I> the same as what will happen in the user program.
-<P>The <B>Hotspot</B> button causes the parent window to be
+The <B>Hotspot</B> button causes the parent window to be
positioned with that widget centered on the mouse. This
position is determined <I>when the FLUID function is called</I>,
so you should call it immediately before showing the window. If
@@ -908,224 +925,224 @@ you want the window to hide and then reappear at a new position,
you should have your program set the hotspot itself just before
<tt>show()</tt>.
-<P>The <B>Border</B> button turns the window manager border on
+The <B>Border</B> button turns the window manager border on
or off. On most window managers you will have to close the
window and reopen it to see the effect.
-<H4>X Class (text field)</H4>
+\par X Class (text field)
-<P>The string typed into here is passed to the X window manager
+The string typed into here is passed to the X window manager
as the class. This can change the icon or window decorations.
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 html fluid_widget_style.gif "Figure 9-9: The FLUID widget Style attributes"
-<H3>Style Attributes</H3>
+\subsection fluid_style_attributes Style Attributes
-<H4>Label Font (pulldown menu)</H4>
+\par Label Font (pulldown menu)
-<P>Font to draw the label in. Ignored by symbols, bitmaps, and
+Font to draw the label in. Ignored by symbols, bitmaps, and
pixmaps. Your program can change the actual font used by these
"slots" in case you want some font other than the 16
provided.
-<H4>Label Size (pulldown menu)</H4>
+\par Label Size (pulldown menu)
-<P>Pixel size (height) for the font to draw the label in.
+Pixel size (height) for the font to draw the label in.
Ignored by symbols, bitmaps, and pixmaps. To see the result
without dismissing the panel, type the new number and then Tab.
-<H4>Label Color (button)</H4>
+\par Label Color (button)
-<P>Color to draw the label. Ignored by pixmaps (bitmaps,
+Color to draw the label. Ignored by pixmaps (bitmaps,
however, do use this color as the foreground color).
-<H4>Box (pulldown menu)</H4>
+\par Box (pulldown menu)
-<P>The boxtype to draw as a background for the widget.
+The boxtype to draw as a background for the widget.
-<P>Many widgets will work, and draw faster, with a
+Many widgets will work, and draw faster, with a
"frame" instead of a "box". A frame does
not draw the colored interior, leaving whatever was already
there visible. Be careful, as FLUID may draw this ok but the
-real program may leave unwanted stuff inside the widget.</P>
+real program may leave unwanted stuff inside the widget.
-<P>If a window is filled with child widgets, you can speed up
+If a window is filled with child widgets, you can speed up
redrawing by changing the window's box type to
"NO_BOX". FLUID will display a checkerboard for any
areas that are not colored in by boxes. Note that this
checkerboard is not drawn by the resulting program. Instead
-random garbage will be displayed.</P>
+random garbage will be displayed.
-<H4>Down Box (pulldown menu)</H4>
+\par Down Box (pulldown menu)
-<P>The boxtype to draw when a button is pressed or for some
+The boxtype to draw when a button is pressed or for some
parts of other widgets like scrollbars and valuators.
-<H4>Color (button)</H4>
+\par Color (button)
-<P>The color to draw the box with.</P>
+The color to draw the box with.
-<H4>Select Color (button)</H4>
+\par Select Color (button)
-<P>Some widgets will use this color for certain parts. FLUID
+Some widgets will use this color for certain parts. FLUID
does not always show the result of this: this is the color
buttons draw in when pushed down, and the color of input fields
-when they have the focus.</P>
+when they have the focus.
-<H4>Text Font, Size, and Color</H4>
+\par Text Font, Size, and Color
-<P>Some widgets display text, such as input fields, pull-down
+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 html fluid_widget_cxx.gif "Figure 9-10: The FLUID widget C++ attributes"
-<H3>C++ Attributes</H3>
+\subsection fluid_cpp_attributes C++ Attributes
-<H4>Class</H4>
+\par Class
-<P>This is how you use your own subclasses of
+This is how you use your own subclasses of
<tt>Fl_Widget</tt>. Whatever identifier you type in here will
be the class that is instantiated.
-<P>In addition, no <tt>\#include</tt> header file is put in the
-<TT>.h</TT> file. You must provide a <tt>\#include</tt> line as
+In addition, no <tt>\#include</tt> header file is put in the
+<tt>.h</tt> file. You must provide a <tt>\#include</tt> line as
the first line of the "Extra Code" which declares your
-subclass.</P>
+subclass.
-<P>The class must be similar to the class you are spoofing. It
+The class must be similar to the class you are spoofing. It
does not have to be a subclass. It is sometimes useful to
change this to another FLTK class. Currently the only way to get
a double-buffered window is to change this field for the window
to "Fl_Double_Window" and to add
\code "#include <FL/Fl_Double_Window.h> \endcode
-to the extra code.</P>
+to the extra code.
-<H4>Type (upper-right pulldown menu)</H4>
+\par Type (upper-right pulldown menu)
-<P>Some classes have subtypes that modify their appearance or behavior.
+Some classes have subtypes that modify their appearance or behavior.
You pick the subtype off of this menu.
-<H4>Name (text field)</H4>
+\par Name (text field)
-<P>Name of a variable to declare, and to store a pointer to this
+Name of a variable to declare, and to store a pointer to this
widget into. This variable will be of type "<class>*". If the name is
blank then no variable is created.
-<P>You can name several widgets with "name[0]", "name[1]", "name[2]",
+You can name several widgets with "name[0]", "name[1]", "name[2]",
etc. This will cause FLUID to declare an array of pointers. The array
is big enough that the highest number found can be stored. All widgets
-that in the array must be the same type.</P>
+that in the array must be the same type.
-<H4>Public (button)</H4>
+\par Public (button)
-<P>Controls whether the widget is publicly accessible. When
+Controls whether the widget is publicly accessible. When
embedding widgets in a C++ class, this controls whether the
-widget is <TT>public</TT> or <TT>private</TT> in the class.
+widget is <tt>public</tt> or <tt>private</tt> in the class.
Otherwise is controls whether the widget is declared
-<TT>static</TT> or global (<TT>extern</TT>).
+<tt>static</tt> or global (<tt>extern</tt>).
-<H4>Extra Code (text fields)</H4>
+\par Extra Code (text fields)
-<P>These four fields let you type in literal lines of code to
-dump into the <TT>.h</TT> or <TT>.cxx</TT> files.
+These four fields let you type in literal lines of code to
+dump into the <tt>.h</tt> or <tt>.cxx</tt> files.
-<P>If the text starts with a <tt>\#</tt> or the word
+If the text starts with a <tt>\#</tt> or the word
<tt>extern</tt> then FLUID thinks this is an "include"
-line, and it is written to the <TT>.h</TT> file. If the same
+line, and it is written to the <tt>.h</tt> file. If the same
include line occurs several times then only one copy is
-written.</P>
+written.
-<P>All other lines are "code" lines. The current
+All other lines are "code" lines. The current
widget is pointed to by the local variable <tt>o</tt>. The
window being constructed is pointed to by the local variable
<tt>w</tt>. You can also access any arguments passed to the
function here, and any named widgets that are before this
-one.</P>
+one.
-<P>FLUID will check for matching parenthesis, braces, and
+FLUID will check for matching parenthesis, braces, and
quotes, but does not do much other error checking. Be careful
here, as it may be hard to figure out what widget is producing
an error in the compiler. If you need more than four lines you
-probably should call a function in your own <TT>.cxx</TT>
-code.</P>
+probably should call a function in your own <tt>.cxx</tt>
+code.
-<H4>Callback (text field)</H4>
+\par Callback (text field)
-<P>This can either be the name of a function, or a small snippet
+This can either be the name of a function, or a small snippet
of code. If you enter anything but letters, numbers, and the
underscore then FLUID treats it as code.
-<P>A name names a function in your own code. It must be
-declared as <tt>void name(<class>*,void*)</tt>.</P>
+A name names a function in your own code. It must be
+declared as <tt>void name(<class>*,void*)</tt>.
-<P>A code snippet is inserted into a static function in the
-<TT>.cxx</TT> output file. The function prototype is <tt>void
+A code snippet is inserted into a static function in the
+<tt>.cxx</tt> output file. The function prototype is <tt>void
name(class *o, void *v)</tt> so that you can refer to the
widget as <tt>o</tt> and the <tt>user_data()</tt> as
<tt>v</tt>. FLUID will check for matching parenthesis, braces,
and quotes, but does not do much other error checking. Be
careful here, as it may be hard to figure out what widget is
-producing an error in the compiler.</P>
+producing an error in the compiler.
-<P>If the callback is blank then no callback is set.</P>
+If the callback is blank then no callback is set.
-<H4>User Data (text field)</H4>
+\par User Data (text field)
-<P>This is a value for the <tt>user_data()</tt> of the widget.
+This is a value for the <tt>user_data()</tt> of the widget.
If blank the default value of zero is used. This can be any
piece of C code that can be cast to a <tt>void</tt> pointer.
-<H4>Type (text field)</H4>
+\par Type (text field)
-<P>The <tt>void *</tt> in the callback function prototypes is
+The <tt>void *</tt> in the callback function prototypes is
replaced with this. You may want to use <tt>long</tt> for old
XForms code. Be warned that anything other than <tt>void *</tt>
is not guaranteed to work! However on most architectures other
pointer types are ok, and <tt>long</tt> is usually ok, too.
-<H4>When (pulldown menu)</H4>
+\par When (pulldown menu)
-<P>When to do the callback. This can be <B>Never</B>,
+When to do the callback. This can be <B>Never</B>,
<B>Changed</B>, <B>Release</B>, or <B>Enter Key</B>. The value of
<B>Enter Key</B> is only useful for text input fields.
-<P>There are other rare but useful values for the
+There are other rare but useful values for the
<tt>when()</tt> field that are not in the menu. You should use
-the extra code fields to put these values in.</P>
+the extra code fields to put these values in.
-<H4>No Change (button)</H4>
+\par No Change (button)
-<P>The <B>No Change</B> button means the callback is done on the
+The <B>No Change</B> button means the callback is done on the
matching event even if the data is not changed.
\section fluid_selecting_moving Selecting and Moving Widgets
-<P>Double-clicking a window name in the browser will display it,
+Double-clicking a window name in the browser will display it,
if not displayed yet. From this display you can select widgets,
sets of widgets, and move or resize them. To close a window
either double-click it or type <KBD>ESC</KBD>.
-<P>To select a widget, click it. To select several widgets drag
+To select a widget, click it. To select several widgets drag
a rectangle around them. Holding down shift will toggle the
-selection of the widgets instead.</P>
+selection of the widgets instead.
-<P>You cannot pick hidden widgets. You also cannot choose some
+You cannot pick hidden widgets. You also cannot choose some
widgets if they are completely overlapped by later widgets. Use
-the browser to select these widgets.</P>
+the browser to select these widgets.
-<P>The selected widgets are shown with a red "overlay"
+The selected widgets are shown with a red "overlay"
line around them. You can move the widgets by dragging this
box. Or you can resize them by dragging the outer edges and
corners. Hold down the Alt key while dragging the mouse to
-defeat the snap-to-grid effect for fine positioning.</P>
+defeat the snap-to-grid effect for fine positioning.
-<P>If there is a tab box displayed you can change which child is
+If there is a tab box displayed you can change which child is
visible by clicking on the file tabs. The child you pick is
-selected.</P>
+selected.
-<P>The arrow, tab, and shift+tab keys "navigate" the
+The arrow, tab, and shift+tab keys "navigate" the
selection. Left, right, tab, or shift+tab move to the next or
previous widgets in the hierarchy. Hit the right arrow enough
and you will select every widget in the window. Up/down widgets
@@ -1133,166 +1150,167 @@ move to the previous/next widgets that overlap horizontally. If
the navigation does not seem to work you probably need to
"Sort" the widgets. This is important if you have
input fields, as FLTK uses the same rules when using arrow keys
-to move between input fields.</P>
+to move between input fields.
-<P>To "open" a widget, double click it. To open
+To "open" a widget, double click it. To open
several widgets select them and then type F1 or pick
-"Edit/Open" off the pop-up menu.</P>
+"Edit/Open" off the pop-up menu.
-<P>Type Ctrl+o to temporarily toggle the overlay off without
-changing the selection, so you can see the widget borders.</P>
+Type Ctrl+o to temporarily toggle the overlay off without
+changing the selection, so you can see the widget borders.
-<P>You can resize the window by using the window manager border
+You can resize the window by using the window manager border
controls. FLTK will attempt to round the window size to the
nearest multiple of the grid size and makes it big enough to
contain all the widgets (it does this using illegal X methods,
so it is possible it will barf with some window managers!).
Notice that the actual window in your program may not be
resizable, and if it is, the effect on child widgets may be
-different.</P>
+different.
-<P>The panel for the window (which you get by double-clicking
+The panel for the window (which you get by double-clicking
it) is almost identical to the panel for any other Fl_Widget.
-There are three extra items:</P>
+There are three extra items:
\section fluid_images Image Labels
-<P>The <I>contents</I> of the image files in the <B>Image</B>
-and <B>Inactive</B> text fields are written to the <TT>.cxx</TT>
+The <I>contents</I> of the image files in the <B>Image</B>
+and <B>Inactive</B> text fields are written to the <tt>.cxx</tt>
file. If many widgets share the same image then only one copy is
written. Since the image data is embedded in the generated
source code, you need only distribute the C++ code and not the
-image files themselves.</P>
+image files themselves.
-<P>However, the <I>filenames</I> are stored in the <TT>.fl</TT>
+However, the <I>filenames</I> are stored in the <tt>.fl</tt>
file so you will need the image files as well to read the
-<TT>.fl</TT> file. Filenames are relative to the location of the
-<TT>.fl</TT> file and not necessarily the current directory. We
+<tt>.fl</tt> file. Filenames are relative to the location of the
+<tt>.fl</tt> file and not necessarily the current directory. We
recommend you either put the images in the same directory as the
-<TT>.fl</TT> file, or use absolute path names.</P>
+<tt>.fl</tt> file, or use absolute path names.
-<H4>Notes for All Image Types</H4>
+\par Notes for All Image Types
-<P>FLUID runs using the default visual of your X server. This
+FLUID runs using the default visual of your X server. This
may be 8 bits, which will give you dithered images. You may get
better results in your actual program by adding the code
"Fl::visual(FL_RGB)" to your code right before the
first window is displayed.
-<P>All widgets with the same image on them share the same code
+All widgets with the same image on them share the same code
and source X pixmap. Thus once you have put an image on a
widget, it is nearly free to put the same image on many other
-widgets.</P>
+widgets.
-<P>If you edit an image at the same time you are using it in FLUID,
+If you edit an image at the same time you are using it in FLUID,
the only way to convince FLUID to read the image file again is to
remove the image from all widgets that are using it or re-load the
-<TT>.fl</TT> file.</P>
+<tt>.fl</tt> file.
-<P>Don't rely on how FLTK crops images that are outside the
+Don't rely on how FLTK crops images that are outside the
widget, as this may change in future versions! The cropping of
-inside labels will probably be unchanged.</P>
+inside labels will probably be unchanged.
-<P>To more accurately place images, make a new "box"
-widget and put the image in that as the label.</P>
+To more accurately place images, make a new "box"
+widget and put the image in that as the label.
-<H4>XBM (X Bitmap) Files</H4>
+\par XBM (X Bitmap) Files
-<P>FLUID reads X bitmap files which use C source code to define
+FLUID reads X bitmap files which use C source code to define
a bitmap. Sometimes they are stored with the ".h" or
".bm" extension rather than the standard
".xbm" extension.
-<P>FLUID writes code to construct an Fl_Bitmap image and use it
+FLUID writes code to construct an Fl_Bitmap image and use it
to label the widget. The '1' bits in the bitmap are drawn using
the label color of the widget. You can change this color in the
-FLUID widget attributes panel. The '0' bits are transparent.</P>
+FLUID widget attributes panel. The '0' bits are transparent.
-<P>The program "bitmap" on the X distribution does an
-adequate job of editing bitmaps.</P>
+The program "bitmap" on the X distribution does an
+adequate job of editing bitmaps.
-<H4>XPM (X Pixmap) Files</H4>
+\par XPM (X Pixmap) Files
-<P>FLUID reads X pixmap files as used by the <TT>libxpm</TT>
+FLUID reads X pixmap files as used by the <tt>libxpm</tt>
library. These files use C source code to define a pixmap. The
filenames usually have the ".xpm" extension.
-<P>FLUID writes code to construct an Fl_Pixmap image and use it
+FLUID writes code to construct an Fl_Pixmap image and use it
to label the widget. The label color of the widget is ignored,
even for 2-color images that could be a bitmap. XPM files can
mark a single color as being transparent, and FLTK uses this
-information to generate a transparency mask for the image.</P>
+information to generate a transparency mask for the image.
-<P>We have not found any good editors for small iconic pictures.
-For pixmaps we have used <A
-href="http://home.worldonline.dk/~torsten/xpaint/index.html">XPaint</A>
-and the KDE icon editor.</P>
+We have not found any good editors for small iconic pictures.
+For pixmaps we have used
+<A href="http://home.worldonline.dk/~torsten/xpaint/index.html">XPaint</A>
+and the KDE icon editor.
-<H4>BMP Files</H4>
+\par BMP Files
-<P>FLUID reads Windows BMP image files which are often used in
+FLUID reads Windows BMP image files which are often used in
WIN32 applications for icons. FLUID converts BMP files into
(modified) XPM format and uses a Fl_BMP_Image image to label the
widget. Transparency is handled the same as for XPM files. All
image data is uncompressed when written to the source file, so
-the code may be much bigger than the <TT>.bmp</TT> file.</P>
+the code may be much bigger than the <tt>.bmp</tt> file.
-<H4>GIF Files</H4>
+\par GIF Files
-<P>FLUID reads GIF image files which are often used in HTML
+FLUID reads GIF image files which are often used in HTML
documents to make icons. FLUID converts GIF files into
(modified) XPM format and uses a Fl_GIF_Image image to label the
widget. Transparency is handled the same as for XPM files. All
image data is uncompressed when written to the source file, so
-the code may be much bigger than the <TT>.gif</TT> file. Only
-the first image of an animated GIF file is used.</P>
+the code may be much bigger than the <tt>.gif</tt> file. Only
+the first image of an animated GIF file is used.
-<H4>JPEG Files</H4>
+\par JPEG Files
-<P>If FLTK is compiled with JPEG support, FLUID can read JPEG
+If FLTK is compiled with JPEG support, FLUID can read JPEG
image files which are often used for digital photos. FLUID uses
a Fl_JPEG_Image image to label the widget, and writes
uncompressed RGB or grayscale data to the source file.
-<H4>PNG (Portable Network Graphics) Files</H4>
+\par PNG (Portable Network Graphics) Files
-<P>If FLTK is compiled with PNG support, FLUID can read PNG
+If FLTK is compiled with PNG support, FLUID can read PNG
image files which are often used in HTML documents. FLUID uses a
Fl_PNG_Image image to label the widget, and writes uncompressed
RGB or grayscale data to the source file. PNG images can provide
a full alpha channel for partial transparency, and FLTK supports
this as best as possible on each platform.
-<H2><A NAME="I18N">Internationalization with FLUID</A></H2>
+<A NAME="I18N"> </A> <!-- For old HTML links only ! -->
+\section fluid_i18n Internationalization with FLUID
-<P>FLUID supports internationalization (I18N for short) of label
+FLUID supports internationalization (I18N for short) of label
strings used by widgets. The preferences window
-(<TT>Ctrl+p</TT>) provides access to the I18N options.
+(<tt>Ctrl+p</tt>) provides access to the I18N options.
-<H3>I18N Methods</H3>
+\subsection fluid_i18n_methods I18N Methods
-<P>FLUID supports three methods of I18N: use none, use GNU
+FLUID supports three methods of I18N: use none, use GNU
gettext, and use POSIX catgets. The "use none" method is the
default and just passes the label strings as-is to the widget
constructors.
-<P>The "GNU gettext" method uses GNU gettext (or a similar
+The "GNU gettext" method uses GNU gettext (or a similar
text-based I18N library) to retrieve a localized string before
calling the widget constructor.
-<P>The "POSIX catgets" method uses the POSIX catgets function to
+The "POSIX catgets" method uses the POSIX catgets function to
retrieve a numbered message from a message catalog before
calling the widget constructor.
-<H3>Using GNU gettext for I18N</H3>
+\subsection fluid_gettext_i18n Using GNU gettext for I18N
-<P>FLUID's code support for GNU gettext is limited to calling a
+FLUID's code support for GNU gettext is limited to calling a
function or macro to retrieve the localized label; you still
-need to call <TT>setlocale()</TT> and <TT>textdomain()</TT> or
-<TT>bindtextdomain()</TT> to select the appropriate language and
+need to call <tt>setlocale()</tt> and <tt>textdomain()</tt> or
+<tt>bindtextdomain()</tt> to select the appropriate language and
message file.
-<P>To use GNU gettext for I18N, open the preferences window and
+To use GNU gettext for I18N, open the preferences window and
choose "GNU gettext" from the "Use" chooser. Two new input
fields will then appear to control the include file and
function/macro name to use when retrieving the localized label
@@ -1300,22 +1318,22 @@ strings.
\image html fluid-gettext.gif "Figure 9-11: Internationalization using GNU gettext"
-<P>The "\#include" field controls the header file to include for
+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.
-<P>The "Function" field controls the function (or macro) that
+The "Function" field controls the function (or macro) that
will retrieve the localized message; by default the
-<TT>gettext</TT> function will be called.
+<tt>gettext</tt> function will be called.
-<H3>Using POSIX catgets for I18N</H3>
+\subsection fluid_catgets_i18n Using POSIX catgets for I18N
-<P>FLUID's code support for POSIX catgets allows you to use a
+FLUID's code support for POSIX catgets allows you to use a
global message file for all interfaces or a file specific to
-each <TT>.fl</TT> file; you still need to call
-<TT>setlocale()</TT> to select the appropriate language.
+each <tt>.fl</tt> file; you still need to call
+<tt>setlocale()</tt> to select the appropriate language.
-<P>To use POSIX catgets for I18N, open the preferences window
+To use POSIX catgets for I18N, open the preferences window
and choose "POSIX catgets" from the "Use" chooser. Three new
input fields will then appear to control the include file,
catalog file, and set number for retrieving the localized label
@@ -1323,20 +1341,21 @@ strings.
\image html fluid-catgets.gif "Figure 9-12: Internationalization using POSIX catgets"
-<P>The "\#include" field controls the header file to include for
+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.
-<P>The "File" field controls the name of the catalog file
+The "File" field controls the name of the catalog file
variable to use when retrieving localized messages; by default
the file field is empty which forces a local (static) catalog
file to be used for all of the windows defined in your
-<TT>.fl</TT> file.
+<tt>.fl</tt> file.
-<P>The "Set" field controls the set number in the catalog file.
+The "Set" field controls the set number in the catalog file.
The default set is 1 and rarely needs to be changed.
-<H2><A NAME="limitations">Known limitations</A></H2>
+<A NAME="limitations"> </A> <!-- For old HTML links only ! -->
+\section fluid_limitations Known limitations
Declaration Blocks can be used to temporarily block out already
designed code using <tt>\#if 0</tt> and <tt>\#endif</tt>
diff --git a/documentation/unicode.dox b/documentation/unicode.dox
index 381dfdae2..03937464c 100644
--- a/documentation/unicode.dox
+++ b/documentation/unicode.dox
@@ -2,14 +2,14 @@
\page unicode 11 - Unicode and utf-8 Support
-<P>This chapter explains how FLTK handles international
-text via Unicode and utf-8.</P>
+This chapter explains how FLTK handles international
+text via Unicode and utf-8.
-<P>Unicode support was only recently added to FLTK and is
+Unicode support was only recently added to FLTK and is
still incomplete. This chapter is Work in Progress, reflecting
-the current state of Unicode support.</P>
+the current state of Unicode support.
-<H2>About Unicode and utf-8</H2>
+\section unicode_about About Unicode and utf-8
The Unicode Standard is a worldwide accepted charatcer encoding
standard. Unicode provides access to over 100,000 characters
@@ -26,62 +26,53 @@ over the world. By choosing utf-8 encoding, FLTK remains
largely source-code compatible to previous iteration of the
library.
-<H2>Unicode in FLTK</H2>
+\section unicode_in_fltk Unicode in FLTK
FLTK will be entirely converted to Unicode in utf-8 encoding.
If a different encoding is required by the underlying operatings
system, FLTK will convert string as needed.
-TODO:
-
-<UL>
-<LI> more doc on unicode, add links
-<LI> write something about filename encoding on OS X...
-<LI> explain the fl_utf8_... commands
-<LI> explain issues with Fl_Preferences
-<LI> why FLTK has no Fl_String class
-</UL>
-
-DONE:
-
-<UL>
-<LI> initial transfer of the Ian/O'ksi'D patch
-<LI> adapted Makefiles and IDEs for available platforms
-<LI> hacked some Unicode keybard entry for OS X
-</UL>
-
-ISSUES:
-
-<UL>
-<LI> IDEs:
- <UL>
- <LI> Makefile support: tested on Fedora Core 5 and OS X, but heaven knows
- on which platforms this may fail
- <LI> Xcode: tested, seems to be working (but see comments below on OS X)
- <LI> VisualC (VC6): tested, test/utf8 works, but may have had some issues
- during merge. Some additional work needed (imm32.lib)
- <LI> VisualStudio2005: tested, test/utf8 works, some addtl. work needed
+\par TODO:
+
+\li more doc on unicode, add links
+\li write something about filename encoding on OS X...
+\li explain the fl_utf8_... commands
+\li explain issues with Fl_Preferences
+\li why FLTK has no Fl_String class
+
+\par DONE:
+
+\li initial transfer of the Ian/O'ksi'D patch
+\li adapted Makefiles and IDEs for available platforms
+\li hacked some Unicode keybard entry for OS X
+
+\par ISSUES:
+
+\li IDEs:
+ - Makefile support: tested on Fedora Core 5 and OS X, but heaven knows
+ on which platforms this may fail
+ - Xcode: tested, seems to be working (but see comments below on OS X)
+ - VisualC (VC6): tested, test/utf8 works, but may have had some issues
+ during merge. Some additional work needed (imm32.lib)
+ - VisualStudio2005: tested, test/utf8 works, some addtl. work needed
(imm32.lib)
- <LI> VisualCNet: sorry, I have no longer access to that IDE
- <LI> Borland and other compiler: sorry, I can't update those
- </UL>
-<LI> Platforms:
- <UL>
- <LI> you will encounter problems on all platforms!
- <LI> X11: many characters are missing, but that may be related to bad
- fonts on my machine. I also could not do any keyboard tests yet.
- Rendering seems to generally work ok.
- <LI> Win32: US and German keyboard worked ok, but no compositing was
- tested. Rendering looks pretty good.
- <LI> OS X: redering looks good. Keyboard is completely messed up, even in
- US setting (with Alt key)
- <LI> all: while merging I have seen plenty of places that are not
- entirley utf8-safe, particularly Fl_Input, Fl_Text_Editor, and
- Fl_Help_View. Keycodes from the keyboard conflict with Unicode
- characters. Right-to-left rendered text can not be marked or edited,
- and probably much more.
- </UL>
-</UL>
+ - VisualCNet: sorry, I have no longer access to that IDE
+ - Borland and other compiler: sorry, I can't update those
+
+\li Platforms:
+ - you will encounter problems on all platforms!
+ - X11: many characters are missing, but that may be related to bad
+ fonts on my machine. I also could not do any keyboard tests yet.
+ Rendering seems to generally work ok.
+ - Win32: US and German keyboard worked ok, but no compositing was
+ tested. Rendering looks pretty good.
+ - OS X: redering looks good. Keyboard is completely messed up, even in
+ US setting (with Alt key)
+ - all: while merging I have seen plenty of places that are not
+ entirley utf8-safe, particularly Fl_Input, Fl_Text_Editor, and
+ Fl_Help_View. Keycodes from the keyboard conflict with Unicode
+ characters. Right-to-left rendered text can not be marked or edited,
+ and probably much more.
<hr>
<a class="el" href="index.html">[Index]</a> &nbsp;&nbsp;