blend function urgently needed in kdelibs

David Faure faure at kde.org
Mon May 21 23:41:35 BST 2007


On Tuesday 22 May 2007, Matthew Woehlke wrote:
> Seven parameters (hehe... actually it's going to be eight) are pretty 
> well required if it's to be flexible

Another solution is to create a KColorBlender class, with a number of setter 
methods and a blend() method (without arguments - i.e. the "do it now" method)...
OK not sure it makes sense, just thinking out loud about how to avoid 8 params :)

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list