From 613e1d74c47cf3a756af9aff75575c7567699381 Mon Sep 17 00:00:00 2001 From: Mohamed Waheed Date: Tue, 24 Jun 2014 01:35:05 +0300 Subject: implemented savefile screenshot feature --- src/common/image.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/common/image.h') 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); -- cgit v1.2.3-1-g7c22 From b7125a5b24bc6d2581bec0d3f792ba948e0e7edd Mon Sep 17 00:00:00 2001 From: Mohamed Waheed Date: Tue, 24 Jun 2014 20:27:31 +0300 Subject: formatting and enhancements for savefile screenshot feature --- src/common/image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/image.h') diff --git a/src/common/image.h b/src/common/image.h index afbebc2..b93f2f9 100644 --- a/src/common/image.h +++ b/src/common/image.h @@ -110,7 +110,7 @@ public: std::string GetError(); //! Flips the image vertically - void flipVertical(); + void flipVertically(); //! sets/replaces the pixels from the surface void SetDataPixels(void *pixels); -- cgit v1.2.3-1-g7c22