aboutsummaryrefslogtreecommitdiff
path: root/gui/newgui.cpp
diff options
context:
space:
mode:
authorVicent Marti2008-07-20 21:47:28 +0000
committerVicent Marti2008-07-20 21:47:28 +0000
commit9aa07d206e679179f939e9beb0d441eb0c1a1fcb (patch)
treeda5ce6882b134d0d4a795dc42055a17515924a7a /gui/newgui.cpp
parentb5081a02ec1d72e14ced116246545e1210b8b86f (diff)
downloadscummvm-rg350-9aa07d206e679179f939e9beb0d441eb0c1a1fcb.tar.gz
scummvm-rg350-9aa07d206e679179f939e9beb0d441eb0c1a1fcb.tar.bz2
scummvm-rg350-9aa07d206e679179f939e9beb0d441eb0c1a1fcb.zip
Rendering pipeline. Broken WIP.
svn-id: r33152
Diffstat (limited to 'gui/newgui.cpp')
-rw-r--r--gui/newgui.cpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp
index c4fafe7e22..e689617418 100644
--- a/gui/newgui.cpp
+++ b/gui/newgui.cpp
@@ -193,25 +193,22 @@ void NewGui::redraw() {
switch (_redrawStatus) {
case kRedrawCloseDialog:
case kRedrawFull:
+ case kRedrawTopDialog:
+ warning("Full screen redraw. Oops");
_theme->clearAll();
_theme->closeAllDialogs();
- for (i = 0; i < _dialogStack.size(); i++) {
- _theme->openDialog(true);
+ for (i = 0; i < _dialogStack.size() - 1; i++) {
_dialogStack[i]->drawDialog();
}
- break;
case kRedrawOpenDialog:
_theme->openDialog(true);
+ //_theme->startBuffering();
_dialogStack.top()->drawDialog();
_theme->finishBuffering();
- printf("Dialog opened!\n");
- break;
-
- case kRedrawTopDialog:
- _dialogStack.top()->drawDialog();
- printf("Top dialog redraw!\n");
+
+ warning("Dialog opened");
break;
default: