Newbie Controls Question
Newbie Controls Question
- Subject: Newbie Controls Question
- From: Alexander Dvorak <email@hidden>
- Date: Thu, 27 Dec 2001 14:40:34 -0800 (PST)
What I would like to do:
Create several buttons that will each draw a
different set of shapes in a given CustomView.
I already know how to create a subclass of NSView and
use the drawRect function to list what I want drawn in
this particular view. But how do you set up other
lists of graphics commands (ie draw a red square, draw
a blue circle) that can be called/activated by
different buttons and drawn in the same view space?
Any help you could give me would be appreciated.
Alexander
Send your FREE holiday greetings online!
http://greetings.yahoo.com