#include <BorderDecorator.h>
Inherits Decorator.

Public Member Functions | |
| BorderDecorator (VisualComponent *pvc, int borderWidth) | |
| virtual void | Draw () |
Static Public Attributes | |
| static const int | DEFAULT_BORDER_WIDTH = 1 |
Private Member Functions | |
| void | DrawBorder (int width_) |
Private Attributes | |
| int | m_width |
Definition at line 6 of file BorderDecorator.h.
| BorderDecorator::BorderDecorator | ( | VisualComponent * | pvc, | |
| int | borderWidth | |||
| ) | [inline] |
Definition at line 11 of file BorderDecorator.h.
| virtual void BorderDecorator::Draw | ( | ) | [inline, virtual] |
Reimplemented from Decorator.
Definition at line 17 of file BorderDecorator.h.
References DrawBorder(), and m_width.

| void BorderDecorator::DrawBorder | ( | int | width_ | ) | [inline, private] |
Definition at line 24 of file BorderDecorator.h.
Referenced by Draw().

const int BorderDecorator::DEFAULT_BORDER_WIDTH = 1 [static] |
int BorderDecorator::m_width [private] |