blend function urgently needed in kdelibs
Thomas Zander
zander at kde.org
Mon May 21 21:19:15 BST 2007
On Monday 21 May 2007 21:31:45 Matthew Woehlke wrote:
> kdelibs desperately needs a color blending function.
It does? Who uses it? :)
Normal GUis should use the default colors and not blended ones. For most
other things, QColor:lighter() and darker() seem to do the trick...
> I am volunteering
> (yet again) to provide one that looks like this:
>
> KColor blend(const KColor& c1, const KColor& c2,
> double k = 0.5, double r = 0.5, SPEC cs = CS_RGB,
> int flags = BLEND_NORMAL, int cmask = 0x0000FFFF);
Would be nice to have more readable API with arguments that are not 1 or 2
characters to get a feeling of what it is you mean ;)
--
Thomas Zander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070521/47556ba3/attachment.sig>
More information about the kde-core-devel
mailing list