fixed constructor

main
Simon 6 months ago
parent c72d1a8677
commit e4575605aa

@ -5,11 +5,11 @@ TextStream::TextStream(unsigned from_col,
unsigned from_row, unsigned from_row,
unsigned to_row, unsigned to_row,
bool use_cursor) bool use_cursor)
: from_col_(0), : TextWindow(from_col,
to_col_(80), to_col,
from_row_(0), from_row,
to_row_(25), to_row,
use_cursor_(0){} use_cursor){}
void TextStream::flush() { void TextStream::flush() {

@ -41,9 +41,9 @@ class TextStream: public OutputStream, protected TextWindow {
void flush(); void flush();
private: private:
unsigned from_col_; unsigned from_col;
unsigned to_col_; unsigned to_col;
unsigned from_row_; unsigned from_row;
unsigned to_row_; unsigned to_row;
bool use_cursor_; bool use_cursor;
}; };

Loading…
Cancel
Save