diff options
author | Einar Johan Trøan Sømåen | 2013-10-29 02:55:31 +0100 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-10-29 02:59:53 +0100 |
commit | d6b9d7de8f4bc8be34ef7456a89ee144172ca5b0 (patch) | |
tree | 9c5d5025bdff5681f7fe2030b496677d54625bc8 /engines/wintermute/math | |
parent | efb8031b3c38b8d7e2da73725eb60a35554d0508 (diff) | |
download | scummvm-rg350-d6b9d7de8f4bc8be34ef7456a89ee144172ca5b0.tar.gz scummvm-rg350-d6b9d7de8f4bc8be34ef7456a89ee144172ca5b0.tar.bz2 scummvm-rg350-d6b9d7de8f4bc8be34ef7456a89ee144172ca5b0.zip |
WINTERMUTE: Remove BasePlatform::setRect (replace with member-call)
Diffstat (limited to 'engines/wintermute/math')
-rw-r--r-- | engines/wintermute/math/rect32.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/wintermute/math/rect32.h b/engines/wintermute/math/rect32.h index 4eb00b199a..a4a64690e2 100644 --- a/engines/wintermute/math/rect32.h +++ b/engines/wintermute/math/rect32.h @@ -104,6 +104,14 @@ struct Rect32 { right += dx; bottom += dy; } + + void setRect(int32 newLeft, int32 newTop, int32 newRight, int32 newBottom) { + this->left = newLeft; + this->top = newTop; + this->right = newRight; + this->bottom = newBottom; + } + /** * Check if the given rect is equal to this one. * |