Carbon


Meta Font Constants

Header: Controls.h

enum {
    kControlFontBigSystemFont = -1,
    kControlFontSmallSystemFont = -2,
    kControlFontSmallBoldSystemFont = -3,
    kControlFontViewSystemFont = -4
};

Constant descriptions

kControlFontBigSystemFont

Use the system font.

kControlFontSmallSystemFont

Use the small system font.

kControlFontSmallBoldSystemFont

Use the small emphasized system font (emphasis applied correctly for locale).

kControlFontViewSystemFont

You can use the meta font constants in the font field of the structure ControlFontStyleRec and the Font ID field of a dialog font table resource to specify the style, size, and font family of the control font. You should use these meta font constants whenever possible because the system font can change, depending upon the current theme. If none of these constants are specified, the control uses the system font unless directed to use a window font by a control variant.

VERSION NOTES

The meta font constants are available with Appearance Manager 1.0 and later.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)