diff options
author | Bastien Bouclet | 2018-04-19 19:42:13 +0200 |
---|---|---|
committer | GitHub | 2018-04-19 19:42:13 +0200 |
commit | 41ba608c6c7a6fe2defe29677781c2bb598e2c43 (patch) | |
tree | cf38e3fb2bfcac701364f0bde8848e7fd7692d8d /gui/object.h | |
parent | 9bee9e1ba66db0ca27f13a7a09f839521c1e8b3f (diff) | |
parent | 4d29ce21d01176f523d6f3b05aefa1b011fc756c (diff) | |
download | scummvm-rg350-41ba608c6c7a6fe2defe29677781c2bb598e2c43.tar.gz scummvm-rg350-41ba608c6c7a6fe2defe29677781c2bb598e2c43.tar.bz2 scummvm-rg350-41ba608c6c7a6fe2defe29677781c2bb598e2c43.zip |
Merge pull request #1156 from bgK/gui-simplify-text
GUI: Unify clip and non-clip draw calls
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; }; |