… | |
… | |
267 | #if defined (NO_MOUSE_REPORT) && !defined (NO_MOUSE_REPORT_SCROLLBAR) |
267 | #if defined (NO_MOUSE_REPORT) && !defined (NO_MOUSE_REPORT_SCROLLBAR) |
268 | # define NO_MOUSE_REPORT_SCROLLBAR 1 |
268 | # define NO_MOUSE_REPORT_SCROLLBAR 1 |
269 | #endif |
269 | #endif |
270 | |
270 | |
271 | #define scrollBar_esc 30 |
271 | #define scrollBar_esc 30 |
272 | |
|
|
273 | #if defined(RXVT_SCROLLBAR) || defined(NEXT_SCROLLBAR) || defined(XTERM_SCROLLBAR) || defined(PLAIN_SCROLLBAR) |
|
|
274 | # define HAVE_SCROLLBARS 1 |
|
|
275 | #endif |
|
|
276 | |
272 | |
277 | #if !defined (RXVT_SCROLLBAR) && !defined (NEXT_SCROLLBAR) |
273 | #if !defined (RXVT_SCROLLBAR) && !defined (NEXT_SCROLLBAR) |
278 | # define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1 |
274 | # define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1 |
279 | #endif |
275 | #endif |
280 | |
276 | |
… | |
… | |
492 | Color_underline, |
488 | Color_underline, |
493 | #endif |
489 | #endif |
494 | #ifdef OPTION_HC |
490 | #ifdef OPTION_HC |
495 | Color_HC, |
491 | Color_HC, |
496 | #endif |
492 | #endif |
497 | #ifdef HAVE_SCROLLBARS |
|
|
498 | Color_scroll, |
493 | Color_scroll, |
499 | #endif |
|
|
500 | #ifdef RXVT_SCROLLBAR |
494 | #ifdef RXVT_SCROLLBAR |
501 | Color_trough, |
495 | Color_trough, |
502 | #endif |
496 | #endif |
503 | #if ENABLE_TRANSPARENCY |
497 | #if ENABLE_TRANSPARENCY |
504 | Color_tint, |
498 | Color_tint, |
… | |
… | |
1148 | #endif |
1142 | #endif |
1149 | |
1143 | |
1150 | void x_cb (XEvent &xev); |
1144 | void x_cb (XEvent &xev); |
1151 | xevent_watcher termwin_ev; |
1145 | xevent_watcher termwin_ev; |
1152 | xevent_watcher vt_ev; |
1146 | xevent_watcher vt_ev; |
1153 | #ifdef HAVE_SCROLLBARS |
|
|
1154 | xevent_watcher scrollbar_ev; |
1147 | xevent_watcher scrollbar_ev; |
1155 | #endif |
|
|
1156 | |
1148 | |
1157 | void child_cb (ev::child &w, int revents); ev::child child_ev; |
1149 | void child_cb (ev::child &w, int revents); ev::child child_ev; |
1158 | void destroy_cb (ev::idle &w, int revents); ev::idle destroy_ev; |
1150 | void destroy_cb (ev::idle &w, int revents); ev::idle destroy_ev; |
1159 | void refresh_check (); |
1151 | void refresh_check (); |
1160 | void flush (); |
1152 | void flush (); |