aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/gui.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2009-08-10 18:03:37 +0000
committerJohannes Schickel2009-08-10 18:03:37 +0000
commit19d5aa25dc9997d9c3527e1c3326ed179331f836 (patch)
tree14823fd990087563872910b2bfc5ed7f97224986 /engines/kyra/gui.cpp
parent7c6ffa78e035103625d5d6e0c08d3590a129c8a3 (diff)
downloadscummvm-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/gui.cpp')
-rw-r--r--engines/kyra/gui.cpp10
1 files changed, 8 insertions, 2 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;