mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 18:06:26 +00:00
AGS: Minor cleaning to match upstream code
This commit is contained in:
parent
02c7775465
commit
31871e4730
@ -562,16 +562,15 @@ void DialogOptions::Show() {
|
||||
}
|
||||
} else {
|
||||
//dlgyp=(_GP(play).viewport.GetHeight()-numdisp*txthit)-1;
|
||||
const Rect &uiView = _GP(play).GetUIViewport();
|
||||
areawid = uiView.GetWidth() - 5;
|
||||
areawid = ui_view.GetWidth() - 5;
|
||||
padding = TEXTWINDOW_PADDING_DEFAULT;
|
||||
GET_OPTIONS_HEIGHT
|
||||
dlgyp = uiView.GetHeight() - needheight;
|
||||
dlgyp = ui_view.GetHeight() - needheight;
|
||||
|
||||
dirtyx = 0;
|
||||
dirtyy = dlgyp - 1;
|
||||
dirtywidth = uiView.GetWidth();
|
||||
dirtyheight = uiView.GetHeight() - dirtyy;
|
||||
dirtywidth = ui_view.GetWidth();
|
||||
dirtyheight = ui_view.GetHeight() - dirtyy;
|
||||
dialog_abs_x = 0;
|
||||
}
|
||||
if (!is_textwindow)
|
||||
|
Loading…
x
Reference in New Issue
Block a user