From 9e2d044caa7d71c25529c51a57f28f57c5660231 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Wed, 8 Dec 2010 23:53:04 +0000 Subject: As per thread on fltk.development: "RFC: Docs - getting rid of .eps files" Summary: Get rid of eps files, change all doxygen '\image latex' references to eps files to png/jpeg instead, convert doxygen images from gif -> png (to support html+latex). Actual operations: 1) svn remove *.eps 2) convert all gifs -> png 3) svn remove *.gif 4) svn add *.png 5) For jpeg/png images, change all \image latex foo.eps .. -> \image latex foo.[jpg,png] .. 6) For gif images, change all \image html foo.gif .. -> \image html foo.png and (harder to do): change \image latex foo.eps .. -> \image latex foo.png .. 7) Remove EPSFILES macro from documentation/Makefile and remove eps related dependencies that were added recently git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/src/fluid.dox | 48 ++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'documentation/src/fluid.dox') 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 .h file or they can \p \#include the .cxx 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 New->Code->Code. 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. -\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 -- cgit v1.2.3