This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
magicka/deps/cdk-5.0-20161210/c++/cdkscreen.cc

31 lines
400 B
C++
Raw Normal View History

#include "cdkscreen.h"
CDKScreen::CDKScreen()
{
cdkscreen = initCDKScreen(NULL);
// 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);
}