diff options
Diffstat (limited to 'documentation/src/fluid.dox')
| -rw-r--r-- | documentation/src/fluid.dox | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/documentation/src/fluid.dox b/documentation/src/fluid.dox index 044ba14fe..d5ad3edca 100644 --- a/documentation/src/fluid.dox +++ b/documentation/src/fluid.dox @@ -46,8 +46,8 @@ the <tt>.h</tt> file or they can \p \#include 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" - \image latex fluid-org.eps "FLUID organization" width=12cm + \image html fluid-org.png "Figure 9-1: FLUID organization" + \image latex fluid-org.png "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 @@ -154,8 +154,8 @@ 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 latex cubeview.eps "CubeView demo" width=10cm +\image html cubeview.png "Figure 9-2: CubeView demo" +\image latex cubeview.png "CubeView demo" width=10cm The window is of class CubeViewUI, and is completely generated by FLUID, including @@ -383,8 +383,8 @@ 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 latex fluid1.eps "FLUID file for CubeView" width=10cm +\image html fluid1.png "Figure 9-3: FLUID file for CubeView" +\image latex fluid1.png "FLUID file for CubeView" width=10cm \par Adding the Class Constructor @@ -411,8 +411,8 @@ 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 +\image html fluid2.png "Figure 9-4: FLUID window containing CubeView demo" +\image latex fluid2.png "FLUID window containing CubeView demo" width=10cm We will talk about the \p show() method that is highlighted shortly. @@ -439,8 +439,8 @@ This \p \#include 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 latex fluid3-cxx.eps "CubeView methods" width=10cm +\image html fluid3-cxx.png "Figure 9-5: CubeView methods" +\image latex fluid3-cxx.png "CubeView methods" width=10cm \par Defining the Callbacks @@ -476,8 +476,8 @@ Make sure the top level CubeViewUI is selected and select not be adding any widgets to this method FLUID will assign it a return type of \p void. -\image html fluid4.gif "Figure 9-6: CubeView constructor" -\image latex fluid4.eps "CubeView constructor" width=10cm +\image html fluid4.png "Figure 9-6: CubeView constructor" +\image latex fluid4.png "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. @@ -739,8 +739,8 @@ automatically. The \ref fluid_i18n "internationalization" options are described later in this chapter. -\image html fluid_prefs.gif "Figure 9-7: FLUID Preferences Window" -\image latex fluid_prefs.eps "FLUID Preferences Window" width=10cm +\image html fluid_prefs.png "Figure 9-7: FLUID Preferences Window" +\image latex fluid_prefs.png "FLUID Preferences Window" width=10cm \par Edit/GUI Settings... (Shift+Ctrl+p) @@ -889,8 +889,8 @@ 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 +\image html fluid_widget_gui.png "Figure 9-8: The FLUID widget GUI attributes" +\image latex fluid_widget_gui.png "The FLUID widget GUI attributes" width=10cm \section fluid_widget_attributes GUI Attributes @@ -1002,8 +1002,8 @@ 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 latex fluid_widget_style.eps "The FLUID widget Style attributes" width=10cm +\image html fluid_widget_style.png "Figure 9-9: The FLUID widget Style attributes" +\image latex fluid_widget_style.png "The FLUID widget Style attributes" width=10cm \subsection fluid_style_attributes Style Attributes @@ -1073,8 +1073,8 @@ when they have the focus. 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 +\image html fluid_widget_cxx.png "Figure 9-10: The FLUID widget C++ attributes" +\image latex fluid_widget_cxx.png "The FLUID widget C++ attributes" width=10cm \subsection fluid_cpp_attributes C++ Attributes @@ -1428,8 +1428,8 @@ fields will then appear to control the include file and 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 + \image html fluid-gettext.png "Figure 9-11: Internationalization using GNU gettext" + \image latex fluid-gettext.png "Internationalization using GNU gettext" width=10cm The \b \#include field controls the header file to include for @@ -1453,8 +1453,8 @@ input fields will then appear to control the include file, 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 + \image html fluid-catgets.png "Figure 9-12: Internationalization using POSIX catgets" + \image latex fluid-catgets.png "Internationalization using POSIX catgets" width=10cm The \b \#include field controls the header file to include for |
