|
|
On 1/1/22 1:16 AM Greg Ercolano wrote:
On 12/31/21 3:26 PM, Albrecht Schlosser wrote:
Yep, found that too.
I'll suggest an examples/cairo-draw-x.cxx on fltk.coredev.
OK, +1
To do so would mean some kind of conditional in the
examples/Makefile* and examples/CMakeLists.txt
to only build the example if cairo is enabled.
In the latest 1.4 commits we have <FL/fl_config.h> which is
automatically included and defines FLTK_HAVE_CAIRO if cairo is
available. test/cairo_test.cxx shows how to use it and how to display an
alternate message if cairo is not available. I suggest to do it like this.
I'm going to remove libfltk_cairo soon, so linking with that should not
be a problem (fltk-config could help anyway).
Linking with libcairo (or not) would be another issue I'll attack at
least with CMake. Makefiles could either use ../makeinclude or a
combination of fltk-config options. But that's only thoughts so far...
I have something that works, but I'll probably open a separate
thread on fltk.coredev
about that.
OK.
Greetings from 2022 (Jan 1, 0:25 am) back to 2021 ;-)
Happy new year to all !
Oh wow, so is 2022 is any better, or should I stick with 2021 and
hold off on "upgrading"? :D
I hope it'll be better (less COVID issues, hopefully), but I can't
downgrade anyway. Looking forward to its new features... ;-)
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/34246a59-394f-2ac5-3095-ef4adb53f2ad%40online.de.
[ Direct Link to Message ] | |
|
| |