• 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: Making an iTunes style bar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making an iTunes style bar


  • Subject: Re: Making an iTunes style bar
  • From: Chad Weider <email@hidden>
  • Date: Wed, 5 Apr 2006 17:07:59 -0500


On Apr 3, 2006, at 3:47 AM, Conor Dearden wrote:

getting the gradient
The gradient you create as an image. Full vertical height but thin on the
horizontal, your going to repeat it horizontally, maybe even just one pixel
— but it's easier to work with more for visual purposes.


This here is Gamepedia's collection highlight pattern:

  collectionHeighlightColor = [[NSColor colorWithPatternImage:[NSImage
imageNamed:@"collectionHighlight.png"]] retain];

With collectionHeighlightColor as the set color you can draw in your
gradient pattern.

Some shameless self-promotion I suppose, but if you want to dynamically generate gradients (with CoreGraphics) you could use some code I wrote:


http://blog.oofn.net/projects/misc#CTGradient


Chad Weider email@hidden _______________________________________________ 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
References: 
 >Re: Making an iTunes style bar (From: Conor Dearden <email@hidden>)

  • Prev by Date: Re: Array operators [SOLVED]
  • Next by Date: NSSaveOperationType in prepareSavePanel
  • Previous by thread: Re: Making an iTunes style bar
  • Next by thread: repositioning NSSplitView divider with NSWindow windowDidResize:
  • Index(es):
    • Date
    • Thread