Re: Refreshing an NSView

2011-04-13 Thread Quincey Morris
On Apr 13, 2011, at 12:23, Tom Jeffries wrote: > I seem to be missing something, and it's probably something quite obvious. > In the initialization to an NSView subclass window, I do the following: > > - (void) drawRect:(NSRect)dirtyRect > { > [StepWindow DrawStepArea]; > } > It works perfec

Refreshing an NSView

2011-04-13 Thread Tom Jeffries
I seem to be missing something, and it's probably something quite obvious. In the initialization to an NSView subclass window, I do the following: - (void) drawRect:(NSRect)dirtyRect { [StepWindow DrawStepArea]; } DrawStepArea is a simple function that draws some lines on the screen- here's