fixed constructor

main
Simon 6 months ago
parent c72d1a8677
commit e4575605aa

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

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

Loading…
Cancel
Save