diff options
author | Paul Gilbert | 2016-07-31 14:31:36 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-31 14:31:36 -0400 |
commit | 07bf7304433174203cc1cecec23aee54718b3d76 (patch) | |
tree | acb4c6959b2f81b4c8927e43b4216d0f4de79125 /engines/titanic/pet_control | |
parent | e2b00938c7488af62521e1ad4e62566fa4077af0 (diff) | |
download | scummvm-rg350-07bf7304433174203cc1cecec23aee54718b3d76.tar.gz scummvm-rg350-07bf7304433174203cc1cecec23aee54718b3d76.tar.bz2 scummvm-rg350-07bf7304433174203cc1cecec23aee54718b3d76.zip |
TITANIC: Adding lots of const prefixes
Diffstat (limited to 'engines/titanic/pet_control')
-rw-r--r-- | engines/titanic/pet_control/pet_glyphs.h | 2 | ||||
-rw-r--r-- | engines/titanic/pet_control/pet_real_life.h | 2 | ||||
-rw-r--r-- | engines/titanic/pet_control/pet_section.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/pet_control/pet_glyphs.h b/engines/titanic/pet_control/pet_glyphs.h index 7271d6cd61..c07cc5ed9a 100644 --- a/engines/titanic/pet_control/pet_glyphs.h +++ b/engines/titanic/pet_control/pet_glyphs.h @@ -101,7 +101,7 @@ public: /** * Get the bounds for the glyph */ - virtual Rect getBounds() { return Rect(); } + virtual Rect getBounds() const { return Rect(); } /** * Called for mouse button down messages diff --git a/engines/titanic/pet_control/pet_real_life.h b/engines/titanic/pet_control/pet_real_life.h index a4ae67fa6b..40bc87d9b5 100644 --- a/engines/titanic/pet_control/pet_real_life.h +++ b/engines/titanic/pet_control/pet_real_life.h @@ -67,7 +67,7 @@ public: /** * Get the bounds for the section */ - virtual Rect getBounds() { return Rect(); } + virtual Rect getBounds() const { return Rect(); } /** * Following are handlers for the various messages that the PET can diff --git a/engines/titanic/pet_control/pet_section.h b/engines/titanic/pet_control/pet_section.h index 4047ab03de..8bc427e842 100644 --- a/engines/titanic/pet_control/pet_section.h +++ b/engines/titanic/pet_control/pet_section.h @@ -89,7 +89,7 @@ public: /** * Get the bounds for the section */ - virtual Rect getBounds() { return Rect(); } + virtual Rect getBounds() const { return Rect(); } /** * Called when a general change occurs |