X-Git-Url: https://git.ucc.asn.au/?p=progcomp2012.git;a=blobdiff_plain;f=judge%2Fmanager%2Fgraphics.h;h=89a44df1d02456d444e9b543c44cd9f921e483e4;hp=caa57c69e49c3df05631a792c4bbff060aa3e1e9;hb=5f9adddd695f2664a0d690b59a779e40b51ade3d;hpb=341297b4dce9528d54fe9dceeff0d6dc33f70abe diff --git a/judge/manager/graphics.h b/judge/manager/graphics.h index caa57c6..89a44df 100644 --- a/judge/manager/graphics.h +++ b/judge/manager/graphics.h @@ -18,6 +18,7 @@ typedef unsigned char Uint8; +#include @@ -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 * R, std::vector * G, std::vector * B, std::vector * A = NULL); static void DrawColourData(SDL_Surface * dest, int destX, int destY, std::vector > * R, std::vector > * G, std::vector > * B, std::vector > * A = NULL); @@ -151,6 +152,8 @@ class Font : private Texture }; + + #endif //GRAPHICS_H #endif //BUILD_GRAPHICS