Inheritance diagram for CP_DrawOSElements:
Public Member Functions | |
Constructor / Destructor | |
CP_DrawOSElements (CP_View *inDestView, CP_Canvas &inDestCanvas) | |
Constructor. | |
virtual | ~CP_DrawOSElements () throw () |
Destructor. | |
Buttons | |
void | DrawButton (const CP_Rect &inBounds, SInt32 inValue, bool inIsActive, UInt32 inUserData) |
void | DrawListButton (const CP_Rect &inBounds, SInt32 inValue, bool inIsActive, UInt32 inUserData, bool inSortDirectionUp) |
void | DrawPushButton (const CP_Rect &inBounds, SInt32 inValue, bool inIsActive, UInt32 inUserData) |
Frames | |
void | DrawFrame (const CP_Rect &inBounds, bool inPrimary, bool inIsActive) |
Headers | |
void | DrawPlacard (const CP_Rect &inBounds, bool inIsActive) |
void | DrawWindowHeader (const CP_Rect &inBounds, bool inIsListHeader, bool inIsActive) |
Hilite | |
void | DrawHilite (const CP_Rect &inBounds, bool inIsActive) |
Misc | |
void | DrawDisclosure (const CP_Rect &inBounds, CP_E_Direction inDirection, bool inIsActive, UInt32 inUserData) |
void | DrawPopupArrow (const CP_Rect &inBounds, CP_E_Direction inDirection) |
void | DrawSeparator (const CP_Rect &inBounds, bool inIsActive) |
void | DrawSplitter (const CP_Rect &inBounds, bool inIsActive) |
Text | |
void | DrawText (const CP_Rect &inBounds, const CP_String &inText, bool inIsActive, SInt32 inHorTextAlignment=CP_E_TextAlign_HorLeft, SInt32 inVerTextPlacement=CP_E_TextAlign_VerMiddle) |
CP_Size | MeasureText (const CP_String &inText, bool inIsActive) |
Tracks | |
void | DrawSlider (const CP_Rect &inBounds, bool inIsActive, SInt32 inMin, SInt32 inMax, SInt32 inValue, UInt32 inUserData) |
Getters | |
ThemeEraseUPP | GetEraseUPP () |
Setters | |
void | SetEraseUPP (ThemeEraseUPP inEraseUPP) |
Protected Attributes | |
CP_View * | fDestView |
CP_Canvas | fDestCanvas |
ThemeEraseUPP | fEraseUPP |
|
Constructor.
|
|
Destructor.
|
|
Draws an OS button.
|
|
Draws an OS list type button such as the type found in headers.
|
|
Draws an OS push button.
|
|
Draws an OS group box frame.
|
|
Draws an OS placard.
|
|
Draws an OS window header.
|
|
Draws an OS hilite.
|
|
Draws an OS disclosure indicator.
|
|
Draws an OS popup arrow.
|
|
Draws an OS separator line.
|
|
Draws an OS splitter indicator.
|
|
Draws some OS theme style text.
|
|
Measures some OS theme style text.
|
|
Draws an OS slider.
|
|
Gets the MacOS ThemeEraseUPP used to erase the background of drawn elements.
|
|
Sets the MacOS ThemeEraseUPP used to erase the background of drawn elements.
|
|
|
|
CP_View that is being drawn into. |
|
Destination CP_Canvas that is used for the drawing. |