Appearance Manager Reference
PDF
Overview
Functions by Task
Accessing Theme Information
Drawing Theme-Compliant Controls
Drawing Theme-Compliant Menus
Drawing Theme-Compliant Windows
Playing Theme Sounds
Registering With the Appearance Manager
Specifying Theme-Compliant Cursors
Using Theme-Compliant Colors and Patterns
Drawing Theme-Compliant Text
Creating and Disposing Universal Procedure Pointers to Appearance Manager Callbacks
Functions
BeginThemeDragSound
CopyThemeIdentifier
DisposeThemeDrawingState
EndThemeDragSound
GetTheme
GetThemeBrushAsColor
GetThemeCheckBoxStyle
GetThemeDrawingState
GetThemeMenuBarHeight
GetThemeMenuItemExtra
GetThemeMenuSeparatorHeight
GetThemeMenuTitleExtra
GetThemeMetric
GetThemeScrollBarArrowStyle
GetThemeScrollBarThumbStyle
GetThemeTextColor
GetThemeTextShadowOutset
NormalizeThemeDrawingState
PlayThemeSound
SetAnimatedThemeCursor
SetThemeCursor
SetThemeDrawingState
Callbacks
MenuItemDrawingProcPtr
MenuTitleDrawingProcPtr
ThemeButtonDrawProcPtr
ThemeEraseProcPtr
ThemeIteratorProcPtr
ThemeTabTitleDrawProcPtr
WindowTitleDrawingProcPtr
Data Types
ProgressTrackInfo
ScrollBarTrackInfo
SliderTrackInfo
ThemeButtonDrawInfo
ThemeTrackDrawInfo
ThemeWindowMetrics
ThemeDrawingState
MenuItemDrawingUPP
MenuTitleDrawingUPP
ThemeButtonDrawUPP
ThemeEraseUPP
ThemeIteratorUPP
ThemeTabTitleDrawUPP
WindowTitleDrawingUPP
Constants
Appearance Manager Apple Events
Appearance Manager File Types
Theme Collection Tags
Theme Drawing States
Theme Metrics
Theme Backgrounds
Theme Brushes
Theme Buttons
Theme Button Adornments
Theme Button Values
Theme Pop-Up Arrow Orientations
Theme Pop-Up Arrow Sizes
Theme Checkbox Styles
Theme Cursors
Theme Font IDs
kPublicThemeFontCount
Theme Text Colors
Theme Menu Types
Theme Menu States
Theme Menu Bar States
Theme Menu Item Types
kThemeMenuSquareMenuBar
Theme Scroll Bar Arrow Styles
Theme Scroll Box Styles
Theme Size Box Directions
Theme Thumb Directions
Theme Tab Directions
Theme Tab Styles
Tab Heights
Theme Track Attributes
Theme Track States
Theme Track Kinds
Theme Track Press States
Theme Window Types
Theme Window Attributes
Theme Title Bar Items
Pop-up Window Tab Positions
Theme Sound Masks
Theme Sounds
Theme Drag Sounds
Desktop Picture Alignments
appearanceBadBrushIndexErr
kAEThemeSwitch
kThemeActiveDialogBackgroundBrush
kThemeActiveScrollBarDelimiterBrush
kThemeBrushPassiveAreaFill
kThemeActiveDialogTextColor
kThemeActiveDocumentWindowTitleTextColor
kThemeScrollBar
kThemeMetricCheckBoxGlyphHeight
kThemeNoAdornment
kThemeStateDisabled
kThemeWidgetABox
Result Codes
Gestalt Constants
Appendix A: Deprecated Appearance Manager Functions
Deprecated in Mac OS X v10.5
ApplyThemeBackground
DisposeMenuItemDrawingUPP
DisposeMenuTitleDrawingUPP
DisposeThemeButtonDrawUPP
DisposeThemeEraseUPP
DisposeThemeIteratorUPP
DisposeThemeTabTitleDrawUPP
DisposeWindowTitleDrawingUPP
DrawThemeButton
DrawThemeChasingArrows
DrawThemeEditTextFrame
DrawThemeFocusRect
DrawThemeFocusRegion
DrawThemeGenericWell
DrawThemeListBoxFrame
DrawThemeMenuBackground
DrawThemeMenuBarBackground
DrawThemeMenuItem
DrawThemeMenuSeparator
DrawThemeMenuTitle
DrawThemeModelessDialogFrame
DrawThemePlacard
DrawThemePopupArrow
DrawThemePrimaryGroup
DrawThemeScrollBarArrows
DrawThemeScrollBarDelimiters
DrawThemeSecondaryGroup
DrawThemeSeparator
DrawThemeStandaloneGrowBox
DrawThemeStandaloneNoGrowBox
DrawThemeTab
DrawThemeTabPane
DrawThemeTextBox
DrawThemeTickMark
DrawThemeTitleBarWidget
DrawThemeTrack
DrawThemeTrackTickMarks
DrawThemeWindowFrame
DrawThemeWindowHeader
DrawThemeWindowListViewHeader
GetThemeAccentColors
GetThemeButtonBackgroundBounds
GetThemeButtonContentBounds
GetThemeButtonRegion
GetThemeFont
GetThemeMenuBackgroundRegion
GetThemeScrollBarTrackRect
GetThemeStandaloneGrowBoxBounds
GetThemeTabRegion
GetThemeTextDimensions
GetThemeTrackBounds
GetThemeTrackDragRect
GetThemeTrackLiveValue
GetThemeTrackThumbPositionFromOffset
GetThemeTrackThumbPositionFromRegion
GetThemeTrackThumbRgn
GetThemeWindowRegion
GetThemeWindowRegionHit
HitTestThemeScrollBarArrows
HitTestThemeTrack
InvokeMenuItemDrawingUPP
InvokeMenuTitleDrawingUPP
InvokeThemeButtonDrawUPP
InvokeThemeEraseUPP
InvokeThemeIteratorUPP
InvokeThemeTabTitleDrawUPP
InvokeWindowTitleDrawingUPP
IsAppearanceClient
IsThemeInColor
IsValidAppearanceFileType
IterateThemes
NewMenuItemDrawingUPP
NewMenuTitleDrawingUPP
NewThemeButtonDrawUPP
NewThemeEraseUPP
NewThemeIteratorUPP
NewThemeTabTitleDrawUPP
NewWindowTitleDrawingUPP
RegisterAppearanceClient
SetTheme
SetThemeBackground
SetThemePen
SetThemeTextColor
TruncateThemeText
UnregisterAppearanceClient
UseThemeFont
Revision History
Index