summaryrefslogtreecommitdiffstats
path: root/src/common/image.h
diff options
context:
space:
mode:
authorMohamed Waheed <mohamedwaheedmohamed@gmail.com>2014-06-24 01:35:05 +0300
committerMohamed Waheed <mohamedwaheedmohamed@gmail.com>2014-06-24 01:35:05 +0300
commit613e1d74c47cf3a756af9aff75575c7567699381 (patch)
treec0cd765cf6983c9be95b81e2aeefeadece9d2b27 /src/common/image.h
parent99cd015dd89f0928246d1178c5641ebe325fe997 (diff)
downloadcolobot-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.h6
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);