ScrollDecorator Class Reference

#include <ScrollDecorator.h>

Inherits Decorator.

Collaboration diagram for ScrollDecorator:

Collaboration graph
[legend]

List of all members.

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


Detailed Description

Definition at line 6 of file ScrollDecorator.h.


Constructor & Destructor Documentation

ScrollDecorator::ScrollDecorator ( VisualComponent pvc,
int  position_ 
) [inline]

Definition at line 10 of file ScrollDecorator.h.


Member Function Documentation

virtual void ScrollDecorator::Draw (  )  [inline, virtual]

Reimplemented from Decorator.

Definition at line 16 of file ScrollDecorator.h.

References DrawScroll(), and m_scrollPosition.

Here is the call graph for this function:

void ScrollDecorator::DrawScroll ( int  position_  )  [inline, private]

Definition at line 23 of file ScrollDecorator.h.

Referenced by Draw().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 8 of file ScrollDecorator.h.

Referenced by main().

Definition at line 29 of file ScrollDecorator.h.

Referenced by Draw().


The documentation for this class was generated from the following file:

Generated on Fri Mar 20 23:29:12 2009 for Decorator Design Pattern by  doxygen 1.5.8