aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorMax Horn2006-08-04 18:01:43 +0000
committerMax Horn2006-08-04 18:01:43 +0000
commit40835e42b931c96c3889448fed4f5cdd4d6704a2 (patch)
tree35eb2019e3282af85d6b16c28e4e5d6fbeabfe8e /gui
parent0b50c4966cf1b378164a9df929820a69708c8531 (diff)
downloadscummvm-rg350-40835e42b931c96c3889448fed4f5cdd4d6704a2.tar.gz
scummvm-rg350-40835e42b931c96c3889448fed4f5cdd4d6704a2.tar.bz2
scummvm-rg350-40835e42b931c96c3889448fed4f5cdd4d6704a2.zip
There is no need anymore to report EVENT_SCREEN_CHANGED changes to the GUI code
svn-id: r23668
Diffstat (limited to 'gui')
-rw-r--r--gui/newgui.cpp4
-rw-r--r--gui/newgui.h3
2 files changed, 1 insertions, 6 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp
index 7cd0708597..7854e2e7a1 100644
--- a/gui/newgui.cpp
+++ b/gui/newgui.cpp
@@ -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;
}
diff --git a/gui/newgui.h b/gui/newgui.h
index 24bfe040d0..54815a2d51 100644
--- a/gui/newgui.h
+++ b/gui/newgui.h
@@ -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;