summaryrefslogtreecommitdiff
path: root/README.Cairo.txt
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2021-12-18 22:42:30 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2021-12-18 22:44:08 +0100
commit5438954d8c6213f1b0cc9d23b70ffaae388e1d60 (patch)
tree101eeda4bf98583d566eeb4b0870d2bde95dea69 /README.Cairo.txt
parent797616841caaf3322c79c15b1d9c74d03b54ea12 (diff)
Generate FL/fl_config.h rather than FL/abi-version.h
... as discussed in fltk.coredev in thread "RFC: introduce public config header <FL/fl_config.h>", see: https://groups.google.com/g/fltkcoredev/c/xLCs1AIXMVo/m/MHZpQggzAQAJ - Rename abi-version.h to fl_config.h, rename input files, update dependencies, .gitignore, CMake, configure and Makefiles. - Include Cairo options in FL/fl_config.h - Rename FLTK_USE_CAIRO to FLTK_HAVE_CAIROEXT for consistency. - Include <FL/fl_config.h> in config.h and wherever necessary, fix include order (move FL/Fl.H to the top) and more. - Move USE_X11 to fl_config.h and rename to FLTK_USE_X11 - Do not include <config.h> in Cairo demo program which is no longer required in Cairo programs since FLTK 1.4.0
Diffstat (limited to 'README.Cairo.txt')
-rw-r--r--README.Cairo.txt30
1 files changed, 0 insertions, 30 deletions
diff --git a/README.Cairo.txt b/README.Cairo.txt
index 47eabda4d..b2bfba0e7 100644
--- a/README.Cairo.txt
+++ b/README.Cairo.txt
@@ -83,36 +83,6 @@ For more details, please have a look to the doxygen documentation,
in the Modules section.
- Future considerations
------------------------
-
-From Bill:
-First there is the FLTK_HAVE_CAIRO configuration option. This indicates that
-any Cairo calls are available. In this case you get something like this:
-
-// static variable holding the last Cairo context FLTK set:
-cairo_t* Fl::cr;
-
-// Make cr draw in this window. This hides the ugly platform-dependent
-// part of getting Cairo going:
-void Fl::cairo_make_current(Fl_Window*)
-
-*** POST 1.3 potential Cairo use:
-// Set cr to something you made yourself. This lets you reuse functions
-// that use cr, and also tells FLTK that cr is not one of its own and
-// thus cannot be destroyed or reused for a different window:
-void Fl::cairo_make_current(cairo_t*)
-
-Second there is the FLTK_USE_CAIRO configuration option. This means that all
-drawing is done using Cairo. In this case when a widget draw() method is
-called, it is exactly as though cairo_make_current(window) has been done.
-***
-
-Note that it should be possible to compile so FLTK_HAVE_CAIRO works even
-if FLTK_USE_CAIRO does not, and so that turning on FLTK_USE_CAIRO does not
-break any programs written for FLTK_HAVE_CAIRO.
-
-
PLATFORM SPECIFIC NOTES
=========================