Ergebnis 11 bis 11 von 11
- 27.03.2011, 20:25 #11
Stammt NSBezierpaths vom NSView ab? Was steht denn in der Doku?
Nochmal: Mach Dir einfach einen View für das Würfelauge und platziere diese im IB.
Einzeln oder wenn Du willst hast auch als Matrix.
Dann brauchst Du für den View nur das bisschen Code:
Die Views oder Matrix verbindest Du über Outlets, und schaltest diese nach Bedarf ein und aus.Code:- (void)drawRect:(NSRect)dirtyRect { [[NSColor blackColor] set]; [[NSBezierPath bezierPathWithOvalInRect:[self bounds]] fill]; }



zitieren