diff options
author | Johannes Schickel | 2009-09-30 14:53:34 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-09-30 14:53:34 +0000 |
commit | b8c7237d12ac766dc5db9a5731e3e50f0715cd09 (patch) | |
tree | 29127cfdb3dde538dd359568a0a79bc4ef76d729 /engines/kyra/gui.cpp | |
parent | 03a26923c91ee608382bce6d11af4a9049fa86dc (diff) | |
download | scummvm-rg350-b8c7237d12ac766dc5db9a5731e3e50f0715cd09.tar.gz scummvm-rg350-b8c7237d12ac766dc5db9a5731e3e50f0715cd09.tar.bz2 scummvm-rg350-b8c7237d12ac766dc5db9a5731e3e50f0715cd09.zip |
Cleanup: got rid of Screen::ShadeType.
svn-id: r44487
Diffstat (limited to 'engines/kyra/gui.cpp')
-rw-r--r-- | engines/kyra/gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/gui.cpp b/engines/kyra/gui.cpp index e2bf8091f3..0533e55574 100644 --- a/engines/kyra/gui.cpp +++ b/engines/kyra/gui.cpp @@ -83,7 +83,7 @@ void GUI::initMenu(Menu &menu) { int menu_y2 = menu.height + menu.y - 1; _screen->fillRect(menu.x + 2, menu.y + 2, menu_x2 - 2, menu_y2 - 2, menu.bkgdColor); - _screen->drawShadedBox(menu.x, menu.y, menu_x2, menu_y2, menu.color1, menu.color2, _vm->gameFlags().gameID == GI_LOL ? Screen::kShadeTypeLol : Screen::kShadeTypeKyra); + _screen->drawShadedBox(menu.x, menu.y, menu_x2, menu_y2, menu.color1, menu.color2); if (menu.titleX != -1) textX = menu.titleX; @@ -127,7 +127,7 @@ void GUI::initMenu(Menu &menu) { } _screen->fillRect(x1, y1, x2, y2, menu.item[i].bkgdColor); - _screen->drawShadedBox(x1, y1, x2, y2, menu.item[i].color1, menu.item[i].color2, _vm->gameFlags().gameID == GI_LOL ? Screen::kShadeTypeLol : Screen::kShadeTypeKyra); + _screen->drawShadedBox(x1, y1, x2, y2, menu.item[i].color1, menu.item[i].color2); if (getMenuItemTitle(menu.item[i])) { if (menu.item[i].titleX != -1) |