#include <ScrollDecorator.h>
Inherits Decorator.
Public Member Functions | |
ScrollDecorator (VisualComponent *pvc, int position_) | |
virtual void | Draw () |
Static Public Attributes | |
static const int | INITIAL_SCROLL_POSITION = 0 |
Private Member Functions | |
void | DrawScroll (int position_) |
Private Attributes | |
int | m_scrollPosition |
Definition at line 6 of file ScrollDecorator.h.
ScrollDecorator::ScrollDecorator | ( | VisualComponent * | pvc, | |
int | position_ | |||
) | [inline] |
Definition at line 10 of file ScrollDecorator.h.
virtual void ScrollDecorator::Draw | ( | ) | [inline, virtual] |
Reimplemented from Decorator.
Definition at line 16 of file ScrollDecorator.h.
References DrawScroll(), and m_scrollPosition.
void ScrollDecorator::DrawScroll | ( | int | position_ | ) | [inline, private] |
Definition at line 23 of file ScrollDecorator.h.
Referenced by Draw().
const int ScrollDecorator::INITIAL_SCROLL_POSITION = 0 [static] |
int ScrollDecorator::m_scrollPosition [private] |