diff options
author | Paul Gilbert | 2016-04-28 18:19:47 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:22:31 -0400 |
commit | e778ac8bcd6c2e0a026c813614c884e5044110c3 (patch) | |
tree | 63922a8db8294825c95e72467abe6cfd97a9dcb6 /engines/titanic/pet_control/pet_element.h | |
parent | 6f001d831623a46f643379554d20e94463d8c2f1 (diff) | |
download | scummvm-rg350-e778ac8bcd6c2e0a026c813614c884e5044110c3.tar.gz scummvm-rg350-e778ac8bcd6c2e0a026c813614c884e5044110c3.tar.bz2 scummvm-rg350-e778ac8bcd6c2e0a026c813614c884e5044110c3.zip |
TITANIC: FIx confusion between mouse down & up messages in CPETElement hierarchy
Diffstat (limited to 'engines/titanic/pet_control/pet_element.h')
-rw-r--r-- | engines/titanic/pet_control/pet_element.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/titanic/pet_control/pet_element.h b/engines/titanic/pet_control/pet_element.h index effc575974..4e35ee9a24 100644 --- a/engines/titanic/pet_control/pet_element.h +++ b/engines/titanic/pet_control/pet_element.h @@ -70,14 +70,14 @@ public: virtual void getBounds(Rect *rect); /** - * Highlights the element if the cursor is on it + * Handles processing mouse button down messages */ - virtual bool highlightBounds(const Point &pt); + virtual bool MouseButtonDownMsg(const Point &pt); /** - * Handles processing mouse button messages + * Handles processing mouse button up messages */ - virtual bool MouseButtonDownMsg(const Point &pt); + virtual bool MouseButtonUpMsg(const Point &pt); /** * Returns whether the passed point falls inside the item |