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

Attachment: alpha_colors.patch
Description: Binary data

-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to