Tool overlay and cursor shapes

Cyrille Berger cberger at cberger.net
Fri Sep 18 14:38:34 CEST 2009


On Friday 18 September 2009, LukasT.dev at gmail.com wrote:
> On Friday 18 September 2009 08:03:46 Cyrille Berger wrote:
> > On Friday 18 September 2009, LukasT.dev at gmail.com wrote:
> > > Check it out. Just change line paintToolOutline(&gc,path); to
> > > paintToolOutline(&gc,path,BW_MODE);
> >
> > one last change, I think the mode should be a variable in KisTool, not  a
> > parameter of paintToolOutline.
> 
> I made it a parameter so that every tool can decide if it wants to paint in
> this mode or that mode. Default is XOR mode.
> 
> Why would you like to have it as variable?
To not to have change each tools when we want to switch to a different type of 
overlay.

-- 
Cyrille Berger


More information about the kimageshop mailing list