Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of RA8875 by
Diff: RA8875.h
- Revision:
- 24:8ca861acf12d
- Parent:
- 23:a50ded45dbaf
- Child:
- 25:9556a3a9b7cc
diff -r a50ded45dbaf -r 8ca861acf12d RA8875.h
--- 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.
///
