mirror of
https://github.com/ksherlock/TwoTerm.git
synced 2026-01-23 11:16:26 +00:00
c++11 updates.
git-svn-id: svn://qnap.local/TwoTerm/trunk@3114 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
This commit is contained in:
@@ -99,9 +99,12 @@ void Screen::clearFlagBit(uint8_t bit)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
void Screen::putc(TextPort *textPort, uint8_t c)
|
||||
{
|
||||
putc(textPort, c, _flag);
|
||||
}
|
||||
|
||||
void Screen::putc(TextPort *textPort, uint8_t c, uint8_t flag)
|
||||
{
|
||||
/*
|
||||
* textport must be valid.
|
||||
@@ -119,14 +122,14 @@ void Screen::putc(TextPort *textPort, uint8_t c)
|
||||
if (textPort->rightMargin == TextPort::MarginOverwrite)
|
||||
{
|
||||
_updates.push_back(cursor);
|
||||
_screen[cursor.y][cursor.x] = CharInfo(c, _flag);
|
||||
_screen[cursor.y][cursor.x] = CharInfo(c, flag);
|
||||
return;
|
||||
}
|
||||
//if (textPort->rightMargin == TextPort::MarginWrap)
|
||||
}
|
||||
|
||||
_updates.push_back(cursor);
|
||||
_screen[cursor.y][cursor.x] = CharInfo(c, _flag);
|
||||
_screen[cursor.y][cursor.x] = CharInfo(c, flag);
|
||||
|
||||
if (textPort->advanceCursor)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user