Re: Introducing transparent colors

Jean-Marc Lasgouttes <[email protected]> Mon, 18 May 2026 15:10:42 +0200
Newsgroups gmane.editors.lyx.devel
Message-ID <[email protected]>
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
-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel