2008-10-17 11:08:15 +00:00
|
|
|
/**
|
|
|
|
|
|
|
|
|
|
\page preface Preface
|
|
|
|
|
|
2025-05-07 19:14:10 +00:00
|
|
|
This manual describes the Fast Light Tool Kit ("FLTK")
|
|
|
|
|
\include{doc} version.dox,
|
2024-10-15 18:42:26 +00:00
|
|
|
a C++ Graphical User Interface ("GUI") toolkit for UNIX, Microsoft Windows,
|
|
|
|
|
and Apple macOS.
|
2022-03-10 14:05:26 +00:00
|
|
|
|
2024-12-09 16:37:52 +00:00
|
|
|
Version 1.4.0 introduced support for a new windowing system under
|
2024-04-27 17:46:25 +00:00
|
|
|
Linux/Unix: Wayland. FLTK applications under Linux/Unix run unchanged
|
|
|
|
|
as Wayland or X11 clients depending on availability at run-time.
|
2022-03-10 14:05:26 +00:00
|
|
|
|
|
|
|
|
Each of the chapters in this manual is designed as a tutorial for
|
2008-10-17 11:08:15 +00:00
|
|
|
using FLTK, while the appendices provide a convenient reference
|
2024-04-27 17:46:25 +00:00
|
|
|
for all FLTK widgets, functions, and operating system interfaces.
|
2008-10-17 11:08:15 +00:00
|
|
|
|
|
|
|
|
<B>This manual may be printed, modified, and/or used under
|
2024-04-27 17:54:22 +00:00
|
|
|
the terms of the FLTK license provided in: \ref license.</B>
|
2008-10-17 11:08:15 +00:00
|
|
|
|
|
|
|
|
\section preface_organisation Organization
|
|
|
|
|
|
|
|
|
|
This manual is organized into the following chapters and appendices:
|
|
|
|
|
|
|
|
|
|
\li \ref intro
|
|
|
|
|
\li \ref basics
|
|
|
|
|
\li \ref common
|
|
|
|
|
\li \ref editor
|
|
|
|
|
\li \ref drawing
|
|
|
|
|
\li \ref events
|
|
|
|
|
\li \ref subclassing
|
|
|
|
|
\li \ref opengl
|
2023-01-21 16:14:41 +00:00
|
|
|
\li \ref fltk-options
|
2008-10-17 11:08:15 +00:00
|
|
|
\li \ref advanced
|
|
|
|
|
\li \ref unicode
|
|
|
|
|
\li \ref enumerations
|
|
|
|
|
\li \ref glut
|
|
|
|
|
\li \ref forms
|
|
|
|
|
\li \ref osissues
|
2020-01-08 17:41:50 +00:00
|
|
|
\li \ref migration_1_4
|
2008-10-17 11:08:15 +00:00
|
|
|
\li \ref development
|
|
|
|
|
\li \ref license
|
|
|
|
|
\li \ref examples
|
|
|
|
|
|
|
|
|
|
\section preface_conventions Conventions
|
|
|
|
|
|
2009-03-28 16:40:06 +00:00
|
|
|
This manual was generated using Doxygen
|
2024-04-27 17:46:25 +00:00
|
|
|
(see https://www.doxygen.org/)
|
2009-03-28 16:40:06 +00:00
|
|
|
to process the source code itself, special comments in the code,
|
|
|
|
|
and additional documentation files.
|
|
|
|
|
In general, Doxygen recognizes and denotes the following entities as shown:
|
|
|
|
|
- classes, such as Fl_Widget,
|
|
|
|
|
- methods, such as Fl_Widget::callback(Fl_Callback* cb, void* p),
|
|
|
|
|
- functions, such as fl_draw(const char *str, int x, int y),
|
|
|
|
|
- internal links, such as \ref preface_conventions,
|
2024-04-27 17:46:25 +00:00
|
|
|
- external links, such as https://www.fltk.org/.
|
2008-10-17 11:08:15 +00:00
|
|
|
|
2009-03-28 16:40:06 +00:00
|
|
|
Other code samples and commands are shown in <tt>regular courier type</tt>.
|
2008-10-17 11:08:15 +00:00
|
|
|
|
|
|
|
|
\section preface_abbreviations Abbreviations
|
|
|
|
|
|
|
|
|
|
The following abbreviations are used in this manual:
|
|
|
|
|
|
|
|
|
|
\par X11
|
|
|
|
|
The X Window System version 11.
|
|
|
|
|
|
|
|
|
|
\par Xlib
|
|
|
|
|
The X Window System interface library.
|
|
|
|
|
|
2024-04-13 19:47:14 +00:00
|
|
|
\par Windows, <tt>WIN32</tt>
|
2020-07-01 16:03:10 +00:00
|
|
|
The Microsoft Windows Application Programmer's Interface for Windows 2000,
|
2018-02-09 14:39:42 +00:00
|
|
|
Windows XP, Windows Vista, Windows 7 and later Windows versions.
|
|
|
|
|
FLTK uses the preprocessor definition <tt>_WIN32</tt> for the 32 bit
|
2024-04-13 19:47:14 +00:00
|
|
|
and 64 bit Windows API.
|
2008-10-17 11:08:15 +00:00
|
|
|
|
2024-04-27 17:46:25 +00:00
|
|
|
\par macOS (aka Mac OS X), <tt>__APPLE__</tt>
|
|
|
|
|
The Apple desktop operating sytem macOS 10.0 and later. MacOS 8 and 9 support
|
2011-01-01 04:42:56 +00:00
|
|
|
was dropped after FLTK 1.0.10. FLTK uses the preprocessor definition
|
2024-04-27 17:54:22 +00:00
|
|
|
<tt>\__APPLE__</tt> for macOS.
|
2008-10-17 11:08:15 +00:00
|
|
|
|
|
|
|
|
\section preface_copyrights Copyrights and Trademarks
|
|
|
|
|
|
2022-08-10 16:51:53 +00:00
|
|
|
FLTK is \include{doc} copyright.dox
|
|
|
|
|
Use and distribution of FLTK is governed by the GNU Library General Public
|
2008-10-17 11:08:15 +00:00
|
|
|
License with 4 exceptions, located in \ref license.
|
|
|
|
|
|
2020-07-01 16:03:10 +00:00
|
|
|
UNIX is a registered trademark of the X Open Group, Inc.
|
2008-10-17 11:08:15 +00:00
|
|
|
Microsoft and Windows are registered trademarks of Microsoft
|
|
|
|
|
Corporation. OpenGL is a registered trademark of Silicon
|
2024-04-27 17:46:25 +00:00
|
|
|
Graphics, Inc. Apple, Macintosh, MacOS, macOS, and Mac OS X are
|
2008-10-17 11:08:15 +00:00
|
|
|
registered trademarks of Apple Computer, Inc.
|
|
|
|
|
|
2009-03-26 22:58:23 +00:00
|
|
|
|
2008-10-17 11:08:15 +00:00
|
|
|
\htmlonly
|
|
|
|
|
<hr>
|
2009-03-26 22:58:23 +00:00
|
|
|
<table summary="navigation bar" width="100%" border="0">
|
|
|
|
|
<tr>
|
|
|
|
|
<td width="45%" align="LEFT">
|
2011-05-11 15:49:30 +00:00
|
|
|
<a class="el" href="index.html">
|
2009-03-26 22:58:23 +00:00
|
|
|
[Prev]
|
|
|
|
|
Main Page
|
|
|
|
|
</a>
|
|
|
|
|
</td>
|
|
|
|
|
<td width="10%" align="CENTER">
|
2011-05-11 15:49:30 +00:00
|
|
|
<a class="el" href="index.html">[Index]</a>
|
2009-03-26 22:58:23 +00:00
|
|
|
</td>
|
|
|
|
|
<td width="45%" align="RIGHT">
|
|
|
|
|
<a class="el" href="intro.html">
|
|
|
|
|
Introduction to FLTK
|
|
|
|
|
[Next]
|
|
|
|
|
</a>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
2008-10-17 11:08:15 +00:00
|
|
|
\endhtmlonly
|
2009-03-21 13:38:11 +00:00
|
|
|
|
2008-10-17 11:08:15 +00:00
|
|
|
*/
|