diff options
Diffstat (limited to 'gui/object.h')
-rw-r--r-- | gui/object.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/object.h b/gui/object.h index 40ea2da636..33d6ec3c8f 100644 --- a/gui/object.h +++ b/gui/object.h @@ -95,6 +95,11 @@ public: return (x >= _x && x < (_x + _w) && (y >= _y) && (y < _y + _h)); } + /** + * Returns the clipping rect to be used when drawing the children widgets of this object + */ + virtual Common::Rect getClipRect() const; + protected: virtual void releaseFocus() = 0; }; |