diff options
author | Paul Gilbert | 2016-03-21 20:53:49 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-03-21 20:53:49 -0400 |
commit | 217360d0c5a0b8289c16b22fc46782c475fcc9f5 (patch) | |
tree | 5fef119ff142d15d2bd91e99dfc9700f86ac38ed /engines/titanic/game_view.h | |
parent | 9a66bc2e9e3638af940053ac58df36b489b3e345 (diff) | |
download | scummvm-rg350-217360d0c5a0b8289c16b22fc46782c475fcc9f5.tar.gz scummvm-rg350-217360d0c5a0b8289c16b22fc46782c475fcc9f5.tar.bz2 scummvm-rg350-217360d0c5a0b8289c16b22fc46782c475fcc9f5.zip |
TITANIC: Add new derived Rect and Point classes
Diffstat (limited to 'engines/titanic/game_view.h')
-rw-r--r-- | engines/titanic/game_view.h | 9 |
1 files changed, 6 insertions, 3 deletions
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 |