diff options
Diffstat (limited to 'include/ui/Region.h')
-rw-r--r-- | include/ui/Region.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ui/Region.h b/include/ui/Region.h index df455a96b16d..2bcad5b9ea48 100644 --- a/include/ui/Region.h +++ b/include/ui/Region.h @@ -51,6 +51,9 @@ public: inline Rect getBounds() const { return mBounds; } inline Rect bounds() const { return getBounds(); } + // the region becomes its bounds + Region& makeBoundsSelf(); + void clear(); void set(const Rect& r); void set(uint32_t w, uint32_t h); |