Display

Used to write to display by widgets

Constructors

this
this(uinteger w, uinteger h, TermWrapper terminal)

constructor

Destructor

~this
~this()
Undocumented in source.

Members

Functions

colors
void colors(Color fg, Color bg)

sets background and foreground color

fill
void fill(dchar c, Color fg, Color bg)

fills all remaining cells with a character

fillLine
void fillLine(dchar c, Color fg, Color bg, uinteger max)

fills rest of current line with a character

write
void write(dstring str, Color fg, Color bg)
void write(dstring str)

Writes a line. if string has more characters than there is space for, extra characters will be ignored. Each character is written in a 1 cell.

Properties

cursor
Position cursor [@property getter]
Position cursor [@property setter]

Meta