KSM edits to RA8875

Dependents:   Liz_Test_Code

Revision:
136:224e03d5c31f
Parent:
126:c91bd2e500b9
Child:
142:6e9bff59878a
--- a/GraphicsDisplay.h	Sun Nov 13 02:06:30 2016 +0000
+++ b/GraphicsDisplay.h	Wed Nov 16 02:48:45 2016 +0000
@@ -105,6 +105,21 @@
     ///
     virtual RetCode_t SetGraphicsCursor(loc_t x, loc_t y) = 0;
     
+    
+    /// Prepare the controller to write binary data to the screen by positioning
+    /// the memory cursor.
+    ///
+    /// @param[in] p is the point representing the cursor position to set
+    /// @returns success/failure code. See @ref RetCode_t.
+    ///
+    virtual RetCode_t SetGraphicsCursor(point_t p) = 0;
+    
+    /// Read the current graphics cursor position as a point.
+    ///
+    /// @returns the graphics cursor as a point.
+    ///
+    virtual point_t GetGraphicsCursor(void) = 0;
+
     /// Prepare the controller to read binary data from the screen by positioning
     /// the memory read cursor.
     ///
@@ -465,6 +480,9 @@
 
 private:
 
+    loc_t img_x;    /// x position of a rendered jpg
+    loc_t img_y;    /// y position of a rendered jpg
+
     /// Analyze the jpeg data in preparation for decompression.
     ///
     JRESULT jd_prepare(JDEC * jd, uint16_t(* infunc)(JDEC * jd, uint8_t * buffer, uint16_t bufsize), void * pool, uint16_t poolsize, void * filehandle);