drawing and writing text in a NSQuickDrawView
drawing and writing text in a NSQuickDrawView
- Subject: drawing and writing text in a NSQuickDrawView
- From: Angelo Chen <email@hidden>
- Date: Thu, 29 Jun 2006 19:09:30 -0700 (PDT)
Hi,
i set a NSCustomView in IB, then set it's custom class
to NSQuickDrawView and linked it to a outlet called
view, I'd like to draw a red background on it, i tried
the following code, but does not work, what I miss
here? thanks.
[[NSColor redColor] set];
NSRectFill([view bounds]);
[view display];
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden