#include <areadraw.h>


Public Member Functions | |
| FillAreaDraw (wxPen borderPen=(wxPen)*wxBLACK_PEN, wxBrush fillBrush=(wxBrush)*wxWHITE_BRUSH) | |
| FillAreaDraw (wxColour borderColour, wxColour fillColour) | |
| virtual void | Draw (wxDC &dc, wxRect rc) |
| const wxPen & | GetBorderPen () |
| void | SetBorderPen (wxPen borderPen) |
| const wxBrush & | GetFillBrush () |
| void | SetFillBrush (wxBrush fillBrush) |
Public Member Functions inherited from Observable< DrawObserver > | |
| void | AddObserver (DrawObserver *_observer) |
| void | RemoveObserver (DrawObserver *_observer) |
Additional Inherited Members | |
Public Types inherited from Observable< DrawObserver > | |
| typedef DrawObserver | Observer |
Public Attributes inherited from Observable< DrawObserver > | |
|
std::vector< DrawObserver * > ::iterator | OIt |
Protected Member Functions inherited from DrawObject | |
| FIRE_WITH_THIS (NeedRedraw) | |
Protected Attributes inherited from Observable< DrawObserver > | |
| std::vector< DrawObserver * > | observers |
Fills area with specified brush and draw outline of area with specified pen.
| FillAreaDraw::FillAreaDraw | ( | wxPen | borderPen = (wxPen) *wxBLACK_PEN, |
| wxBrush | fillBrush = (wxBrush) *wxWHITE_BRUSH |
||
| ) |
Constructs new fill area draw.
| borderPen | pen to draw area border |
| fillBrush | brush to fill area |
|
virtual |
|
inline |
Returns border pen.
|
inline |
Returns fill brush.
|
inline |
Sets border pen.
| borderPen | border pen |
|
inline |
Sets fill brush.
| fillBrush | fill brush |