21
edits
Changes
→Public Methods
virtual void move(CDirection dir);
First it will hide the Frame, then adjust the row and col to more to the "dir" direction and then draws the Frame back on screen.
virtual void hide();
using bio_restore()it restores the characters behind the Frame back on screen. It will also free the memory pointed by _covered;
virtual ~CFrame();
bool fullscreen()const;
void visible(bool val);
bool visible()const;
void frame(CFrame* theContainer);
CFrame* frame();
void row(int val);
int row()const;
void col(int val);
int col()const;
void height(int val);
int height()const;
void width(int val);
int width()const;
These functions set and get the attributes of the CFrame.