diff options
author | Mohamed Waheed <mohamedwaheedmohamed@gmail.com> | 2014-06-24 01:35:05 +0300 |
---|---|---|
committer | Mohamed Waheed <mohamedwaheedmohamed@gmail.com> | 2014-06-24 01:35:05 +0300 |
commit | 613e1d74c47cf3a756af9aff75575c7567699381 (patch) | |
tree | c0cd765cf6983c9be95b81e2aeefeadece9d2b27 /src/common/image.h | |
parent | 99cd015dd89f0928246d1178c5641ebe325fe997 (diff) | |
download | colobot-613e1d74c47cf3a756af9aff75575c7567699381.tar.gz colobot-613e1d74c47cf3a756af9aff75575c7567699381.tar.bz2 colobot-613e1d74c47cf3a756af9aff75575c7567699381.zip |
implemented savefile screenshot feature
Diffstat (limited to 'src/common/image.h')
-rw-r--r-- | src/common/image.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/image.h b/src/common/image.h index 31dab2d..afbebc2 100644 --- a/src/common/image.h +++ b/src/common/image.h @@ -109,6 +109,12 @@ public: //! Returns the last error std::string GetError(); + //! Flips the image vertically + void flipVertical(); + + //! sets/replaces the pixels from the surface + void SetDataPixels(void *pixels); + private: //! Blit to new RGBA surface with given size void BlitToNewRGBASurface(int width, int height); |