diff --git a/headers/os/interface/Size.h b/headers/os/interface/Size.h index 89c615fe50..2c687859b0 100644 --- a/headers/os/interface/Size.h +++ b/headers/os/interface/Size.h @@ -28,6 +28,7 @@ public: inline float Width() const; inline float Height() const; + inline void Set(float width, float height); inline void SetWidth(float width); inline void SetHeight(float height); @@ -87,6 +88,15 @@ BSize::Height() const } +// Set +inline void +BSize::Set(float width, float height) +{ + this->width = width; + this->height = height; +} + + // SetWidth inline void BSize::SetWidth(float width)