Hello, I am just wondering if there is an easy way to do the following
in my constructor
IOScreen(int row, int col, int width, int height); sets the row, col,
width, height attributes of the IOScreen to the corresponding incoming
values in the argument list. If an IOScreen is made using this
constructor, it means that the IOScreen window is not a full-screen
size window. (i.e it will only cover the screen partially and when it
is displayed, it will show a frame using the asterisk character on the
border line characters of the window
I assume Ill want to use my row, col, width and height in some kind of
for loop to make the border line characters of the window but am unsure
of the conditions to do so. Appreciate any help whatsoever.
Thanks in advance.
Edit: Think I forgot to mention that I can use a function I wrote
called cio_cursor
/* Places cursor at specified row/column number */
void cio_cursor(int row, int column);
So far I have got
IOScreen::IOScreen(int row, int col, int width, int height){
this->row = row;
this->col = col;
this->width = width;
this->height = height;
cio_start();
cio_cursor(row,col);
// Adjust window settings for this constructor using width and height
}