aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2012-09-07 00:40:42 +0200
committerJohannes Schickel2012-09-07 00:40:42 +0200
commitda4e3c4f2aa2f426971f9213f98486d8e484e2b8 (patch)
tree2eec31ab5ad6163111c1beb2447bbd4de2a79a9a /engines
parent33cdddb7ec48f208d8873120c93aca1c17d7026f (diff)
downloadscummvm-rg350-da4e3c4f2aa2f426971f9213f98486d8e484e2b8.tar.gz
scummvm-rg350-da4e3c4f2aa2f426971f9213f98486d8e484e2b8.tar.bz2
scummvm-rg350-da4e3c4f2aa2f426971f9213f98486d8e484e2b8.zip
CINE: Make selection menu focus rectangle match the original size.
Compared against real FW Amiga under UAE and FW Dos under DOSBox.
Diffstat (limited to 'engines')
-rw-r--r--engines/cine/gfx.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/engines/cine/gfx.cpp b/engines/cine/gfx.cpp
index b5b427207b..030bee4fad 100644
--- a/engines/cine/gfx.cpp
+++ b/engines/cine/gfx.cpp
@@ -1001,11 +1001,19 @@ void SelectionMenu::drawMenu(FWRenderer &r, bool top) {
charX = x + 4;
if (i == _selection) {
+ int color;
+
if (isAmiga) {
- r.drawPlainBox(charX, lineY, _width - 8, FONT_HEIGHT, top ? 2 : 18);
+ if (top) {
+ color = 2;
+ } else {
+ color = 18;
+ }
} else {
- r.drawPlainBox(charX, lineY, _width - 8, 9, 0);
+ color = 0;
}
+
+ r.drawPlainBox(x + 2, lineY - 1, _width - 3, 9, color);
}
const int size = _elements[i].size();