#include <Draw.h>
Static Public Member Functions | |
void | Init () |
Initialize. | |
void | Bevel (wxDC &dc, const bool up, wxRect &r) |
Draw bevel. | |
void | Light (wxDC *dc, const bool selected) |
Set light color. | |
void | Medium (wxDC *dc, const bool selected) |
Set medium light color. | |
void | Dark (wxDC *dc, const bool selected) |
Set dark color. | |
void | Peak (wxDC *dc, const bool selected) |
Set waveform peak color. | |
void | XCursor (wxDC *dc) |
Set cursor (XOR inversion) color. | |
Static Public Attributes | |
wxBrush | lightBrush [2] |
Light brush. | |
wxBrush | mediumBrush [2] |
Medium brush. | |
wxBrush | darkBrush [2] |
Dark brush. | |
wxPen | lightPen [2] |
Light pen. | |
wxPen | mediumPen [2] |
Medium pen. | |
wxPen | darkPen [2] |
Dark pen. | |
wxPen | peakPen [2] |
Waveform peak pen. | |
wxPen | xcursorPen |
Cursor (XOR inversion) pen. | |
Static Private Attributes | |
bool | inited = false |
Initilized flag. |
Mostly static members for application-wide drawing colors and primitives.
|
Draw bevel.
|
|
Set dark color.
|
|
Initialize.
|
|
Set light color.
|
|
Set medium light color.
|
|
Set waveform peak color.
|
|
Set cursor (XOR inversion) color.
|
|
Dark brush.
|
|
Dark pen.
|
|
Initilized flag.
|
|
Light brush.
|
|
Light pen.
|
|
Medium brush.
|
|
Medium pen.
|
|
Waveform peak pen.
|
|
Cursor (XOR inversion) pen.
|