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:
parent
91146e51f5
commit
e15dafb9e4
6 changed files with 25 additions and 27 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue