git-svn-id: svn://db.shs.com.ru/pip@255 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2016-09-06 12:46:39 +00:00
parent 73cc277f23
commit d321b01f10
10 changed files with 510 additions and 69 deletions

View File

@@ -47,7 +47,8 @@ namespace PIScreenTypes {
enum CharFlag {
Bold /** Bold or bright */ = 0x1,
Blink /** Blink text */ = 0x2,
Underline /** Underline text */ = 0x4
Underline /** Underline text */ = 0x4,
Inverse = 0x08
};
//! Alignment
@@ -108,7 +109,7 @@ namespace PIScreenTypes {
};
struct Cell {
Cell(PIChar c = PIChar(' ')) {symbol = c;}
Cell(PIChar c = PIChar(' '), CellFormat f = CellFormat()) {symbol = c; format = f;}
CellFormat format;
PIChar symbol;
bool operator ==(const Cell & c) const {return format == c.format && symbol == c.symbol;}