Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- + (Class) cellClass
- {
- return [OurButtonCell class];
- }
- - (void)drawRect:(NSRect)rect
- {
- // first get the cell to draw inside our bounds
- // then draw a focus ring if that's appropriate
- }
- - (void)drawInteriorWithFrame: (NSRect) rect inView: (NSView *) controlView
- {
- // a bunch of drawing code
- }
Add Comment
Please, Sign In to add comment