diff options
author | Paul Gilbert | 2016-05-02 20:30:28 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:38:10 -0400 |
commit | 00cb975f158d82f80bcad3e025aeaedc8a5cd7d9 (patch) | |
tree | 2ac99eb33f4a82ea72c64f5caca16351e78f42ce /engines/titanic/pet_control/pet_remote_glyphs.h | |
parent | ab769eee0c99f262052b7a15295a74053943a372 (diff) | |
download | scummvm-rg350-00cb975f158d82f80bcad3e025aeaedc8a5cd7d9.tar.gz scummvm-rg350-00cb975f158d82f80bcad3e025aeaedc8a5cd7d9.tar.bz2 scummvm-rg350-00cb975f158d82f80bcad3e025aeaedc8a5cd7d9.zip |
TITANIC: Implement Deploy Floral Enhancement glyph
Diffstat (limited to 'engines/titanic/pet_control/pet_remote_glyphs.h')
-rw-r--r-- | engines/titanic/pet_control/pet_remote_glyphs.h | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_remote_glyphs.h b/engines/titanic/pet_control/pet_remote_glyphs.h index 39f9164979..de56787bd0 100644 --- a/engines/titanic/pet_control/pet_remote_glyphs.h +++ b/engines/titanic/pet_control/pet_remote_glyphs.h @@ -31,7 +31,7 @@ namespace Titanic { enum RemoteGlyph { GLYPH_SUMMON_ELEVATOR = 0, GLYPH_SUMMON_PELLERATOR = 1, GLYPH_TELEVISION_CONTROL = 2, GLYPH_ENTERTAINMENT_DEVICE = 3, - GLYPH_OPERATE_LIGHTS = 4 + GLYPH_OPERATE_LIGHTS = 4, GLYPH_DEPLOY_FLORAL = 5 }; enum RemoteMessage { @@ -251,6 +251,33 @@ public: virtual void getTooltip(CPetText *text); }; +class CDeployFloralGlyph : public CToggleRemoteGlyph { +public: + /** + * Setup the glyph + */ + virtual bool setup(CPetControl *petControl, CPetGlyphs *owner); + + /** + * Called for mouse button down messages + */ + virtual bool MouseButtonDownMsg(const Point &pt) { + return elementMouseButtonDownMsg(pt); + } + + /** + * Handles mouse button up messages + */ + virtual bool MouseButtonUpMsg(const Point &pt) { + return elementMouseButtonUpMsg(pt); + } + + /** + * Returns the tooltip text for when the glyph is selected + */ + virtual void getTooltip(CPetText *text); +}; + } // End of namespace Titanic #endif /* TITANIC_PET_REMOTE_GLYPHS_H */ |