2025-05-05 12:52:02 +00:00
|
|
|
/* FL/fl_config.h. Generated from fl_config.h.in by CMake. */
|
2021-12-18 21:42:30 +00:00
|
|
|
/*
|
2025-05-05 12:52:02 +00:00
|
|
|
* Build configuration file for the Fast Light Tool Kit (FLTK). This
|
|
|
|
|
* configuration file is publicly accessible by user programs (installed).
|
2021-12-18 21:42:30 +00:00
|
|
|
*
|
2025-05-05 12:52:02 +00:00
|
|
|
* Copyright 1998-2025 by Bill Spitzak and others.
|
2021-12-18 21:42:30 +00:00
|
|
|
*
|
|
|
|
|
* This library is free software. Distribution and use rights are outlined in
|
|
|
|
|
* the file "COPYING" which should have been included with this file. If this
|
|
|
|
|
* file is missing or damaged, see the license at:
|
|
|
|
|
*
|
|
|
|
|
* https://www.fltk.org/COPYING.php
|
|
|
|
|
*
|
|
|
|
|
* Please see the following page on how to report bugs and issues:
|
|
|
|
|
*
|
|
|
|
|
* https://www.fltk.org/bugs.php
|
|
|
|
|
*/
|
|
|
|
|
|
2021-12-21 00:48:14 +00:00
|
|
|
#ifndef _FL_fl_config_h_
|
|
|
|
|
#define _FL_fl_config_h_
|
2021-12-18 21:42:30 +00:00
|
|
|
|
2025-05-06 17:10:00 +00:00
|
|
|
/** \defgroup version_numbers Version Numbers
|
|
|
|
|
|
|
|
|
|
FLTK defines some constants to help the programmer to
|
|
|
|
|
find out, for which FLTK version a program is compiled.
|
|
|
|
|
|
|
|
|
|
The following constants are defined:
|
|
|
|
|
@{
|
2021-12-18 21:42:30 +00:00
|
|
|
*/
|
|
|
|
|
|
2025-05-06 17:10:00 +00:00
|
|
|
/**
|
|
|
|
|
The major release version of this FLTK library.
|
|
|
|
|
\see FL_VERSION
|
|
|
|
|
*/
|
|
|
|
|
#define FL_MAJOR_VERSION @FLTK_VERSION_MAJOR@
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
The minor release version for this library.
|
|
|
|
|
|
|
|
|
|
FLTK remains mostly source-code compatible between minor version changes.
|
|
|
|
|
*/
|
|
|
|
|
#define FL_MINOR_VERSION @FLTK_VERSION_MINOR@
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
The patch version for this library.
|
|
|
|
|
|
|
|
|
|
FLTK remains binary compatible between patch versions.
|
|
|
|
|
*/
|
|
|
|
|
#define FL_PATCH_VERSION @FLTK_VERSION_PATCH@
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
The FLTK ABI (Application Binary Interface) version number as an \em int.
|
|
|
|
|
|
|
|
|
|
FL_ABI_VERSION is an \em int that describes the major, minor, and patch
|
|
|
|
|
ABI version numbers in the same format as FL_API_VERSION.
|
|
|
|
|
|
|
|
|
|
The ABI version number \p FL_ABI_VERSION is usually the same as the
|
|
|
|
|
API version \p FL_API_VERSION with the last two digits set to '00'.
|
|
|
|
|
|
|
|
|
|
FLTK retains the ABI (Application Binary Interface) during patch
|
|
|
|
|
releases of the same major and minor versions. Examples:
|
|
|
|
|
|
|
|
|
|
\verbatim
|
|
|
|
|
FLTK Version FL_API_VERSION FL_ABI_VERSION FL_VERSION (deprecated)
|
|
|
|
|
1.3.0 10300 10300 1.0300
|
|
|
|
|
1.3.4 10304 10300 1.0304
|
|
|
|
|
\endverbatim
|
|
|
|
|
|
|
|
|
|
Version 1.2.3 is actually stored as 10203 to allow for more than 9 minor
|
|
|
|
|
and patch releases.
|
|
|
|
|
|
|
|
|
|
The FL_MAJOR_VERSION, FL_MINOR_VERSION, and FL_PATCH_VERSION constants
|
|
|
|
|
give the integral values for the major, minor, and patch releases
|
|
|
|
|
respectively.
|
|
|
|
|
|
|
|
|
|
To enable new ABI-breaking features in patch releases you can configure
|
|
|
|
|
FLTK to use a higher FL_ABI_VERSION. The highest allowed version is
|
|
|
|
|
|
|
|
|
|
FL_ABI_VERSION = FL_API_VERSION + 1
|
|
|
|
|
|
|
|
|
|
to allow for "next version" ABI features when FLTK is built from git or
|
|
|
|
|
from a snapshot (pre-release version).
|
|
|
|
|
|
|
|
|
|
\see README.abi-version.txt
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#define FL_ABI_VERSION @FL_ABI_VERSION@
|
|
|
|
|
|
|
|
|
|
/** @} */
|
2021-12-18 21:42:30 +00:00
|
|
|
|
2025-05-06 17:10:00 +00:00
|
|
|
// End of doxygen group 'version_numbers'. More is added to the group in
|
|
|
|
|
// in file FL/Enumerations.H
|
2021-12-18 21:42:30 +00:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* FLTK_HAVE_CAIRO
|
|
|
|
|
*
|
2025-03-19 13:44:16 +00:00
|
|
|
* Do we have Fl_Cairo_Window support?
|
2021-12-18 21:42:30 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#cmakedefine FLTK_HAVE_CAIRO 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* FLTK_HAVE_CAIROEXT
|
|
|
|
|
*
|
|
|
|
|
* Do we have the Cairo library available and want extended Cairo use in FLTK ?
|
|
|
|
|
* This implies to link cairo.lib in all FLTK based apps.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#cmakedefine FLTK_HAVE_CAIROEXT 1
|
|
|
|
|
|
|
|
|
|
|
2023-12-20 15:56:29 +00:00
|
|
|
/*
|
|
|
|
|
* FLTK_HAVE_FORMS
|
|
|
|
|
*
|
|
|
|
|
* Do we have the Forms compatibility library available?
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#cmakedefine FLTK_HAVE_FORMS 1
|
|
|
|
|
|
|
|
|
|
|
2021-12-18 21:42:30 +00:00
|
|
|
/*
|
|
|
|
|
* FLTK_USE_X11
|
|
|
|
|
*
|
|
|
|
|
* Do we use X11 for the current platform?
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#cmakedefine FLTK_USE_X11 1
|
2021-12-21 00:48:14 +00:00
|
|
|
|
2022-03-04 14:40:29 +00:00
|
|
|
|
2022-03-15 05:42:06 +00:00
|
|
|
/*
|
|
|
|
|
* FLTK_USE_CAIRO
|
|
|
|
|
*
|
|
|
|
|
* Do we use Cairo to draw to the display?
|
|
|
|
|
*
|
|
|
|
|
*/
|
2025-03-15 22:34:56 +00:00
|
|
|
|
2022-03-15 05:42:06 +00:00
|
|
|
#cmakedefine FLTK_USE_CAIRO 1
|
|
|
|
|
|
|
|
|
|
|
2022-03-04 14:40:29 +00:00
|
|
|
/*
|
|
|
|
|
* FLTK_USE_WAYLAND
|
|
|
|
|
*
|
|
|
|
|
* Do we use Wayland for the current platform?
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#cmakedefine FLTK_USE_WAYLAND 1
|
|
|
|
|
|
2023-10-22 17:30:37 +00:00
|
|
|
|
2024-02-09 12:36:16 +00:00
|
|
|
/*
|
|
|
|
|
* FLTK_USE_SVG
|
|
|
|
|
*
|
|
|
|
|
* Do we want FLTK to read and write SVG-formatted files ?
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#cmakedefine01 FLTK_USE_SVG
|
|
|
|
|
|
|
|
|
|
|
2021-12-21 00:48:14 +00:00
|
|
|
#endif /* _FL_fl_config_h_ */
|