--- rxvt-unicode/src/rxvtlib.h.in 2003/12/02 21:49:46 1.5 +++ rxvt-unicode/src/rxvtlib.h.in 2003/12/18 05:45:11 1.7 @@ -1,5 +1,5 @@ /* - * $Id: rxvtlib.h.in,v 1.5 2003/12/02 21:49:46 pcg Exp $ + * $Id: rxvtlib.h.in,v 1.7 2003/12/18 05:45:11 pcg Exp $ */ #ifndef _RXVTLIB_H_ /* include once only */ @@ -186,8 +186,8 @@ * normal `unscrolled' screen region */ typedef struct { - text_t **text; /* _all_ the text */ int16_t *tlen; /* length of each text line */ + text_t **text; /* _all_ the text */ rend_t **rend; /* rendition, uses RS_ flags */ row_col_t cur; /* cursor position on the screen */ uint16_t tscroll; /* top of settable scroll region */ @@ -281,6 +281,11 @@ short width; /* scrollbar width */ Window win; int (*update)(pR_ int, int, int, int); + + void setIdle() { state = 1 ; } + void setMotion() { state = 'm'; } + void setUp() { state = 'U'; } + void setDn() { state = 'D'; } } scrollBar_t; struct rxvt_vars {