Re: I need a milder application badge
Re: I need a milder application badge
- Subject: Re: I need a milder application badge
- From: Mike Abdullah <email@hidden>
- Date: Mon, 20 Jul 2009 13:30:13 +0100
You'll need to draw the custom content yourself by using -[NSDockTile
setContentView:]
On 20 Jul 2009, at 10:33, Jay Reynolds Freeman wrote:
I have cause to display something like an application badge on
the docktile of my app, but the alarums-and-excursions feel of
the standard bright red badge with zigzag edges is a bit too
strident for what I have in mind. Can anyone point me at a
scrap of code that would give me the functionality of
NSDockTile:setShowsApplicationBadge: and NSDockTile:setBadgeLabel:,
but would let me control the color and perhaps the shape of the
badge? Or is there a different approach that I might consider?
I don't need to change the badge color and shape at run-time; I would
be perfectly happy to have them hard-coded into the source for
whatever class or category I end up using. I *do* need run-time
control over the text of the label.
Thanks.
-- Jay Reynolds Freeman
---------------------
email@hidden
http://web.mac.com/jay_reynolds_freeman (personal web site)
_______________________________________________
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
_______________________________________________
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