MADS: Fixes for highlighting game actions

This commit is contained in:
Paul Gilbert 2014-03-26 20:47:46 -04:00
parent 253023b9bb
commit eeb4b940b7
2 changed files with 5 additions and 1 deletions

View File

@ -116,6 +116,7 @@ void Font::setColors(uint8 v1, uint8 v2, uint8 v3, uint8 v4) {
_fontColors[0] = v1;
_fontColors[1] = v2;
_fontColors[2] = v3;
_fontColors[3] = v4;
}
void Font::setColorMode(SelectionMode mode) {

View File

@ -687,7 +687,10 @@ void UserInterface::updateSelection(ScrCategory category, int newIndex, int *idx
void UserInterface::updateRect(const Common::Rect &bounds) {
_vm->_screen.setPointer(&_surface);
setBounds(Common::Rect(0, MADS_SCENE_HEIGHT, MADS_SCREEN_WIDTH - 1, MADS_SCREEN_HEIGHT));
_vm->_screen.copyRectToScreen(bounds);
Common::Rect r = bounds;
r.translate(0, MADS_SCENE_HEIGHT);
_vm->_screen.copyRectToScreen(r);
}
void UserInterface::scrollerChanged() {