Re: Accessing Aqua metrics without Carbon
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.