• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Image sources for the standard images such as NSImageNameQuickLookTemplate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image sources for the standard images such as NSImageNameQuickLookTemplate


  • Subject: Re: Image sources for the standard images such as NSImageNameQuickLookTemplate
  • From: "email@hidden" <email@hidden>
  • Date: Mon, 18 Feb 2008 20:34:45 +0000

You are probably correct Mike.
The following gives a good starting point for the customised icon (though sans the nice template effects).


[[[NSImage imageNamed:@"NSQuickLookTemplate"] TIFFRepresentation] writeToFile:@"/users/jonathan/desktop/eye.tif" atomically:YES];


I think the biggest danger is the possibility of Apple changing the
icon in a future release of OS X. The docs quite strongly point out
that you should NOT rely on an image remaining the same between
releases and that it should only be used for the intended purpose. So
in this case, I think you really should create your own icon, not
attempt to load in and modify the available image.

Mike.

On 18 Feb 2008, at 16:58, email@hidden wrote:

Thanks for the reply Mike.

The change is small - removing the pupil from the centre of the
NSImageNameQuickLookTemplate eye.
My iconographic thinking is:

A complete eye represents a complete browse group in a table cell.
A pupil-less eye represents a partial browse group in a table cell.
An empty cell represents an empty browse group.

Not HIG standard stuff but comprehensible I think.
iTunes uses the eye for its browser button, so there is a slight
precedent.

I had thought that if the source images are not available (which is
what I suspect) that in memory compositing might be the solution.
Either that or another icon altogether. But the extra features of
the templates (auto inversion in highlighted row etc) are
attractive, though I'm sure the effect could be reproduced in other
images with appropriate masks etc.

Jonathan

What sort of change are you thinking of. Is it something that could
be composited yourself in code at run-time?

Mike.

On 18 Feb 2008, at 13:55, email@hidden wrote:

Hello

Are image files for the standard images such as
NSImageNameQuickLookTemplate accessible?
I would like to have a slight variation on one of the templates
available.

I have read the HIG guide and now the caveats with regard to
standard use etc and possible changes to the standard images.
However, a slightly modified image would prove useful.

Jonathan

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Image sources for the standard images such as NSImageNameQuickLookTemplate
      • From: "Kyle Sluder" <email@hidden>
  • Prev by Date: Re: Loading saved file into NSArrayController
  • Next by Date: Re: Height and location of text within a line in NSLayoutManager ignoring spacing?
  • Previous by thread: Re: Image sources for the standard images such as NSImageNameQuickLookTemplate
  • Next by thread: Re: Image sources for the standard images such as NSImageNameQuickLookTemplate
  • Index(es):
    • Date
    • Thread