2018-12-10 18:50:56 +03:00
|
|
|
README.txt (documentation)
|
|
|
|
---------------------------
|
2023-10-03 10:19:36 +03:00
|
|
|
Documentation is available in HTML and PDF format built using 'doxygen'
|
|
|
|
since FLTK 1.3. The documentation must be generated in a separate step
|
|
|
|
or downloaded from FLTK's software download pages. The documentation can
|
|
|
|
also be accessed online.
|
1999-01-13 19:25:17 +03:00
|
|
|
|
2018-12-10 18:50:56 +03:00
|
|
|
To read the docs after downloading or generating them, open the files:
|
2008-10-15 19:58:04 +04:00
|
|
|
|
2011-01-11 16:06:15 +03:00
|
|
|
documentation/html/index.html
|
|
|
|
documentation/fltk.pdf
|
2008-10-15 19:58:04 +04:00
|
|
|
|
2011-01-11 16:06:15 +03:00
|
|
|
with your browser or PDF viewer, respectively.
|
|
|
|
|
|
|
|
|
2023-10-03 10:19:36 +03:00
|
|
|
Online Documentation (Latest Release):
|
|
|
|
--------------------------------------
|
2011-01-11 16:06:15 +03:00
|
|
|
A documentation version is available online at the FLTK web site,
|
2010-12-05 18:49:48 +03:00
|
|
|
along with the PDF version of the manual. The docs on the web site
|
2023-10-03 10:19:36 +03:00
|
|
|
are usually somewhat older (latest release). The active development
|
|
|
|
version (currently 1.4.0) is updated from time to time.
|
|
|
|
|
|
|
|
Use this URL to find the current online documentation:
|
2011-01-11 16:06:15 +03:00
|
|
|
|
2018-12-10 18:50:56 +03:00
|
|
|
https://www.fltk.org/documentation.php
|
2011-01-11 16:06:15 +03:00
|
|
|
|
2015-06-17 15:25:36 +03:00
|
|
|
|
2023-10-03 10:19:36 +03:00
|
|
|
Online Documentation (Daily CI Build):
|
|
|
|
--------------------------------------
|
|
|
|
The documentation of the development branch 'master' is generated
|
|
|
|
daily in the CI (Continuous Integration) build on our GitLab mirror.
|
|
|
|
This is experimental and may be discontinued at any time.
|
|
|
|
|
|
|
|
Documentation can be found at these URL's:
|
|
|
|
|
|
|
|
HTML: https://fltk.gitlab.io/fltk/
|
|
|
|
PDF: https://fltk.gitlab.io/fltk/fltk.pdf
|
|
|
|
|
|
|
|
|
2011-01-11 16:06:15 +03:00
|
|
|
Documentation Download:
|
|
|
|
-----------------------
|
|
|
|
To download pre-generated docs, go to
|
|
|
|
|
2018-12-10 18:50:56 +03:00
|
|
|
https://www.fltk.org/software.php
|
2011-01-11 16:06:15 +03:00
|
|
|
|
|
|
|
and look for the files
|
|
|
|
|
|
|
|
fltk-<version>-docs-html.tar.gz
|
|
|
|
fltk-<version>-docs-pdf.tar.gz
|
2008-10-15 19:58:04 +04:00
|
|
|
|
2011-01-11 16:06:15 +03:00
|
|
|
Extract the documentation tarballs into the same directory as you
|
|
|
|
did with the source tarball.
|
1999-01-13 19:25:17 +03:00
|
|
|
|
|
|
|
|
2023-10-03 10:19:36 +03:00
|
|
|
Generation of Documentation (Common Part):
|
2015-06-17 15:25:36 +03:00
|
|
|
------------------------------------------
|
2023-10-03 10:19:36 +03:00
|
|
|
To generate the documentation yourself you should have Doxygen
|
|
|
|
version 1.8 or later. Recommended version as of this writing
|
|
|
|
(October 2023) is 1.9.8 or later.
|
2018-12-10 18:50:56 +03:00
|
|
|
Older Doxygen versions than 1.8 may or may not work.
|
1999-01-13 19:25:17 +03:00
|
|
|
|
2023-10-03 10:19:36 +03:00
|
|
|
Full documentation generation is supported only on Unix/Linux
|
|
|
|
platforms that provide a POSIX compatible shell (e.g. 'bash') and
|
|
|
|
some standard Unix tools. Doxygen alone may be enough to generate
|
|
|
|
HTML docs but PDF documentation *requires* a POSIX shell and the
|
|
|
|
mentioned Unix tools.
|
|
|
|
|
|
|
|
On the Windows platform building HTML and particularly PDF docs
|
|
|
|
*may* work if you install and use MinGW, MSYS2, or Cygwin and all
|
|
|
|
required LaTeX tools but this is not supported and we don't
|
|
|
|
recommend it.
|
2011-01-11 16:06:15 +03:00
|
|
|
|
2023-10-03 10:19:36 +03:00
|
|
|
To generate the PDF version you also need a current version of LaTeX.
|
|
|
|
To install all required packages on recent Debian and Ubuntu Linux
|
|
|
|
distributions you can install the package 'doxygen-latex' which
|
|
|
|
"adds dependencies for all LaTeX packages required to build documents
|
|
|
|
using the default stylesheet" according to its description.
|
2018-12-10 18:50:56 +03:00
|
|
|
|
2023-10-03 10:19:36 +03:00
|
|
|
On other (and older) distributions you may use the packages tetex (older)
|
|
|
|
or texlive (current as of Ubuntu 18.04) if your distribution provides
|
|
|
|
them. You may need to install additional fonts and other sub-packages
|
|
|
|
for the PDF version to be generated correctly.
|
2018-12-10 18:50:56 +03:00
|
|
|
|
2015-06-17 15:25:36 +03:00
|
|
|
|
|
|
|
Generation of Documentation with autoconf (configure) + make:
|
|
|
|
-------------------------------------------------------------
|
2011-01-11 16:06:15 +03:00
|
|
|
Use "make html" in the documentation directory to generate the HTML
|
2015-06-17 15:25:36 +03:00
|
|
|
documentation, or "make pdf" to generate the PDF version. "make docs"
|
2011-01-11 16:06:15 +03:00
|
|
|
generates both versions in one step (as would do "make clean html pdf").
|
|
|
|
|
|
|
|
To read the HTML or PDF docs, see above.
|
|
|
|
|
|
|
|
|
2023-10-03 10:19:36 +03:00
|
|
|
Generation of Documentation with CMake:
|
|
|
|
---------------------------------------
|
2015-06-17 15:25:36 +03:00
|
|
|
We assume that you use an out-of-source build as recommended.
|
|
|
|
Documentation is not generated in a default build. You must set one or
|
|
|
|
more CMake options using cmake-gui, ccmake, or cmake -DOPTION...
|
|
|
|
|
2023-10-03 10:19:36 +03:00
|
|
|
For simplicity we use 'make' in the following description. If you
|
|
|
|
use another build system (e.g. 'ninja') please replace 'make' with
|
|
|
|
your preferred build command.
|
|
|
|
|
|
|
|
The following two options are predefined ON if you have the
|
|
|
|
required software packages (doxygen, LaTeX) installed. You can
|
|
|
|
always leave them ON because the documentation is not built
|
|
|
|
automatically (it is excluded from the default target "ALL").
|
|
|
|
|
2024-02-07 20:30:11 +03:00
|
|
|
- FLTK_BUILD_HTML_DOCS:BOOL=ON target: html
|
|
|
|
- FLTK_BUILD_PDF_DOCS:BOOL=ON target: pdf
|
2015-06-17 15:25:36 +03:00
|
|
|
|
2023-10-03 10:19:36 +03:00
|
|
|
The following two options default to OFF and can be switched ON.
|
|
|
|
They are only used when installing the software ('make install')
|
|
|
|
and the corresponding build options are ON.
|
2015-06-17 15:25:36 +03:00
|
|
|
|
2024-02-07 20:30:11 +03:00
|
|
|
- FLTK_INSTALL_HTML_DOCS:BOOL=OFF
|
|
|
|
- FLTK_INSTALL_PDF_DOCS:BOOL=OFF
|
2015-06-17 15:25:36 +03:00
|
|
|
|
2023-10-03 10:19:36 +03:00
|
|
|
If you switch one or both of the first two options ON, then the build
|
2015-06-17 15:25:36 +03:00
|
|
|
targets 'html' and/or 'pdf' are generated, respectively. Target 'docs'
|
|
|
|
is added to generate both 'html' and 'pdf'. As said above, you need
|
|
|
|
installed Doxygen and LaTeX software for this to work.
|
|
|
|
|
2023-10-03 10:19:36 +03:00
|
|
|
Use 'make html' in the root directory of the build tree to generate the
|
|
|
|
HTML documentation, or 'make pdf' to generate the PDF version.
|
|
|
|
'make docs' generates both versions in one step (as would do
|
|
|
|
'make clean html pdf').
|
2015-06-17 15:25:36 +03:00
|
|
|
|
|
|
|
To read the HTML or PDF docs, see above, but use the build directory.
|
|
|
|
|
|
|
|
Note: if you enable one or more of the "*INSTALL*" options, then
|
2023-10-03 10:19:36 +03:00
|
|
|
'make install' will install the docs, but you must still build them
|
2015-06-17 15:25:36 +03:00
|
|
|
manually, because the generation is not included in the standard ('all')
|
|
|
|
target. This may be changed in the future.
|
|
|
|
|
|
|
|
|
2018-12-10 18:50:56 +03:00
|
|
|
FLTK Developer Snapshots or Git Usage:
|
|
|
|
--------------------------------------
|
2011-01-11 16:06:15 +03:00
|
|
|
There is no pre-generated documentation available if you use a current
|
2018-12-10 18:50:56 +03:00
|
|
|
developer snapshot or git. You must generate the documentation
|
2015-06-17 15:25:36 +03:00
|
|
|
yourself or access the online documentation.
|
2011-01-11 16:06:15 +03:00
|
|
|
|
|
|
|
|
|
|
|
Bugs and Feature Requests:
|
|
|
|
--------------------------
|
1999-01-13 19:25:17 +03:00
|
|
|
If you find any typos, things that are unclear, or would like to
|
|
|
|
contribute an example, section, or chapter to the FLTK manual, please
|
2023-10-03 10:19:36 +03:00
|
|
|
post a question in the fltk group fltk.general or post a bug report
|
|
|
|
or feature request. For more information see this page:
|
2011-01-11 16:06:15 +03:00
|
|
|
|
2020-07-01 19:03:10 +03:00
|
|
|
https://www.fltk.org/bugs.php
|