[BACK]Return to curses_private.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libcurses

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libcurses/curses_private.h between version 1.1 and 1.8

version 1.1, 2000/04/11 13:57:09 version 1.8, 2000/04/29 00:42:26
Line 42 
Line 42 
  */   */
   
 struct __ldata {  struct __ldata {
 #define __CHARTEXT      0x000000ff      /* bits for 8-bit characters */  
         wchar_t ch;                     /* Character */          wchar_t ch;                     /* Character */
 #define __NORMAL        0x00000000      /* Added characters are normal. */  
 #define __STANDOUT      0x00010000      /* Added characters are standout. */  
 #define __UNDERSCORE    0x00020000      /* Added characters are underscored. */  
 #define __REVERSE       0x00040000      /* Added characters are reverse  
                                            video. */  
 #define __BLINK         0x00080000      /* Added characters are blinking. */  
 #define __DIM           0x00100000      /* Added characters are dim. */  
 #define __BOLD          0x00200000      /* Added characters are bold. */  
 #define __BLANK         0x00400000      /* Added characters are blanked. */  
 #define __PROTECT       0x00800000      /* Added characters are protected. */  
 #define __ALTCHARSET    0x01000000      /* Added characters are ACS */  
 #define __COLOR         0xee000000      /* Color bits */  
 #define __ATTRIBUTES    0xefff0000      /* All 8-bit attribute bits */  
 #define __TERMATTR      0x00fc0000      /* Termcap attribute modes  
                                            (reverse, blinking, dim, bold,  
                                            blanked & protected */  
         attr_t  attr;                   /* Attributes */          attr_t  attr;                   /* Attributes */
           wchar_t bch;                    /* Background character */
           attr_t  battr;                  /* Background attributes */
 };  };
   
 #define __LDATASIZE     (sizeof(__LDATA))  #define __LDATASIZE     (sizeof(__LDATA))
Line 99  struct __window {  /* Window structure. 
Line 84  struct __window {  /* Window structure. 
         unsigned int flags;          unsigned int flags;
         int     delay;                  /* delay for getch() */          int     delay;                  /* delay for getch() */
         attr_t  wattr;                  /* Character attributes */          attr_t  wattr;                  /* Character attributes */
           wchar_t bch;                    /* Background character */
           attr_t  battr;                  /* Background attributes */
 };  };
   
   /* Set of attributes unset by 'me' - 'mb', 'md', 'mh', 'mk', 'mp' and 'mr'. */
   #define __TERMATTR \
           (__REVERSE | __BLINK | __DIM | __BOLD | __BLANK | __PROTECT)
   
   struct __winlist {
           struct __window         *winp;  /* The window. */
           struct __winlist        *nextp; /* Next window. */
   };
   
   /* Private functions. */
   #ifdef DEBUG
   void     __CTRACE(const char *fmt, ...);
   #endif
   int      __delay(void);
   unsigned int __hash(char *s, int len);
   void     __id_subwins(WINDOW *orig);
   void     __init_getch(char *sp);
   void     __init_acs(void);
   char    *__longname(char *bp, char *def);       /* Original BSD version */
   int      __mvcur(int ly, int lx, int y, int x, int in_refresh);
   int      __nodelay(void);
   int      __notimeout(void);
   char    *__parse_cap(const char *, ...);
   void     __restartwin(void);
   void     __restore_colors(void);
   void     __restore_cursor_vis(void);
   void     __restore_meta_state(void);
   void     __restore_termios(void);
   void     __restore_stophandler(void);
   void     __save_termios(void);
   void     __set_color(attr_t attr);
   void     __set_stophandler(void);
   void     __set_subwin(WINDOW *orig, WINDOW *win);
   void     __startwin(void);
   void     __stop_signal_handler(int signo);
   int      __stopwin(void);
   void     __swflags(WINDOW *win);
   int      __timeout(int delay);
   int      __touchline(WINDOW *win, int y, int sx, int ex, int force);
   int      __touchwin(WINDOW *win);
   char    *__tscroll(const char *cap, int n1, int n2);
   void     __unsetattr(int);
   int      __waddch(WINDOW *win, __LDATA *dp);
   
   /* Private #defines. */
   #define min(a,b)        (a < b ? a : b)
   #define max(a,b)        (a > b ? a : b)
   
   /* Private externs. */
   extern int               __echoit;
   extern int               __endwin;
   extern int               __pfast;
   extern int               __rawmode;
   extern int               __noqch;
   extern attr_t            __nca;
   extern attr_t            __mask_OP, __mask_ME, __mask_UE, __mask_SE;
   extern struct __winlist *__winlistp;
   extern WINDOW           *__virtscr;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.8

CVSweb <webmaster@jp.NetBSD.org>