AVALANCHE: Rework use of Common::Rect.

Now the right and bottom coordinates of the rectangles aren't included in them.
This commit is contained in:
uruk 2014-02-25 21:56:32 +01:00
parent 91146e51f5
commit e15dafb9e4
6 changed files with 25 additions and 27 deletions

View file

@ -66,8 +66,8 @@ void Help::switchPage(byte which) {
Common::String title = getLine(file);
_vm->_graphics->drawFilledRectangle(Common::Rect(0, 0, 639, 199), kColorBlue);
_vm->_graphics->drawFilledRectangle(Common::Rect(8, 40, 449, 199), kColorWhite);
_vm->_graphics->drawFilledRectangle(Common::Rect(0, 0, 640, 200), kColorBlue);
_vm->_graphics->drawFilledRectangle(Common::Rect(8, 40, 450, 200), kColorWhite);
byte index = file.readByte();
_vm->_graphics->helpDrawButton(-177, index);