aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_control.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-29 22:57:22 -0400
committerPaul Gilbert2016-03-29 22:57:22 -0400
commitfe79317bdefe9594561cf45afe2ad476b1ac06ff (patch)
tree1ef25d5074e4c64ab0336187b197d4fe047b505b /engines/titanic/pet_control/pet_control.h
parenta1e959b4986914bd42bdbd4587cdfc2bd57ca3a0 (diff)
downloadscummvm-rg350-fe79317bdefe9594561cf45afe2ad476b1ac06ff.tar.gz
scummvm-rg350-fe79317bdefe9594561cf45afe2ad476b1ac06ff.tar.bz2
scummvm-rg350-fe79317bdefe9594561cf45afe2ad476b1ac06ff.zip
TITANIC: Beginnings of PET drawing
Diffstat (limited to 'engines/titanic/pet_control/pet_control.h')
-rw-r--r--engines/titanic/pet_control/pet_control.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_control.h b/engines/titanic/pet_control/pet_control.h
index 02a59fdd3a..fa21d4bf01 100644
--- a/engines/titanic/pet_control/pet_control.h
+++ b/engines/titanic/pet_control/pet_control.h
@@ -56,6 +56,7 @@ private:
CTreeItem *_treeItem2;
CString _string2;
int _field13A4;
+ Rect _oldBounds;
private:
/**
* Returns true if the control is in a valid state
@@ -89,7 +90,10 @@ public:
*/
virtual void load(SimpleFile *file);
- virtual void proc26();
+ /**
+ * Allows the item to draw itself
+ */
+ virtual void draw(CScreenManager *screenManager);
/**
* Called after loading a game has finished
@@ -115,7 +119,7 @@ public:
void fn2(int val);
- void fn3(int val);
+ void fn3(CTreeItem *item);
void fn4();