ScummVM API documentation
DS::Background Class Reference

Public Member Functions

 Background (Graphics::Surface *surface, int layer, bool isSub, int mapBase, bool swScale)
 
void update ()
 
void reset ()
 
void show ()
 
void hide ()
 
bool isVisible () const
 
void setScalef (int32 sx, int32 sy)
 
void setScale (int sx, int sy)
 
void setScrollf (int32 x, int32 y)
 
void setScroll (int x, int y)
 
Common::Point realToScaled (int16 x, int16 y) const
 
Common::Point scaledToReal (int16 x, int16 y) const
 

Static Public Member Functions

static size_t getRequiredVRAM (uint16 width, uint16 height, bool isRGB, bool swScale)
 

Protected Attributes

int _bg
 
bool _visible
 
bool _swScale
 
uint16 _pitch
 
int32 _scrollX
 
int32 _scrollY
 
int32 _scaleX
 
int32 _scaleY
 
Graphics::Surface_surface
 

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