diff options
Diffstat (limited to 'engines/titanic/core/link_item.h')
-rw-r--r-- | engines/titanic/core/link_item.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/titanic/core/link_item.h b/engines/titanic/core/link_item.h index 609310a7c3..05435e8c6d 100644 --- a/engines/titanic/core/link_item.h +++ b/engines/titanic/core/link_item.h @@ -101,6 +101,15 @@ public: * Get the movement, if any, the cursor represents */ Movement getMovement() const; + + /** + * Returns a point that falls within the link. Used for simulating + * mouse clicks for movement when arrow keys are pressed + * @param quadrant Quadrant (edge) to return point for + * @param pt Return point + * @returns True if a point was found + */ + bool findPoint(Quadrant quadrant, Point &pt); }; } // End of namespace Titanic |