diff options
Diffstat (limited to 'base/gfx/rect.h')
-rw-r--r-- | base/gfx/rect.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/base/gfx/rect.h b/base/gfx/rect.h index 414a348..2eef76c 100644 --- a/base/gfx/rect.h +++ b/base/gfx/rect.h @@ -65,6 +65,7 @@ class Rect { void set_origin(const gfx::Point& origin) { origin_ = origin; } const gfx::Size& size() const { return size_; } + void set_size(const gfx::Size& size) { size_ = size; } int right() const { return x() + width(); } int bottom() const { return y() + height(); } |