AWind
DecoratorColor Class Reference

Decorator primitive that sets current color. Overriden members description see Decorator class documentation. More...

#include <DecoratorPrimitives.h>

Inheritance diagram for DecoratorColor:
Decorator

Public Member Functions

 DecoratorColor (Color color)
 Constructor. More...
 
void Draw (DC *dc, int left, int top, int width, int height)
 Drawing code implementation. More...
 
- Public Member Functions inherited from Decorator
virtual int EstimateLeft (DC *dc)
 Estimates decorator left coordinate.
 
virtual int EstimateRight (DC *dc)
 Estimates decorator right coordinate.
 
virtual int EstimateTop (DC *dc)
 Estimates decorator top coordinate.
 
virtual int EstimateBottom (DC *dc)
 Estimates decorator bottom coordinate.
 

Detailed Description

Decorator primitive that sets current color. Overriden members description see Decorator class documentation.

Constructor & Destructor Documentation

DecoratorColor::DecoratorColor ( Color  color)
inline

Constructor.

Parameters
currentcolor

Member Function Documentation

void DecoratorColor::Draw ( DC dc,
int  left,
int  top,
int  width,
int  height 
)
inlinevirtual

Drawing code implementation.

Parameters
dcdevice context

Implements Decorator.


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