<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Create iTunes Link Arrows</title>
	<atom:link href="http://www.bdunagan.com/2010/02/25/create-itunes-link-arrows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bdunagan.com/2010/02/25/create-itunes-link-arrows/</link>
	<description>fill the void</description>
	<lastBuildDate>Mon, 30 Jan 2012 09:42:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: bdunagan</title>
		<link>http://www.bdunagan.com/2010/02/25/create-itunes-link-arrows/comment-page-1/#comment-5995</link>
		<dc:creator>bdunagan</dc:creator>
		<pubDate>Sat, 21 Aug 2010 22:22:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.bdunagan.com/?p=645#comment-5995</guid>
		<description>@ken Only tried this just now. While [NSCell backgroundStyle] works well for highlighted/unhighlighted, it doesn&#039;t seem to work for when the window isn&#039;t key/focused.</description>
		<content:encoded><![CDATA[<p>@ken Only tried this just now. While [NSCell backgroundStyle] works well for highlighted/unhighlighted, it doesn&#8217;t seem to work for when the window isn&#8217;t key/focused.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ken</title>
		<link>http://www.bdunagan.com/2010/02/25/create-itunes-link-arrows/comment-page-1/#comment-4194</link>
		<dc:creator>ken</dc:creator>
		<pubDate>Fri, 26 Feb 2010 08:16:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.bdunagan.com/?p=645#comment-4194</guid>
		<description>Basically, try having your cell have an NSButtonCell as an instance.  Set the template image on the button cell.  Override setBackgroundStyle: to forward it to the button cell.  Override drawInterior to draw the button cell in addition to calling super.  Override -trackMouse:inRect:ofView:untilMouseUp: to forward tracking to the button cell when the initial mouse down is over the button.  Let the button cell handle all the work, just forward appropriate methods to it.</description>
		<content:encoded><![CDATA[<p>Basically, try having your cell have an NSButtonCell as an instance.  Set the template image on the button cell.  Override setBackgroundStyle: to forward it to the button cell.  Override drawInterior to draw the button cell in addition to calling super.  Override -trackMouse:inRect:ofView:untilMouseUp: to forward tracking to the button cell when the initial mouse down is over the button.  Let the button cell handle all the work, just forward appropriate methods to it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ken</title>
		<link>http://www.bdunagan.com/2010/02/25/create-itunes-link-arrows/comment-page-1/#comment-4193</link>
		<dc:creator>ken</dc:creator>
		<pubDate>Fri, 26 Feb 2010 08:13:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.bdunagan.com/?p=645#comment-4193</guid>
		<description>You shouldn&#039;t need quite this much work.  The image is supplied by the framework - see NSImageNameFollowLinkFreestandingTemplate.  The effects can also be done automatically provided you draw a cell rather than the image directly and propagate background styles correctly.  See http://developer.apple.com/mac/library/releasenotes/cocoa/AppKitOlderNotes.html#TextAndImageEffects for details.</description>
		<content:encoded><![CDATA[<p>You shouldn&#8217;t need quite this much work.  The image is supplied by the framework &#8211; see NSImageNameFollowLinkFreestandingTemplate.  The effects can also be done automatically provided you draw a cell rather than the image directly and propagate background styles correctly.  See <a href="http://developer.apple.com/mac/library/releasenotes/cocoa/AppKitOlderNotes.html#TextAndImageEffects" rel="nofollow">http://developer.apple.com/mac/library/releasenotes/cocoa/AppKitOlderNotes.html#TextAndImageEffects</a> for details.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

