From 217360d0c5a0b8289c16b22fc46782c475fcc9f5 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 21 Mar 2016 20:53:49 -0400 Subject: TITANIC: Add new derived Rect and Point classes --- engines/titanic/game_view.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'engines/titanic/game_view.h') diff --git a/engines/titanic/game_view.h b/engines/titanic/game_view.h index 14412032dc..c1d1a001d3 100644 --- a/engines/titanic/game_view.h +++ b/engines/titanic/game_view.h @@ -57,14 +57,17 @@ public: */ virtual void setView(CViewItem *item) = 0; - virtual void draw(const Common::Rect &bounds) = 0; + virtual void draw(const Rect &bounds) = 0; /** * Creates a surface from a specified resource */ void createSurface(const CResourceKey &key); - void draw1(); + /** + * Draws the background of a view + */ + void drawView(); }; class CSTGameView: public CGameView { @@ -81,7 +84,7 @@ public: /** * Handles drawing the view */ - virtual void draw(const Common::Rect &bounds); + virtual void draw(const Rect &bounds); }; } // End of namespace Titanic -- cgit v1.2.3