mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-17 23:27:37 +00:00
MADS: Fixes for highlighting game actions
This commit is contained in:
parent
253023b9bb
commit
eeb4b940b7
@ -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) {
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user