1 | /* |
1 | /* |
2 | * $Id: rxvtlib.h.in,v 1.6 2003/12/17 09:00:35 pcg Exp $ |
2 | * $Id: rxvtlib.h.in,v 1.7 2003/12/18 05:45:11 pcg Exp $ |
3 | */ |
3 | */ |
4 | |
4 | |
5 | #ifndef _RXVTLIB_H_ /* include once only */ |
5 | #ifndef _RXVTLIB_H_ /* include once only */ |
6 | #define _RXVTLIB_H_ |
6 | #define _RXVTLIB_H_ |
7 | |
7 | |
… | |
… | |
279 | short bot; /* slider bottom position */ |
279 | short bot; /* slider bottom position */ |
280 | short style; /* style: rxvt, xterm, next */ |
280 | short style; /* style: rxvt, xterm, next */ |
281 | short width; /* scrollbar width */ |
281 | short width; /* scrollbar width */ |
282 | Window win; |
282 | Window win; |
283 | int (*update)(pR_ int, int, int, int); |
283 | int (*update)(pR_ int, int, int, int); |
|
|
284 | |
|
|
285 | void setIdle() { state = 1 ; } |
|
|
286 | void setMotion() { state = 'm'; } |
|
|
287 | void setUp() { state = 'U'; } |
|
|
288 | void setDn() { state = 'D'; } |
284 | } scrollBar_t; |
289 | } scrollBar_t; |
285 | |
290 | |
286 | struct rxvt_vars { |
291 | struct rxvt_vars { |
287 | TermWin_t TermWin; |
292 | TermWin_t TermWin; |
288 | scrollBar_t scrollBar; |
293 | scrollBar_t scrollBar; |