• 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: Graphic or Aqua Theme
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Graphic or Aqua Theme (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: User/Pass Authentication
  • Next by Date: Large view to NSBitmapImageRep
  • Previous by thread: Graphic or Aqua Theme
  • Next by thread: Re: User/Pass Authentication
  • Index(es):
    • Date
    • Thread