aboutsummaryrefslogtreecommitdiff
path: root/gui/InterfaceManager.cpp
diff options
context:
space:
mode:
authorVicent Marti2008-06-13 17:47:56 +0000
committerVicent Marti2008-06-13 17:47:56 +0000
commit04b36a12e17252aa3f27392b334b053406847d8f (patch)
treec65fc8d7a1dea0d49ed8dd7ce30a6f61f4bfeff6 /gui/InterfaceManager.cpp
parent5d92e2710a85f998f1f7bfbf4705880921d904e7 (diff)
downloadscummvm-rg350-04b36a12e17252aa3f27392b334b053406847d8f.tar.gz
scummvm-rg350-04b36a12e17252aa3f27392b334b053406847d8f.tar.bz2
scummvm-rg350-04b36a12e17252aa3f27392b334b053406847d8f.zip
Formating conventions.
Function parameter fixes. Parser fixes. svn-id: r32696
Diffstat (limited to 'gui/InterfaceManager.cpp')
-rw-r--r--gui/InterfaceManager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/InterfaceManager.cpp b/gui/InterfaceManager.cpp
index a1eaa71c52..f0874393f0 100644
--- a/gui/InterfaceManager.cpp
+++ b/gui/InterfaceManager.cpp
@@ -97,7 +97,7 @@ void InterfaceManager::drawDD(DrawData type, const Common::Rect &r) {
drawCached(type, r);
} else {
for (int i = 0; i < _widgets[type]->_stepCount; ++i)
- _vectorRenderer->drawStep(r, _widgets[type]->_steps[i]);
+ _vectorRenderer->drawStep(r, *_widgets[type]->_steps[i]);
}
}
@@ -205,9 +205,9 @@ int InterfaceManager::runGUI() {
bool running = true;
while (running) { // draw!!
- _vectorRenderer->drawStep(Common::Rect(), &steps[0]);
- _vectorRenderer->drawStep(area, &steps[1]);
- _vectorRenderer->drawStep(area, &steps[2]);
+ _vectorRenderer->drawStep(Common::Rect(), steps[0]);
+ _vectorRenderer->drawStep(area, steps[1]);
+ _vectorRenderer->drawStep(area, steps[2]);
// _vectorRenderer->drawStep(Common::Rect(32, 32, 256, 256), &steps[3]);
_vectorRenderer->copyFrame(_system);