mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 07:53:36 +00:00
There is no need anymore to report EVENT_SCREEN_CHANGED changes to the GUI code
svn-id: r23668
This commit is contained in:
parent
0b50c4966c
commit
40835e42b9
@ -181,10 +181,6 @@ void ScummEngine::parseEvents() {
|
||||
_keyPressed = 'q';
|
||||
break;
|
||||
|
||||
case OSystem::EVENT_SCREEN_CHANGED:
|
||||
g_gui.handleScreenChange();
|
||||
break;
|
||||
|
||||
case OSystem::EVENT_QUIT:
|
||||
if (_confirmExit)
|
||||
confirmExitDialog();
|
||||
|
@ -367,10 +367,6 @@ WidgetSize NewGui::getWidgetSize() {
|
||||
return (WidgetSize)(_theme->_evaluator->getVar("widgetSize"));
|
||||
}
|
||||
|
||||
void NewGui::handleScreenChange() {
|
||||
_theme->refresh();
|
||||
}
|
||||
|
||||
void NewGui::clearDragWidget() {
|
||||
_dialogStack.top()->_dragWidget = 0;
|
||||
}
|
||||
|
@ -80,8 +80,6 @@ public:
|
||||
|
||||
WidgetSize getWidgetSize();
|
||||
|
||||
void handleScreenChange();
|
||||
|
||||
void clearDragWidget();
|
||||
|
||||
protected:
|
||||
@ -90,6 +88,7 @@ protected:
|
||||
Theme *_theme;
|
||||
|
||||
bool _needRedraw;
|
||||
int _lastScreenChangeID;
|
||||
DialogStack _dialogStack;
|
||||
|
||||
bool _stateIsSaved;
|
||||
|
Loading…
x
Reference in New Issue
Block a user