Added image output to manager, added plots to results pages
[progcomp2012.git] / judge / manager / graphics.h
index caa57c6..89a44df 100644 (file)
@@ -18,6 +18,7 @@ typedef unsigned char Uint8;
 
 
 
+#include <fstream>
 
 
 
@@ -93,7 +94,7 @@ class Graphics
                };
 
                static bool Initialised() {return initialised;}
-
+               static void ScreenShot(const char * fileName);
        protected:
                static void DrawColourData(SDL_Surface * dest, int destX, int destY, std::vector<SUint> * R, std::vector<SUint> * G, std::vector<SUint> * B, std::vector<SUint> * A = NULL);
                static void DrawColourData(SDL_Surface * dest, int destX, int destY, std::vector<std::vector<SUint> > * R, std::vector<std::vector<SUint> > * G, std::vector<std::vector<SUint> > * B, std::vector<std::vector<SUint> > * A = NULL);
@@ -151,6 +152,8 @@ class Font : private Texture
 };
 
 
+
+
 #endif //GRAPHICS_H
 
 #endif //BUILD_GRAPHICS

UCC git Repository :: git.ucc.asn.au