Carbon


Theme Font ID Constants

Header: Appearance.h

enum {
    kThemeSystemFont = 0,
    kThemeSmallSystemFont = 1,
    kThemeSmallEmphasizedSystemFont = 2,
    kThemeViewsFont = 3,
    kThemeEmphasizedSystemFont = 4,
    kThemeApplicationFont = 5,
    kThemeLabelFont = 6,
    kThemeMenuTitleFont = 100,
    kThemeMenuItemFont = 101,
    kThemeMenuItemMarkFont = 102,
    kThemeMenuItemCmdKeyFont = 103,
    kThemeWindowTitleFont = 104,
    kThemePushButtonFont = 105,
    kThemeUtilityWindowTitleFont = 106,
    kThemeAlertHeaderFont = 107,
    kThemeCurrentPortFont = 200
};

Constant descriptions

kThemeSystemFont

The current (large) system font.

kThemeSmallSystemFont

The current small system font.

kThemeSmallEmphasizedSystemFont

The current small, emphasized system font.

kThemeViewsFont

The current views font.

kThemeEmphasizedSystemFont
kThemeApplicationFont
kThemeLabelFont
kThemeMenuTitleFont
kThemeMenuItemFont
kThemeMenuItemMarkFont
kThemeMenuItemCmdKeyFont
kThemeWindowTitleFont
kThemePushButtonFont
kThemeUtilityWindowTitleFont
kThemeAlertHeaderFont
kThemeCurrentPortFont

Constants of type ThemeFontID identify the kinds of system fonts. Your application may pass a ThemeFontID constant to the function UseThemeFont to apply a font of the specified kind to the current port, or it may pass a ThemeFontID constant to the function GetThemeFont to retrieve information about the specified kind of font. The ThemeFontID constants are available with Appearance Manager 1.1 and later.


© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)