aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_glyphs.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-06-24 07:34:02 -0400
committerPaul Gilbert2016-07-15 19:24:39 -0400
commit9ae0a76333a2258d92996a62a6cc7b1e630107b6 (patch)
tree57eade79680576913fccc3c4b473e25944e01146 /engines/titanic/pet_control/pet_glyphs.h
parentec5dcc17dc75a1b74a417676edf0c51048e19b6c (diff)
downloadscummvm-rg350-9ae0a76333a2258d92996a62a6cc7b1e630107b6.tar.gz
scummvm-rg350-9ae0a76333a2258d92996a62a6cc7b1e630107b6.tar.bz2
scummvm-rg350-9ae0a76333a2258d92996a62a6cc7b1e630107b6.zip
TITANIC: Properly named several PET Glyph virtual methods
Diffstat (limited to 'engines/titanic/pet_control/pet_glyphs.h')
-rw-r--r--engines/titanic/pet_control/pet_glyphs.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/engines/titanic/pet_control/pet_glyphs.h b/engines/titanic/pet_control/pet_glyphs.h
index f6c4806d83..26b1a658a6 100644
--- a/engines/titanic/pet_control/pet_glyphs.h
+++ b/engines/titanic/pet_control/pet_glyphs.h
@@ -173,14 +173,20 @@ public:
*/
virtual void highlightCurrent(const Point &pt) {}
- virtual void proc27(const Point &pt, bool flag) {}
+ /**
+ * Glyph has been shifted to be first visible one
+ */
+ virtual void glyphFocused(const Point &pt, bool flag) {}
/**
- *
+ * Selects a glyph
*/
- virtual void proc28(const Point &topLeft, const Point &pt) {}
+ virtual void selectGlyph(const Point &topLeft, const Point &pt) {}
- virtual int proc29(const Point &pt) { return 0; }
+ /**
+ * Called when a glyph drag starts
+ */
+ virtual bool dragGlyph(const Point &topLeft, CMouseDragStartMsg *msg) { return false; }
/**
* Returns true if the glyph's bounds, shifted to a given position,