|
|
|
|
@ -55,7 +55,6 @@ class TextWindow {
|
|
|
|
|
* software cursor/variable (`false`) should be used to
|
|
|
|
|
* store the current position
|
|
|
|
|
*
|
|
|
|
|
* \todo(11) Implement constructor
|
|
|
|
|
*/
|
|
|
|
|
TextWindow(unsigned from_col, unsigned to_col, unsigned from_row,
|
|
|
|
|
unsigned to_row, bool use_cursor = false);
|
|
|
|
|
@ -71,8 +70,6 @@ class TextWindow {
|
|
|
|
|
*
|
|
|
|
|
* \param rel_x Column in window
|
|
|
|
|
* \param rel_y Row in window
|
|
|
|
|
* \todo(11) Implement method, use \ref CGA::setCursor() for the hardware
|
|
|
|
|
* cursor
|
|
|
|
|
*/
|
|
|
|
|
void setPos(unsigned rel_x, unsigned rel_y);
|
|
|
|
|
|
|
|
|
|
@ -87,8 +84,6 @@ class TextWindow {
|
|
|
|
|
* Negative coordinates are interpreted relative to the right and bottom
|
|
|
|
|
* border of the window.
|
|
|
|
|
*
|
|
|
|
|
* \todo(11) Implement this method (it can either use or replace
|
|
|
|
|
* \ref setPos(unsigned, unsigned))
|
|
|
|
|
*/
|
|
|
|
|
void setPos(int rel_x, int rel_y);
|
|
|
|
|
|
|
|
|
|
@ -100,8 +95,6 @@ class TextWindow {
|
|
|
|
|
*
|
|
|
|
|
* \param rel_x Column in window
|
|
|
|
|
* \param rel_y Row in window
|
|
|
|
|
* \todo(11) Implement Method, use \ref CGA::getCursor() for the hardware
|
|
|
|
|
* cursor
|
|
|
|
|
*/
|
|
|
|
|
void getPos(unsigned& rel_x, unsigned& rel_y) const;
|
|
|
|
|
|
|
|
|
|
@ -128,7 +121,6 @@ class TextWindow {
|
|
|
|
|
* \param string Text to be printed
|
|
|
|
|
* \param length Length of text
|
|
|
|
|
* \param attrib Attribute for text
|
|
|
|
|
* \todo(11) Implement Method
|
|
|
|
|
*/
|
|
|
|
|
void print(const char* string, size_t length,
|
|
|
|
|
CGA::Attribute attrib = CGA::Attribute()); // NOLINT
|
|
|
|
|
@ -137,7 +129,6 @@ class TextWindow {
|
|
|
|
|
*
|
|
|
|
|
* \param character Fill character
|
|
|
|
|
* \param attrib Attribute for fill character
|
|
|
|
|
* \todo(11) Implement Method
|
|
|
|
|
*/
|
|
|
|
|
void reset(char character = ' ', CGA::Attribute attrib = CGA::Attribute());
|
|
|
|
|
};
|
|
|
|
|
|