Am 15.11.2011 um 23:26 schrieb Arnaud Nicolet:
> I also appreciate the example.
Sub Paint(g As Graphics)
dim i as new IconMBS(volume(0))
dim c as CGContextMBS
if TargetCocoa then
c = GetCurrentCGContextMBS
else
c = self.CGContextMBS
end if
i.DrawIconCGContext(c.Handle, 0, 0, 128, 128, 0, 0, 0, &c000000)
End Sub
Like this. We get the cgcontext for drawing and draw it.
Greetings
Christian
--
See you in Orlando, Florida for Real World 2012
More details and registration here:
http://www.realsoftware.com/community/realworld.php
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info