Changes

Jump to: navigation, search

Console UI Core Classes - OOP344 20111

321 bytes added, 21:42, 9 March 2011
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();
/* setters and getters: */It will make sure allocated memories are freed.
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.

Navigation menu