What to do about KColor?

Andreas Pakulat apaku at gmx.de
Mon May 28 02:31:54 BST 2007


On 28.05.07 02:36:37, Thiago Macieira wrote:
> Andreas Pakulat wrote:
> >b) everybody who wants to blend two colors now has to do 3 lines of code
> >(as Matthew showed) instead of just one.
> 
> Non-issue.
> 
> More lines is better if it makes code more readable.

Right, but I don't see how setting the Alpha on a Qcolor to make blend
work properly makes the code more readable. I think that should be part
of the implementation, all I as an API user want is to blend between two
colors and give a ratio for that.

Andreas

-- 
You are farsighted, a good planner, an ardent lover, and a faithful friend.




More information about the kde-core-devel mailing list