Screenshot using convoluted SDL2 approach
[ipdf/code.git] / src / screen.h
index 8452efc..c8acbcf 100644 (file)
@@ -43,10 +43,14 @@ namespace IPDF
                        CursorHand
                };
                void SetMouseCursor(MouseCursors cursor);
+
+               void ScreenShot(const char * filename) const;
        private:
                void ResizeViewport(int width, int height);
                
                MouseHandler m_mouse_handler;
+               int m_last_mouse_x;
+               int m_last_mouse_y;
 
                int m_viewport_width;
                int m_viewport_height;

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