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
---------------------
jay_reynolds_free...@mac.com
http://web.mac.com/jay_reynolds_freeman (personal web site)
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/cocoadev%40mikeabdullah.net
This email sent to cocoa...@mikeabdullah.net
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com