![]() |
ThemeTrackDrawInfo |
Header: Appearance.h |
struct ThemeTrackDrawInfo { ThemeTrackKind kind; Rect bounds; SInt32 min; SInt32 max; SInt32 value; UInt32 reserved; ThemeTrackAttributes attributes; ThemeTrackEnableState enableState; UInt8 filler1; union { ScrollBarTrackInfo scrollbar; SliderTrackInfo slider; ProgressTrackInfo progress; } trackInfo; };
A value of type ThemeTrackKind, specifying the type of track to be drawn. See
A structure of type Rect specifying the dimensions and position of the track, in local coordinates.
A signed 32-bit integer specifying the minimum value for the track.
A signed 32-bit integer specifying the maximum value for the track.
A signed 32-bit integer specifying the current value for the track.
Reserved.
A value of type ThemeTrackAttributes specifying additional attributes of the track, such as whether the track has an indicator. See
A value of type ThemeTrackEnableState specifying the current state of the track control; see
A union of the ScrollBarTrackInfo, SliderTrackInfo, and ProgressTrackInfo structures. Your application fills in the structure that is appropriate for the kind of track with which you are working. See ScrollBarTrackInfo, SliderTrackInfo, and ProgressTrackInfo for details on these structures.
Your application fills out the applicable fields of a ThemeTrackDrawInfo structure to fully describe any given track control.
The ThemeTrackDrawInfo structure is available with Appearance Manager 1.1 and later.
© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)