Re: How to implement a ProjectBuilder's tabview?
Re: How to implement a ProjectBuilder's tabview?
- Subject: Re: How to implement a ProjectBuilder's tabview?
- From: Mike Ferris <email@hidden>
- Date: Thu, 24 Jun 2004 07:38:58 -0700
ProjectBuilder did this as a subclass of NSSplitView and added tabs.
NSTabView was not used at all (except that NSTabViewItem was used as
the inspiration for the API of the PBXSlidingTabViewItem class...)
Drawing vertical text is simple. use an NSAffineTransform to rotate
your coordinate system and then use NSStringDrawing or NSTextFieldCell
to draw the text.
Mike
Begin forwarded message:
>
From: Fei Li <email@hidden>
>
Date: June 23, 2004 2:49:46 PM PDT
>
To: email@hidden
>
Subject: How to implement a ProjectBuilder's tabview?
>
>
Hello all,
>
I'd like to implement a tabview which is similar to ProjectBuilder's
>
Files/Classes/Bookmarks... tabview, or similar to Explorer's
>
Favrites/History/Search... tabview.
>
>
Some discuss in this mailing list says should create a cell class for
>
tabs and use NSSplitView and NSTabView. But how can I create a button
>
or NSTextField to show it's title in vertical direction like "Files"
>
tab in ProjectBuilder?
>
>
Thanks for any information!
>
Fei
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.