summaryrefslogtreecommitdiffstats
path: root/src/common/image.h
diff options
context:
space:
mode:
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..b93f2f9 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 flipVertically();
+
+ //! 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);