32 lines
430 B
C++
32 lines
430 B
C++
|
#include "cdkscreen.h"
|
||
|
|
||
|
CDKScreen::CDKScreen()
|
||
|
{
|
||
|
cursesWin = initscr();
|
||
|
cdkscreen = initCDKScreen(cursesWin);
|
||
|
// Now, set up color.
|
||
|
initCDKColor();
|
||
|
}
|
||
|
|
||
|
CDKScreen::~CDKScreen()
|
||
|
{
|
||
|
destroyCDKScreen(cdkscreen);
|
||
|
endCDK();
|
||
|
}
|
||
|
|
||
|
CDKSCREEN *CDKScreen::screen(void)
|
||
|
{
|
||
|
return cdkscreen;
|
||
|
}
|
||
|
|
||
|
void CDKScreen::refreshscr(void)
|
||
|
{
|
||
|
refreshCDKScreen(cdkscreen);
|
||
|
}
|
||
|
|
||
|
void CDKScreen::erasescr(void)
|
||
|
{
|
||
|
eraseCDKScreen(cdkscreen);
|
||
|
}
|
||
|
|