diff options
Diffstat (limited to 'base/gfx/size.h')
-rw-r--r-- | base/gfx/size.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/base/gfx/size.h b/base/gfx/size.h index 49ee2f9..175a206 100644 --- a/base/gfx/size.h +++ b/base/gfx/size.h @@ -37,6 +37,11 @@ class Size { height_ = height; } + void Enlarge(int width, int height) { + width_ += width; + height_ += height; + } + void set_width(int width) { width_ = width; } void set_height(int height) { height_ = height; } |