2011-01-11 16:06:15 +03:00
|
|
|
README (documentation)
|
|
|
|
----------------------
|
2015-06-17 15:25:36 +03:00
|
|
|
FLTK 1.3 (and higher) documentation is available in HTML and PDF format.
|
|
|
|
The documentation must be generated in a separate step or downloaded
|
2011-01-11 16:06:15 +03:00
|
|
|
from FLTK's software download pages. The documentation can also
|
|
|
|
be accessed online.
|
1999-01-13 19:25:17 +03:00
|
|
|
|
2011-01-11 16:06:15 +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.
|
|
|
|
|
|
|
|
|
|
|
|
Online Documentation:
|
|
|
|
---------------------
|
|
|
|
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
|
2011-01-11 16:06:15 +03:00
|
|
|
are usually somewhat older (latest release). Use this URL to find
|
|
|
|
the current online documentation:
|
|
|
|
|
|
|
|
http://www.fltk.org/documentation.php
|
|
|
|
|
2015-06-17 15:25:36 +03:00
|
|
|
|
2011-01-11 16:06:15 +03:00
|
|
|
Documentation Download:
|
|
|
|
-----------------------
|
|
|
|
To download pre-generated docs, go to
|
|
|
|
|
|
|
|
http://www.fltk.org/software.php
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
2015-06-17 15:25:36 +03:00
|
|
|
Generation of Documentation (common part):
|
|
|
|
------------------------------------------
|
2011-01-11 16:06:15 +03:00
|
|
|
To generate the documentation yourself, you should have Doxygen
|
2015-06-17 15:25:36 +03:00
|
|
|
version 1.5.7 or later (recommended version is 1.7.3 or later).
|
1999-01-13 19:25:17 +03:00
|
|
|
|
2011-01-11 16:06:15 +03:00
|
|
|
To generate the PDF version you also need a current version of LaTeX.
|
|
|
|
You can use the packages tetex (older) or texlive (current) if your
|
|
|
|
distribution provides them. You may need to install additional fonts
|
|
|
|
and other sub-packages for the PDF version to be generated correctly.
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
2015-06-17 15:25:36 +03:00
|
|
|
Generation of Documentation with CMake + make:
|
|
|
|
----------------------------------------------
|
|
|
|
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...
|
|
|
|
|
|
|
|
These options are predefined to OFF and can be switched ON:
|
|
|
|
|
|
|
|
- OPTION_BUILD_HTML_DOCUMENTATION:BOOL=OFF target: html
|
|
|
|
- OPTION_BUILD_PDF_DOCUMENTATION:BOOL=OFF target: pdf
|
|
|
|
|
|
|
|
- OPTION_INSTALL_HTML_DOCUMENTATION:BOOL=OFF
|
|
|
|
- OPTION_INSTALL_PDF_DOCUMENTATION:BOOL=OFF
|
|
|
|
|
|
|
|
If you switch one or both of the first two options ON, then the
|
|
|
|
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.
|
|
|
|
|
|
|
|
Use "make html" in the root or documentation 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").
|
|
|
|
|
|
|
|
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
|
|
|
|
`make install' will install the docs, but you must still build them
|
|
|
|
manually, because the generation is not included in the standard ('all')
|
|
|
|
target. This may be changed in the future.
|
|
|
|
|
|
|
|
|
2011-01-11 16:06:15 +03:00
|
|
|
FLTK Developer Snapshots or Subversion Usage:
|
|
|
|
---------------------------------------------
|
|
|
|
There is no pre-generated documentation available if you use a current
|
|
|
|
developer snapshot or subversion. 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
|
2010-12-05 18:49:48 +03:00
|
|
|
post a question in the fltk newsgroup fltk.general or post a bug
|
2011-01-11 16:06:15 +03:00
|
|
|
report or feature request at:
|
|
|
|
|
|
|
|
http://www.fltk.org/str.php
|