Re: 2 questions and 1 idea
Re: 2 questions and 1 idea
- Subject: Re: 2 questions and 1 idea
- From: Andrew Platzer <email@hidden>
- Date: Fri, 1 Jun 2001 11:09:24 -0700
On Friday, June 1, 2001, at 07:25 , Stiphane Sudre wrote:
>
- I've been coding a Cocoa Service and it's surprisingly too easy. The
>
only thing that is not clear is with the Menu Shortcut associated to
>
the Services Menu. What happens when the short cut you have for one
>
service is already used by the current Cocoa Application ? Which one
>
wins ?
The application.
>
- Where can one found the name of the images offered by the AppKit
>
publicly (for private images I class-dumped the complete AppKit, yet
>
couldn't find the arrow for PopDown NSPopUpButtonCell) ?
Most of the named images are obsolete since they applied to either the
old NextStep or Mac Platinum appearances. I can't think of any named
image we use now except NSApplicationIcon. Aqua images are loaded using
private functions.
>
The idea:
>
Could it be possible to make the [NSTableHeaderCell
>
_drawThemeContents:(NSRect)fp12 highlighted:(BOOL)fp28 inView: (id)
>
fp32;] a PUBLIC function like:
>
NSDrawTableHeaderThemeContents(NSRect inFrame,BOOL inHighlighted);
We are considering something like this but I can't say when it might
appear. For now, I'm afraid you'll have to take a snapshot and use
Photoshop to generate your own images.
One comment from an HI point of view. This may not apply to you but
usually when people ask for access to the images, it's because they want
to design a new control. You should consider that only as a last resort.
When users are presented with a new control, they need time to figure
out how it works and what it does. Often an existing control can do the
job and it's meaning is already known.
Andrew
__________________________________________________________________
A n d r e w P l a t z e r
A p p l i c a t i o n F r a m e w o r k s
A p p l e