diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2025-03-15 23:34:56 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2025-03-16 00:10:53 +0100 |
| commit | b252e5e45cfd87da48133a3a52e3ac164759b231 (patch) | |
| tree | 16be1e15561e913e9e9c023a170bb9b062d5bfc8 /FL/Fl.H | |
| parent | 2e1730d2f0f131d792c9b0561672f5252a868785 (diff) | |
Remove libfltk_cairo (fltk::cairo)
This library is no longer needed and was "empty" for backwards
compatibility since FLTK 1.4.0.
Diffstat (limited to 'FL/Fl.H')
| -rw-r--r-- | FL/Fl.H | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -1,7 +1,7 @@ // // Main header file for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2024 by Bill Spitzak and others. +// Copyright 1998-2025 by Bill Spitzak and others. // // 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 @@ -1449,7 +1449,7 @@ public: In this last case, you don't need anymore to call Fl::cairo_make_current(). You can use Fl::cairo_cc() to get the current Cairo context anytime. - \note Only available when configure has the --enable-cairo option + \note Only available if built with CMake option FLTK_OPTION_CAIRO_WINDOW=ON. */ static void cairo_autolink_context(bool alink) { cairo_state_.autolink(alink); @@ -1460,8 +1460,9 @@ public: \retval false if no Cairo context autolink is made for each window. \retval true if any fltk window is attached a Cairo context when it is current. \see void cairo_autolink_context(bool alink) - \note Only available when configure has the --enable-cairo option - */ + + \note Only available if built with CMake option FLTK_OPTION_CAIRO_EXT=ON. + */ static bool cairo_autolink_context() { return cairo_state_.autolink(); } @@ -1473,7 +1474,8 @@ public: /** Sets the current Cairo context to \p c. Set \p own to true if you want fltk to handle this cc deletion. - \note Only available when configure has the --enable-Cairo option + + \note Only available if built with CMake option FLTK_OPTION_CAIRO_WINDOW=ON. */ static void cairo_cc(cairo_t *c, bool own=false) { cairo_state_.cc(c, own); @@ -1498,8 +1500,8 @@ public: Fl::cairo_flush(cc); // flush Cairo drawings to the device \endcode - If you configure FLTK with \c '--enable-cairo' or CMake option - \c 'FLTK_OPTION_CAIRO_WINDOW' (i.e. without \c '--enable-cairoext' or CMake option + If you configure FLTK with CMake option + \c 'FLTK_OPTION_CAIRO_WINDOW' (i.e. without CMake option \c 'FLTK_OPTION_CAIRO_EXT') or if you don't enable the \c 'autolink' Cairo context you may do the equivalent to use Cairo drawings in an overridden draw() method of derived classes by using |
