aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game_view.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/game_view.cpp')
-rw-r--r--engines/titanic/game_view.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/titanic/game_view.cpp b/engines/titanic/game_view.cpp
index ecdeb85f9a..505e489ee8 100644
--- a/engines/titanic/game_view.cpp
+++ b/engines/titanic/game_view.cpp
@@ -57,10 +57,10 @@ void CGameView::createSurface(const CResourceKey &key) {
_surface->_blitFlag = true;
}
-void CGameView::draw1() {
+void CGameView::drawView() {
CScreenManager::setCurrent();
- Common::Rect rect1 = _gameManager->_bounds;
- Common::Rect rect2(0, 0, 600, 340);
+ Rect rect1 = _gameManager->_bounds;
+ Rect rect2(0, 0, 600, 340);
rect2.translate(20, 10);
@@ -78,7 +78,7 @@ void CSTGameView::setView(CViewItem *view) {
_gameWindow->setActiveView(view);
}
-void CSTGameView::draw(const Common::Rect &bounds) {
+void CSTGameView::draw(const Rect &bounds) {
_gameWindow->draw();
}