KSM edits to RA8875

Dependents:   Liz_Test_Code

Revision:
79:544eb4964795
Parent:
76:c981284eb513
Child:
95:ef538bd687c0
--- a/GraphicsDisplay.h	Sun Dec 28 03:14:35 2014 +0000
+++ b/GraphicsDisplay.h	Sun Dec 28 19:55:16 2014 +0000
@@ -169,7 +169,9 @@
     /// This restores the 'window' to the full screen, so that 
     /// other operations (@see cls) would clear the whole screen.
     ///
-    virtual void WindowMax(void);
+    /// @returns success/failure code. @see RetCode_t.
+    ///
+    virtual RetCode_t WindowMax(void);
     
     /// method to put a single color pixel to the screen.
     ///
@@ -178,13 +180,24 @@
     /// by _EndGraphicsStream.
     ///
     /// @param[in] pixel is a color value to be put on the screen.
-    /// @returns error code.
+    /// @returns success/failure code. @see RetCode_t.
     ///
     virtual RetCode_t _putp(color_t pixel);
 
+    /// method to fill a region.
+    ///
+    /// This method fills a region with the specified color.
+    ///
+    /// @param[in] x is the left-edge of the region.
+    /// @param[in] y is the top-edge of the region.
+    /// @param[in] w specifies the width of the region.
+    /// @param[in] h specifies the height of the region.
+    /// @returns success/failure code. @see RetCode_t.
+    /// 
+    virtual RetCode_t fill(int x, int y, int w, int h, color_t color);
     
-    virtual void fill(int x, int y, int w, int h, color_t color);
-    virtual void blit(int x, int y, int w, int h, const int * color);    
+    
+    virtual RetCode_t blit(int x, int y, int w, int h, const int * color);    
     
     /// This method transfers one character from the external font data
     /// to the screen.