class Background

A background groups a matrix of pixels and a WindowPipe from it to GraphicMode

Public Methods

Background(const String *nameFile, GraphicMode& graphicMode, int jDecalShadow, int iDecalShadow) throw(Exception)
virtual ~Background() throw()
virtual void paint() throw()
Paint the matrix of the ground on the WindowPipe. Attention : do not refresh.
WindowPipe* getWindowPipe() throw()
int nbLine() const throw()
int nbColumn() const throw()

Protected Fields

PixelMatrix* data
UnderMaskMatrix* underMask
Window* winData
Window* winScreen
WindowPipe* windowPipe
Tji size

Protected Methods

void aplatir(GifIn& gif, int jDecalShadow, int iDecalShadow) throw()
Flatten the gif, creating the UnderMaskMatrix and the shadow

Documentation

A background groups a matrix of pixels and a WindowPipe from it to GraphicMode. So, it is easy to paint different animations on this background, through its WindowPipe.
PixelMatrix* data

UnderMaskMatrix* underMask

Window* winData

Window* winScreen

WindowPipe* windowPipe

Tji size

void aplatir(GifIn& gif, int jDecalShadow, int iDecalShadow) throw()
Flatten the gif, creating the UnderMaskMatrix and the shadow

Background(const String *nameFile, GraphicMode& graphicMode, int jDecalShadow, int iDecalShadow) throw(Exception)

virtual ~Background() throw()

virtual void paint() throw()
Paint the matrix of the ground on the WindowPipe. Attention : do not refresh.

WindowPipe* getWindowPipe() throw()

int nbLine() const throw()

int nbColumn() const throw()


This class has no child classes.
Author:
David FAUTHOUX
See Also:
WindowPipe
PixelMatrix
UnderMaskMatrix

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de