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.h
2017-03-20 21:40:32 +10:00

31 lines
666 B
C++

#ifndef CDKSCREEN_H
#define CDK_SCREEN_H
extern "C"
{
#include <cdk.h>
}
class CDKScreen
{
// The window which curses uses.
WINDOW *cursesWin;
// The CDKSCREEN struct assigned to this object.
CDKSCREEN *cdkscreen;
public:
// Constructor.
CDKScreen();
// Deconstructor.
~CDKScreen();
// Return a pointer to the CDKScreen structure.
CDKSCREEN *screen(void);
// Refresh the screen.
// Note, this function is renamed to avoid clashing with the refresh() macro.
void refreshscr(void);
// Erase, but don't destroy, all widgets.
// Note, this function is renamed to avoid clashing with the erase() macro.
void erasescr(void);
};
#endif