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
Revision 47:d96a09269f91, committed 2014-03-13
- Comitter:
- WiredHome
- Date:
- Thu Mar 13 22:56:32 2014 +0000
- Parent:
- 46:1321832f11d8
- Child:
- 49:c5182231d1b9
- Commit message:
- Vertical line wrap goes from the bottom of the window back to the top.
Changed in this revision
| RA8875.cpp | Show annotated file Show diff for this revision Revisions of this file |
| TextDisplay.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/RA8875.cpp Thu Mar 13 17:24:45 2014 +0000
+++ b/RA8875.cpp Thu Mar 13 22:56:32 2014 +0000
@@ -461,7 +461,7 @@
loc_t y;
y = ReadCommand(0x2C) | (ReadCommand(0x2D) << 8); // current y location
y += fontheight();
- if (y >= height()) // @TODO after bottom of active window, then scroll window? #### hb changed test to include = to fix dropped line in vertical wrap.
+ if (y >= height()) // @TODO after bottom of active window, then scroll window?
y = 0;
WriteCommandW(0x2C, y);
} else {
--- a/TextDisplay.cpp Thu Mar 13 17:24:45 2014 +0000
+++ b/TextDisplay.cpp Thu Mar 13 22:56:32 2014 +0000
@@ -37,7 +37,7 @@
if(value == '\n') {
_column = 0;
_row++;
- if(_row >= rows() ) { // #### hb. Fix missing 18th row issue.
+ if(_row >= rows()) {
_row = 0;
}
} else {
@@ -46,7 +46,7 @@
if(_column >= columns()) {
_column = 0;
_row++;
- if(_row >= rows() ) { // #### hb. Fix missing 18th row issue.
+ if(_row >= rows()) {
_row = 0;
}
}
