aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/kyra/gui.cpp10
-rw-r--r--engines/kyra/gui_lok.cpp1
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);