AWind
Decorator Class Referenceabstract

Base class for window decorators. This concept allows sharing of drawing setting among more than one window -> SRAM memory usage optimization. More...

#include <Decorator.h>

Inheritance diagram for Decorator:
Decorator3DRect DecoratorAxis DecoratorBoundaryLine DecoratorColor DecoratorRectFill DecoratorRectGradientFill DecoratorRoundRect

Public Member Functions

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.
 
virtual void Draw (DC *dc, int left, int top, int width, int height)=0
 Drawing code implementation. More...
 

Detailed Description

Base class for window decorators. This concept allows sharing of drawing setting among more than one window -> SRAM memory usage optimization.

Member Function Documentation

virtual void Decorator::Draw ( DC dc,
int  left,
int  top,
int  width,
int  height 
)
pure virtual

Drawing code implementation.

Parameters
dcdevice context

Implemented in DecoratorAxis, Decorator3DRect, DecoratorRoundRect, DecoratorRectGradientFill, DecoratorRectFill, DecoratorBoundaryLine, and DecoratorColor.


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