|
|
> El 15 sep. 2022, a las 13:45, Manolo <manolo.gouy@gmail.com> escribió:
>
>
>
> Le mercredi 14 septembre 2022 à 21:41:51 UTC+2, Gonzalo a écrit :
>
>
> > El 13 sep. 2022, a las 06:28, Manolo escribió:
> >
> > @Gonzalo: I realize now my proposal was wrong.
> > The good solution is not to use a transparent GL2 window but a transparent normal window,
> > see attached example program which builds upon OpenGL3test.cxx :
> >
>
> That *almost* works. What is missing is giving the button a transparent or semi-transparent color, like in the cube.cxx demo. I would need that, or a FL_STENCIL on the window, so I can implement drawing in the window (with erasing with the stencil).
>
> I attach a new attempt to allow transparent colors. It uses the recent changes to FLTK 1.4 committed to git.
> Unfortunately it works only partially under macOS because transparency starts correctly but then disappears, for a reason that remains unclear to me.
I tried it on macOS and could not make it fail. It was always semi transparent. What triggers the disappearance of the transparency?
> The code is meant to be cross platform with a macOS version and a version for other platforms.
> It works well under the wayland platform.
> But the transition between GL3-style and GL2-style drawing that works under Wayland fails under X11.
That’s too bad.
> Did you succeed in doing that? If yes, can you, please, share your procedure?
>
No. I am currently working on macOS and will try the other platforms later.
—
Gonzalo Garramuno
ggarra13@gmail.com
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/86E7F048-B7C5-46A8-81E0-214FFC9106DE%40gmail.com.
[ Direct Link to Message ] | |
|
| |