Hi,
I have subclassed NSProgressIndicator and want to draw totally my own
stuff, actually, I just intend to draw an image.
Actually, I am adapting code that works in GWorkspace: there the
indicator is a subclass in NSView, I want to make it as subclass of
NSProgressView.
I do in drawRect:
[img compositeToPoint: NSZeroPoint
operation: NSCompositeSourceOver]
however, it is not working.
if instead I do:
[img drawAtPoint:NSZeroPoint fromRect:NSZeroRect
operation:NSCompositeSourceOver fraction:1];
it works! why?
Riccardo
_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep