• 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: Icon Badges
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Icon Badges


  • Subject: Re: Icon Badges
  • From: Gregory Weston <email@hidden>
  • Date: Thu, 28 Mar 2002 07:11:16 -0500

On 3/27/02 at 10:33 PM, Charles Srstka <email@hidden> wrote:

> Anyone know of an easy way to put a badge on an NSImage, and put the
> badged image as a new NSImage?

You send lockFocus to your base NSImage, draw the badge just as you'd draw it to
an NSView and then unlockFocus.

G
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: [objC retain];
  • Next by Date: My cocoa app don't run on other computers
  • Previous by thread: Re: Icon Badges
  • Next by thread: NSTableView in a sheet
  • Index(es):
    • Date
    • Thread