Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

Public Member Functions

PaletteManager Class Reference

#include <palette.h>

Inheritance diagram for PaletteManager:
Inheritance graph
Collaboration diagram for PaletteManager:
Collaboration graph

List of all members.

Public Member Functions

virtual void grabPalette (byte *colors, uint start, uint num)=0
virtual void setPalette (const byte *colors, uint start, uint num)=0

Detailed Description

The PaletteManager is part of the OSystem backend API and responsible for handling the (possibly emulated) "hardware" palette needed for many old games (e.g. in EGA and VGA mode).

By itself it is a pure abstract class, i.e. an "interface"; you can use the OSystem::getPaletteManager() method to obtain an instance that you can use to perform actual palette modifications.

Definition at line 41 of file palette.h.

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

Generated by  Doxygen 1.6.0   Back to index