aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_element.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-22 22:32:28 -0400
committerPaul Gilbert2016-07-10 16:11:45 -0400
commitf79ebfa3e26cc748ef495a96da8acb9e005b3324 (patch)
treec4f9867aab26b6ef9072bc4edf2ad0200b2d02c7 /engines/titanic/pet_control/pet_element.h
parent4915f8900aff374b2a71545e788cb95d9da7138a (diff)
downloadscummvm-rg350-f79ebfa3e26cc748ef495a96da8acb9e005b3324.tar.gz
scummvm-rg350-f79ebfa3e26cc748ef495a96da8acb9e005b3324.tar.bz2
scummvm-rg350-f79ebfa3e26cc748ef495a96da8acb9e005b3324.zip
TITANIC: Added PET Sound tab setup
Diffstat (limited to 'engines/titanic/pet_control/pet_element.h')
-rw-r--r--engines/titanic/pet_control/pet_element.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/titanic/pet_control/pet_element.h b/engines/titanic/pet_control/pet_element.h
index 7ee28368b2..17e5881a2b 100644
--- a/engines/titanic/pet_control/pet_element.h
+++ b/engines/titanic/pet_control/pet_element.h
@@ -134,6 +134,11 @@ public:
* Translate the position of the element
*/
void translate(int deltaX, int deltaY) { _bounds.translate(deltaX, deltaY); }
+
+ /**
+ * Translate the position of the element
+ */
+ void translate(const Point &delta) { _bounds.translate(delta.x, delta.y); }
};
} // End of namespace Titanic