Introducing transparent colors
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Mon May 18 13:10:42 UTC 2026
Le 16/05/2026 à 03:51, Koji Yokota a écrit :
> Hi all,
>
> I’m in need of transparent UI background color so that the background of preedit strings fits to any colored insets. So I’d like to propose new RGBAColor as a derived struct of RGBColor, adding an alpha value as the attached patch.
I welcome proper support for transparent colors, although we will have
to check that our drawing mechanism is ready for it. I suspect that
there are some implicit assumptions of opacity here and there.
For you preedit needs, are you aware of the mergeColor mechanism in the
Color class? I understand it is a kludge, though.
JMarc
More information about the lyx-devel
mailing list