There is no need anymore to report EVENT_SCREEN_CHANGED changes to the GUI code

svn-id: r23668
This commit is contained in:
Max Horn 2006-08-04 18:01:43 +00:00
parent 0b50c4966c
commit 40835e42b9
3 changed files with 1 additions and 10 deletions

View File

@ -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();

View File

@ -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;
}

View File

@ -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;