Introducing transparent colors
Koji Yokota
yokota6 at gmail.com
Sat May 16 01:51:08 UTC 2026
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.
Any comments on this?
The patch adds the opacity handle to the color dialog so that existing colors can be changed to transparent colors. Note that the string representation of RGBAColor is #AARRGGBB following Qt’s QColor::HexArgb, not #RRGGBBAA. The format of \setcolor in preferences will be changed to use this 9-chars representation.
At this moment, this extension is limited to UI colors.
Koji
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alpha_colors.patch
Type: application/octet-stream
Size: 10846 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20260516/a51d80db/attachment-0001.obj>
More information about the lyx-devel
mailing list