TextStream Constructor added

This commit is contained in:
Simon
2025-04-22 14:18:25 +02:00
parent 30638e0b29
commit 7670ffdf42
2 changed files with 20 additions and 8 deletions

View File

@@ -1,12 +1,17 @@
#include "textstream.h"
TextStream::TextStream(unsigned from_col, unsigned to_col, unsigned from_row,
unsigned to_row, bool use_cursor) {
(void)from_col;
(void)to_col;
(void)from_row;
(void)to_row;
(void)use_cursor;
}
TextStream::TextStream(unsigned from_col,
unsigned to_col,
unsigned from_row,
unsigned to_row,
bool use_cursor)
: from_col_(0),
to_col_(80),
from_row_(0),
to_row_(25),
use_cursor_(false)
{}
void TextStream::flush() {}

View File

@@ -38,4 +38,11 @@ class TextStream {
* \todo(11) Implement method
*/
void flush();
private:
unsigned from_col_;
unsigned to_col_;
unsigned from_row_;
unsigned to_row_;
bool use_cursor_;
};