COMMON: OSystem now has a PaletteManager

svn-id: r55806
This commit is contained in:
Max Horn 2011-02-07 17:52:38 +00:00
parent 8981fa3f16
commit ab039812e7
73 changed files with 367 additions and 203 deletions

View file

@ -132,12 +132,8 @@ int16 ModularBackend::getWidth() {
return _graphicsManager->getWidth();
}
void ModularBackend::setPalette(const byte *colors, uint start, uint num) {
_graphicsManager->setPalette(colors, start, num);
}
void ModularBackend::grabPalette(byte *colors, uint start, uint num) {
_graphicsManager->grabPalette(colors, start, num);
PaletteManager *ModularBackend::getPaletteManager() {
return _graphicsManager;
}
void ModularBackend::copyRectToScreen(const byte *buf, int pitch, int x, int y, int w, int h) {