Re: Creating NSViews with code.
Re: Creating NSViews with code.
- Subject: Re: Creating NSViews with code.
- From: j o a r <email@hidden>
- Date: Thu, 17 Feb 2005 15:58:59 +0100
On 2005-02-17, at 15.48, Coleman Nitroy wrote:
You should probably not load new windows, but instead just switch
view configurations - like has been discussed already.
The addSubview: and setFrame: stuff?
No, the "use a tab view instead of subview fiddling" stuff... :)
Is it possible to have a NSView sort of highlighted, to show that its
the currently selected view? I looked all over for anything like that
but was only able to find this thread:
http://www.cocoabuilder.com/archive/message/cocoa/2004/5/6/106436
which looks as though it could be a little scary to implement
highlighting in NSViews, especially since I am using NSOpenGLViews
subclasses of NSView, and am not sure how adding cocoa drawing
functions in the drawRect: function would work.
You could always wrap your GL-view as a subview of some sort of
"FocusView", that can draw the focus ring in it's drawRect method.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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