mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 00:41:12 +00:00
AVALANCHE: Implement setBackgroundColor().
This commit is contained in:
parent
78b25b17d1
commit
b5b0aa25e0
@ -811,9 +811,12 @@ void GraphicManager::setDialogColor(Color bg, Color text) {
|
||||
_talkFontColor = text;
|
||||
}
|
||||
|
||||
// Original name background()
|
||||
void GraphicManager::setBackgroundColor(Color x) {
|
||||
warning("STUB: setBackgroundColor()");
|
||||
/**
|
||||
* Changes the black color of the palette to the selected one.
|
||||
* @remarks Originally called 'background'
|
||||
*/
|
||||
void GraphicManager::setBackgroundColor(Color newColor) {
|
||||
g_system->getPaletteManager()->setPalette(_egaPalette[kEgaPaletteIndex[newColor]], kColorBlack, 1);
|
||||
}
|
||||
|
||||
} // End of namespace Avalanche
|
||||
|
@ -107,7 +107,7 @@ public:
|
||||
void refreshScreen();
|
||||
void loadBackground(Common::File &file);
|
||||
void refreshBackground();
|
||||
void setBackgroundColor(Color x);
|
||||
void setBackgroundColor(Color newColor);
|
||||
void setDialogColor(Color bg, Color text);
|
||||
|
||||
void zoomOut(int16 x, int16 y);
|
||||
|
Loading…
Reference in New Issue
Block a user