Re: Graphic or Aqua Theme
Re: Graphic or Aqua Theme
- Subject: Re: Graphic or Aqua Theme
- From: "Mark's Studio" <email@hidden>
- Date: Thu, 1 May 2003 12:09:47 +0200
if([[NSUserDefaults standardUserDefaults]
integerForKey:@"AppleAquaColorVariant"]==6)
// Graphite
On torsdag, maj 1, 2003, at 11:41 Europe/Copenhagen, Jean-Daniel Dupas
wrote:
>
I just want to know how find if the user use blue aqua theme or graphic
>
theme, to adapt the interface of my application.
>
But when i use the CopyThemeIdentifier fonction it always return
>
KThemeAppearanceAquaBlue, wathever is my preference.
>
What is the problem?
>
>
BOOL graphite;
>
CFStringRef str = nil;
>
CopyThemeIdentifier(&str);
>
graphite = CFStringCompare(str,kThemeAppearanceAquaGraphite,0) ==
>
kCFCompareEqualTo;
>
CFRelease(str);
>
if (graphite) //graphite is always NO
>
CFShow(CFSTR("Graphite"));
>
else
>
CFShow(CFSTR("Blue"));
>
_______________________________________________
>
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.
>
>
Peter Mark
Mark's Recording Studio A/S
Lundeskovsvej 3 2900 Hellerup
Denmark
Tel: +45 35366078 Fax: +45 35366038
www.marks-studio.dk
email@hidden
_______________________________________________
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.