File:  [cvs.NetBSD.org] / othersrc / dist / cdk / c++ / cdkscreen.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Jan 4 19:59:48 2001 UTC (24 years, 4 months ago) by garbled
Branches: MAIN
CVS tags: HEAD
Initial import of CDK 4.9.9.  The work to port this was performed by
Charles Hannum, and that is the version being imported:
cdk-4.9.9-20000407-myc3

#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

CVSweb <webmaster@jp.NetBSD.org>