KSM edits to RA8875

Dependents:   Liz_Test_Code

Revision:
24:8ca861acf12d
Parent:
23:a50ded45dbaf
Child:
25:9556a3a9b7cc
--- a/RA8875.h	Wed Jan 15 12:24:54 2014 +0000
+++ b/RA8875.h	Fri Jan 17 02:10:18 2014 +0000
@@ -57,6 +57,15 @@
     FILL        ///< fill the object space with the background color
 } fill_t;
 
+/// cursor type to be shown as the text cursor.
+typedef enum
+{
+    NOCURSOR,   ///< cursor is hidden
+    IBEAM,      ///< | cursor
+    UNDER,      ///< _ cursor
+    BLOCK       ///< Block cursor
+} cursor_t;
+
 /// return values from functions
 //typedef enum
 //{
@@ -238,12 +247,12 @@
     /// Cursor visible/hidden, Cursor blink/normal, 
     /// Cursor I-Beam/underscore/box.
     ///
-    /// @param visible can be set to true or false (default false)
+    /// @param cursor can be set to NOCURSOR (default), IBEAM,
+    ///         UNDER, or BLOCK.
     /// @param blink can be set to true or false (default false)
-    /// @param ?
     /// @returns success/failure code. @see RetCode_t
     ///
-    RetCode_t SetTextCursorControl(bool visible = false, bool blink = false);
+    RetCode_t SetTextCursorControl(cursor_t cursor = NOCURSOR, bool blink = false);
     
     /// Select the ISO 8859-X font to use next.
     ///