TextStream Constructor added
This commit is contained in:
@@ -1,12 +1,17 @@
|
|||||||
#include "textstream.h"
|
#include "textstream.h"
|
||||||
|
|
||||||
TextStream::TextStream(unsigned from_col, unsigned to_col, unsigned from_row,
|
TextStream::TextStream(unsigned from_col,
|
||||||
unsigned to_row, bool use_cursor) {
|
unsigned to_col,
|
||||||
(void)from_col;
|
unsigned from_row,
|
||||||
(void)to_col;
|
unsigned to_row,
|
||||||
(void)from_row;
|
bool use_cursor)
|
||||||
(void)to_row;
|
: from_col_(0),
|
||||||
(void)use_cursor;
|
to_col_(80),
|
||||||
}
|
from_row_(0),
|
||||||
|
to_row_(25),
|
||||||
|
use_cursor_(false)
|
||||||
|
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
void TextStream::flush() {}
|
void TextStream::flush() {}
|
||||||
|
|||||||
@@ -38,4 +38,11 @@ class TextStream {
|
|||||||
* \todo(11) Implement method
|
* \todo(11) Implement method
|
||||||
*/
|
*/
|
||||||
void flush();
|
void flush();
|
||||||
|
|
||||||
|
private:
|
||||||
|
unsigned from_col_;
|
||||||
|
unsigned to_col_;
|
||||||
|
unsigned from_row_;
|
||||||
|
unsigned to_row_;
|
||||||
|
bool use_cursor_;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user