KSM edits to RA8875

Dependents:   Liz_Test_Code

Revision:
114:dbfb996bfbf3
Parent:
112:325ca91bc03d
Child:
115:c9862fd0c689
--- a/GraphicsDisplay.h	Wed Apr 27 01:29:55 2016 +0000
+++ b/GraphicsDisplay.h	Sun May 15 18:57:06 2016 +0000
@@ -152,13 +152,15 @@
     /// and down a row. If the initial write is outside the window, it will
     /// be captured into the window when it crosses a boundary.
     ///
+    /// @note if no parameters are provided, it restores the window to full screen.
+    ///
     /// @param[in] x is the left edge in pixels.
     /// @param[in] y is the top edge in pixels.
     /// @param[in] w is the window width in pixels.
     /// @param[in] h is the window height in pixels.
     /// @returns success/failure code. @see RetCode_t.
     ///
-    virtual RetCode_t window(loc_t x, loc_t y, dim_t w, dim_t h);
+    virtual RetCode_t window(loc_t x = 0, loc_t y = 0, dim_t w = (dim_t)-1, dim_t h = (dim_t)-1);
     
     /// method to set the window region to the full screen.
     ///