curspriv.h

Go to the documentation of this file.
00001 /* Constants */
00002 #define _SUBWIN         1               /* window is a subwindow */
00003 #define _ENDLINE        2               /* last winline is last screen line */
00004 #define _FULLWIN        4               /* window fills screen */
00005 #define _SCROLLWIN      8               /* window lwr rgt is screen lwr rgt */
00006 
00007 #define _NO_CHANGE      -1              /* flags line edge unchanged */
00008 #define _BREAKCHAR      0x03            /* ^C character */
00009 #define _DCCHAR         0x08            /* Delete Char char (BS) */
00010 #define _DLCHAR         0x1b            /* Delete Line char (ESC) */
00011 #define _GOCHAR         0x11            /* ^Q character */
00012 #define _PRINTCHAR      0x10            /* ^P character */
00013 #define _STOPCHAR       0x13            /* ^S character */
00014 #define  NUNGETCH       10              /* max # chars to ungetch() */
00015 
00016 #define max(a,b) (((a) > (b)) ? (a) : (b))
00017 #define min(a,b) (((a) < (b)) ? (a) : (b))
00018 
00019 /* Character mask definitions. */
00020 #define CHR_MSK ((int) 0x00ff)          /* ASCIIZ character mask */
00021 #define ATR_MSK ((int) 0xff00)          /* attribute mask */
00022 #define ATR_NRM ((int) 0x0000)          /* no special attributes */
00023 
00024 /* Type declarations. */
00025 
00026 typedef struct {
00027   WINDOW  *tmpwin;                      /* window used for updates */
00028   int      cursrow;                     /* position of physical cursor */
00029   int      curscol;
00030   bool     rawmode;
00031   bool     cbrkmode;
00032   bool     echoit;
00033 } cursv;
00034 
00035 /* External variables */
00036 extern  cursv   _cursvar;               /* curses variables */

Generated on Fri Apr 14 22:57:26 2006 for minix by  doxygen 1.4.6