diff options
author | Johannes Schickel | 2009-08-10 18:03:37 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-08-10 18:03:37 +0000 |
commit | 19d5aa25dc9997d9c3527e1c3326ed179331f836 (patch) | |
tree | 14823fd990087563872910b2bfc5ed7f97224986 /engines/kyra | |
parent | 7c6ffa78e035103625d5d6e0c08d3590a129c8a3 (diff) | |
download | scummvm-rg350-19d5aa25dc9997d9c3527e1c3326ed179331f836.tar.gz scummvm-rg350-19d5aa25dc9997d9c3527e1c3326ed179331f836.tar.bz2 scummvm-rg350-19d5aa25dc9997d9c3527e1c3326ed179331f836.zip |
Fix GUI button outline colors in Kyra1 Amiga.
svn-id: r43213
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/gui.cpp | 10 | ||||
-rw-r--r-- | engines/kyra/gui_lok.cpp | 1 |
2 files changed, 8 insertions, 3 deletions
diff --git a/engines/kyra/gui.cpp b/engines/kyra/gui.cpp index f5651da006..cc1add9ce7 100644 --- a/engines/kyra/gui.cpp +++ b/engines/kyra/gui.cpp @@ -330,7 +330,10 @@ int GUI::redrawButtonCallback(Button *button) { return 0; _screen->hideMouse(); - _screen->drawBox(button->x + 1, button->y + 1, button->x + button->width - 1, button->y + button->height - 1, 0xF8); + if (_vm->gameFlags().platform == Common::kPlatformAmiga) + _screen->drawBox(button->x + 1, button->y + 1, button->x + button->width - 1, button->y + button->height - 1, 17); + else + _screen->drawBox(button->x + 1, button->y + 1, button->x + button->width - 1, button->y + button->height - 1, 0xF8); _screen->showMouse(); return 0; @@ -341,7 +344,10 @@ int GUI::redrawShadedButtonCallback(Button *button) { return 0; _screen->hideMouse(); - _screen->drawShadedBox(button->x, button->y, button->x + button->width, button->y + button->height, 0xF9, 0xFA); + if (_vm->gameFlags().platform == Common::kPlatformAmiga) + _screen->drawShadedBox(button->x, button->y, button->x + button->width, button->y + button->height, 31, 18); + else + _screen->drawShadedBox(button->x, button->y, button->x + button->width, button->y + button->height, 0xF9, 0xFA); _screen->showMouse(); return 0; diff --git a/engines/kyra/gui_lok.cpp b/engines/kyra/gui_lok.cpp index e90d6c7241..9ef20ba8a3 100644 --- a/engines/kyra/gui_lok.cpp +++ b/engines/kyra/gui_lok.cpp @@ -457,7 +457,6 @@ int GUI_LoK::buttonMenuCallback(Button *caller) { return 0; } - // XXX if (_vm->gameFlags().platform == Common::kPlatformAmiga) { _screen->setPaletteIndex(0x10, 0x3F, 0x3F, 0x3F); _screen->setInterfacePalette(_screen->getPalette(1), 0x3F, 0x3F, 0x3F); |