diff options
author | Eugene Sandulenko | 2019-12-27 13:30:02 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2019-12-27 13:39:56 +0100 |
commit | 4e58ef479bb4c63e3a0e73e35f915658b9a923c3 (patch) | |
tree | c24bf4b5eb837c06c0bfed72b9a1bee7a5889cad /graphics | |
parent | 6e4ba1e5c5f03252be6801603ebb75d21ce6efdc (diff) | |
download | scummvm-rg350-4e58ef479bb4c63e3a0e73e35f915658b9a923c3.tar.gz scummvm-rg350-4e58ef479bb4c63e3a0e73e35f915658b9a923c3.tar.bz2 scummvm-rg350-4e58ef479bb4c63e3a0e73e35f915658b9a923c3.zip |
GRAPHICS: Make ManagedSurface::clip() public
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/managed_surface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/managed_surface.h b/graphics/managed_surface.h index b643d1b8cf..95671a7235 100644 --- a/graphics/managed_surface.h +++ b/graphics/managed_surface.h @@ -61,12 +61,13 @@ private: * the offset from the parent's top-left corner this sub-surface starts at */ Common::Point _offsetFromOwner; -protected: +public: /** * Clips the given source bounds so the passed destBounds will be entirely on-screen */ bool clip(Common::Rect &srcBounds, Common::Rect &destBounds); +protected: /** * Base method that descendent classes can override for recording affected * dirty areas of the surface |