You may pass constants of type ThemeTitleBarWidget to the function DrawThemeTitleBarWidget to draw specific types of window title bar items. The Appearance Manager draws a theme-compliant version of the title bar item type, as is appropriate. The ThemeTitleBarWidget constants are available with Appearance Manager 1.1 and later.
enum {
kThemeWidgetCloseBox = 0,
kThemeWidgetZoomBox = 1,
kThemeWidgetCollapseBox = 2
};
typedef UInt16 ThemeTitleBarWidget;