Graphic or Aqua Theme
Graphic or Aqua Theme
- Subject: Graphic or Aqua Theme
- From: Jean-Daniel Dupas <email@hidden>
- Date: Thu, 01 May 2003 11:41:23 +0200
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.