ScummVM
LastExpress::GraphicsManager Class Reference

#include <graphics.h>

+ Collaboration diagram for LastExpress::GraphicsManager:

Public Types

enum  BackgroundType {
  kBackgroundA, kBackgroundC, kBackgroundOverlay, kBackgroundInventory,
  kBackgroundAll
}
 

Public Member Functions

 GraphicsManager ()
 
 ~GraphicsManager ()
 
void update ()
 
void change ()
 
void clear (BackgroundType type)
 
void clear (BackgroundType type, const Common::Rect &rect)
 
bool draw (Drawable *drawable, BackgroundType type, bool transition=false)
 

Public Attributes

Graphics::Surface _screen
 

Private Member Functions

void mergePlanes ()
 
void updateScreen ()
 
Graphics::SurfacegetSurface (BackgroundType type)
 

Private Attributes

Graphics::Surface _backgroundA
 
Graphics::Surface _backgroundC
 
Graphics::Surface _overlay
 
Graphics::Surface _inventory
 
bool _changed
 

Detailed Description

Definition at line 30 of file graphics.h.

Member Enumeration Documentation

◆ BackgroundType

Enumerator
kBackgroundA 
kBackgroundC 
kBackgroundOverlay 
kBackgroundInventory 
kBackgroundAll 

Definition at line 32 of file graphics.h.

Constructor & Destructor Documentation

◆ GraphicsManager()

GraphicsManager::GraphicsManager ( )

Definition at line 33 of file graphics.cpp.

◆ ~GraphicsManager()

GraphicsManager::~GraphicsManager ( )

Definition at line 46 of file graphics.cpp.

Member Function Documentation

◆ change()

void GraphicsManager::change ( )

Definition at line 64 of file graphics.cpp.

◆ clear() [1/2]

void GraphicsManager::clear ( BackgroundType  type)

Definition at line 68 of file graphics.cpp.

◆ clear() [2/2]

void GraphicsManager::clear ( BackgroundType  type,
const Common::Rect rect 
)

Definition at line 72 of file graphics.cpp.

◆ draw()

bool GraphicsManager::draw ( Drawable drawable,
BackgroundType  type,
bool  transition = false 
)

Definition at line 94 of file graphics.cpp.

◆ getSurface()

Graphics::Surface * GraphicsManager::getSurface ( BackgroundType  type)
private

Definition at line 105 of file graphics.cpp.

◆ mergePlanes()

void GraphicsManager::mergePlanes ( )
private

Definition at line 130 of file graphics.cpp.

◆ update()

void GraphicsManager::update ( )

Definition at line 55 of file graphics.cpp.

◆ updateScreen()

void GraphicsManager::updateScreen ( void  )
private

Definition at line 161 of file graphics.cpp.

Member Data Documentation

◆ _backgroundA

Graphics::Surface LastExpress::GraphicsManager::_backgroundA
private

Definition at line 59 of file graphics.h.

◆ _backgroundC

Graphics::Surface LastExpress::GraphicsManager::_backgroundC
private

Definition at line 60 of file graphics.h.

◆ _changed

bool LastExpress::GraphicsManager::_changed
private

Definition at line 68 of file graphics.h.

◆ _inventory

Graphics::Surface LastExpress::GraphicsManager::_inventory
private

Definition at line 62 of file graphics.h.

◆ _overlay

Graphics::Surface LastExpress::GraphicsManager::_overlay
private

Definition at line 61 of file graphics.h.

◆ _screen

Graphics::Surface LastExpress::GraphicsManager::_screen

Definition at line 54 of file graphics.h.


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