Bunch-a-bugfixes!
[ipdf/code.git] / src / screen.h
index f5ae753..44dd2c7 100644 (file)
@@ -20,6 +20,9 @@ namespace IPDF
                // Returns 'false' if the program should quit.
                bool PumpEvents();
 
+               // Clears the screen to a given colour.
+               void Clear(float r=1.0, float g=1.0, float b=1.0, float a=1.0);
+
                // Finishes rendering a frame, and presents it on the screen.
                void Present();
 
@@ -45,6 +48,7 @@ namespace IPDF
                void SetMouseCursor(MouseCursors cursor);
 
                void ScreenShot(const char * filename) const;
+               void RenderBMP(const char * filename) const;
        private:
                void ResizeViewport(int width, int height);
                

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