• 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: Accessing Aqua metrics without Carbon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing Aqua metrics without Carbon


  • Subject: Re: Accessing Aqua metrics without Carbon
  • From: Nicholas Riley <email@hidden>
  • Date: Wed, 2 Jul 2003 09:01:32 -0500
  • Mail-followup-to: email@hidden, cocoa-dev <email@hidden>

On Tue, Jul 01, 2003 at 05:43:20PM -0400, email@hidden wrote:
> I'm looking for a way to access the proper standard metrics for a control
> (such as an NSPopupButton) without the use of Carbon.
>
> Using Carbon I could simply call GetThemeMetric() with the appropriate metric
> constant and get the value I want, but since I'm writing a Cocoa app, this
> would be a mighty large resource hit for accessing what amounts to be a
> constant.
>
> Is there an alternative Cocoa API for this?

No. Cocoa uses Carbon anyway, and most serious Cocoa apps directly
access Carbon, so you're unlikely to see a major launch-time performance hit.

--
=Nicholas Riley <email@hidden> | <http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
_______________________________________________
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: 
 >Accessing Aqua metrics without Carbon (From: email@hidden)

  • Prev by Date: Re: NSOpenGLView. How does it work?
  • Next by Date: Re: Merging BezierPath
  • Previous by thread: Accessing Aqua metrics without Carbon
  • Next by thread: IOKit Power Manager Help
  • Index(es):
    • Date
    • Thread