Re: Checkmark on Jaguar?
Re: Checkmark on Jaguar?
- Subject: Re: Checkmark on Jaguar?
- From: David Remahl <email@hidden>
- Date: Mon, 26 Aug 2002 02:48:12 +0200
This will get you a copy. Of course there aren't any guarantees that its
name will remain the same internally to AppKit, so you may be best off
saving a copy in your bundle.
[[[NSImage imageNamed:@"NSMenuCheckmark"] TIFFRepresentation]
writeToFile:@"/some/target/path.tiff" atomically:NO];
/ Rgds, David
>
Hi,
>
>
One of my applications displays a checkmark in a NSTableView. I've
>
never been able to find the symbol that gets used in menus, which
>
would be ideal, so I use the following:
>
>
FSACheckMarkCharacter = [[NSString alloc] initWithCharacters:
>
(const unichar *)"\x27\x13" length: 1];
>
>
This looks to be matching the Chicago or Charcoal font in 10.1, which
>
gives a reasonable appearance, but I get Lucida Grande on 10.2, and
>
that's excessively stylized. (The Character Palette in 10.2 is really
>
nice, btw!)
>
>
Anyone know how I can get a copy of the checkmark symbol that the OS
>
uses, or at least get back the behavior I had in 10.1?
>
>
Thanks,
_______________________________________________
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.