Re: Weird drawing trouble, please help me
Re: Weird drawing trouble, please help me
- Subject: Re: Weird drawing trouble, please help me
- From: Ricky Sharp <email@hidden>
- Date: Sun, 1 Oct 2006 16:10:55 -0500
On Oct 1, 2006, at 2:44 PM, Alan Smith wrote:
My ultimate goal: To make a framework that has every basic UI widget
in it that can be "skinned." Meaning: I can tell the widgets what
pictures to use for their displaying.
This will be a _huge_ undertaking.
Many existing controls do not yet have the appropriate hooks in place
to do this easily. Thus, it may be the case where simple sublclasses
of the controls/cells will not give you what you want.
Having said that, be prepared to subclass directly off of NSControl/NS
[Action]Cell instead. I've done this myself for my own full-screen
custom UI apps. In such subclasses, be prepared to address:
* behaviors; e.g. control tracking, keyboard events
* bindings; make sure view-initiated changes do the right thing
* accessibility; among other things, full keyboard access and
integration with VoiceOver
* resolution independence; make sure your custom images/drawings are
scalable
Also to consider:
* IB palettes; to make it easy to author nibs with the custom UI
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.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