GUI: Use clipping everywhere
This commit is contained in:
parent
dc9b32e620
commit
3d636617d0
7 changed files with 117 additions and 20 deletions
|
@ -135,7 +135,7 @@ void ScrollContainerWidget::reflowLayout() {
|
|||
}
|
||||
|
||||
void ScrollContainerWidget::drawWidget() {
|
||||
g_gui.theme()->drawDialogBackground(Common::Rect(_x, _y, _x + _w, _y + getHeight() - 1), ThemeEngine::kDialogBackgroundDefault);
|
||||
g_gui.theme()->drawDialogBackgroundClip(Common::Rect(_x, _y, _x + _w, _y + getHeight() - 1), getBossClipRect(), ThemeEngine::kDialogBackgroundDefault);
|
||||
}
|
||||
|
||||
Widget *ScrollContainerWidget::findWidget(int x, int y) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue