|
|
Hi, I have noticed in test/cube.cxx there is a fl_button with the following color: Fl::set_color(FL_FREE_COLOR, 255, 255, 0, 75); That gives a transparent color and works for both fl_button and fl_group (probably many more) as long as they are children of fl_gl_window.
Are there any chance the same would work for fl_window ?
It would open for a more modern look.
Best regards Håvard
mandag 13. juni 2022 kl. 15:01:29 UTC+2 skrev Ian MacArthur:
On Monday, 13 June 2022 at 08:26:41 UTC+1 Manolo wrote:
But, transparency is easily achieved now under Linux using the Wayland platform, new in FLTK 1.4 :
That's quite neat.
But, you know, Wayland...
In the meantime, here's a simplified, cleaned up version of the sample I posted, before... This *should* work OK on Win32, recent X11 and macOS. (But NOT Wayland, as it happens!) Well, works for me at any rate.
--
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/d256eab3-b19b-4c5c-8763-8d1d082dfe77n%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |