diff options
Diffstat (limited to 'gui/object.h')
-rw-r--r-- | gui/object.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/object.h b/gui/object.h index 776c941356..1541c35aa8 100644 --- a/gui/object.h +++ b/gui/object.h @@ -76,6 +76,8 @@ public: virtual void setTextDrawableArea(const Common::Rect &r) { _textDrawableArea = r; } + virtual int16 getRelX() const { return _x; } + virtual int16 getRelY() const { return _y; } virtual int16 getAbsX() const { return _x; } virtual int16 getAbsY() const { return _y; } virtual int16 getChildX() const { return getAbsX(); } |