… | |
… | |
185 | #define menuBar_esc 10 |
185 | #define menuBar_esc 10 |
186 | #define scrollBar_esc 30 |
186 | #define scrollBar_esc 30 |
187 | #define menuBar_margin 2 /* margin below text */ |
187 | #define menuBar_margin 2 /* margin below text */ |
188 | |
188 | |
189 | #if defined(RXVT_SCROLLBAR) || defined(NEXT_SCROLLBAR) || defined(XTERM_SCROLLBAR) || defined(PLAIN_SCROLLBAR) |
189 | #if defined(RXVT_SCROLLBAR) || defined(NEXT_SCROLLBAR) || defined(XTERM_SCROLLBAR) || defined(PLAIN_SCROLLBAR) |
190 | # define HAVE_SCROLLBARS |
190 | # define HAVE_SCROLLBARS 1 |
191 | #endif |
191 | #endif |
192 | |
192 | |
193 | /* width of scrollBar, menuBar shadow, must be 1 or 2 */ |
193 | /* width of scrollBar, menuBar shadow, must be 1 or 2 */ |
194 | #ifdef HALFSHADOW |
194 | #ifdef HALFSHADOW |
195 | # define SHADOW 1 |
195 | # define SHADOW 1 |
… | |
… | |
279 | enum { |
279 | enum { |
280 | NO_REFRESH = 0 , /* Window not visible at all! */ |
280 | NO_REFRESH = 0 , /* Window not visible at all! */ |
281 | FAST_REFRESH = 1<<0, /* Fully exposed window */ |
281 | FAST_REFRESH = 1<<0, /* Fully exposed window */ |
282 | SLOW_REFRESH = 1<<1, /* Partially exposed window */ |
282 | SLOW_REFRESH = 1<<1, /* Partially exposed window */ |
283 | SMOOTH_REFRESH = 1<<2, /* Do sync'ing to make it smooth */ |
283 | SMOOTH_REFRESH = 1<<2, /* Do sync'ing to make it smooth */ |
284 | #if 0 |
|
|
285 | REFRESH_BOUNDS = 1<<3 |
|
|
286 | #endif |
|
|
287 | REFRESH_BOUNDS = 0 /* only required for old int_bwidth code. */ //TODO: remove this and all depending code |
|
|
288 | }; |
284 | }; |
289 | |
285 | |
290 | #ifdef NO_SECONDARY_SCREEN |
286 | #ifdef NO_SECONDARY_SCREEN |
291 | # define NSCREENS 0 |
287 | # define NSCREENS 0 |
292 | #else |
288 | #else |
… | |
… | |
1152 | rxvt_salloc *talloc; // text line allocator |
1148 | rxvt_salloc *talloc; // text line allocator |
1153 | rxvt_salloc *ralloc; // rend line allocator |
1149 | rxvt_salloc *ralloc; // rend line allocator |
1154 | |
1150 | |
1155 | static vector<rxvt_term *> termlist; // a vector of all running rxvt_term's |
1151 | static vector<rxvt_term *> termlist; // a vector of all running rxvt_term's |
1156 | |
1152 | |
|
|
1153 | #ifndef NO_FRILLS |
|
|
1154 | // ISO 14755 entry support |
|
|
1155 | unicode_t iso14755buf; |
|
|
1156 | void commit_iso14755 (); |
|
|
1157 | int hex_keyval (XKeyEvent &ev); |
|
|
1158 | #endif |
|
|
1159 | |
1157 | void paste (const unsigned char *data, unsigned int len); |
1160 | void paste (const unsigned char *data, unsigned int len); |
1158 | |
1161 | |
1159 | void flush (); |
1162 | void flush (); |
1160 | |
1163 | |
|
|
1164 | #if TRANSPARENT |
1161 | void rootwin_cb (XEvent &xev); |
1165 | void rootwin_cb (XEvent &xev); |
1162 | xevent_watcher rootwin_ev; |
1166 | xevent_watcher rootwin_ev; |
|
|
1167 | #endif |
1163 | |
1168 | |
1164 | void x_cb (XEvent &xev); |
1169 | void x_cb (XEvent &xev); |
1165 | xevent_watcher termwin_ev; |
1170 | xevent_watcher termwin_ev; |
1166 | xevent_watcher vt_ev; |
1171 | xevent_watcher vt_ev; |
1167 | #ifdef HAVE_SCROLLBARS |
1172 | #ifdef HAVE_SCROLLBARS |
… | |
… | |
1223 | const char **init_resources (int argc, const char *const *argv); |
1228 | const char **init_resources (int argc, const char *const *argv); |
1224 | void init_env (); |
1229 | void init_env (); |
1225 | void set_locale (const char *locale); |
1230 | void set_locale (const char *locale); |
1226 | void init_xlocale (); |
1231 | void init_xlocale (); |
1227 | void init_command (const char *const *argv); |
1232 | void init_command (const char *const *argv); |
1228 | int run_command (const char *const *argv); |
1233 | void run_command (const char *const *argv); |
1229 | int run_child (const char *const *argv); |
1234 | int run_child (const char *const *argv); |
1230 | static void child_exited (int pid); |
1235 | static void child_exited (int pid); |
1231 | |
1236 | |
1232 | void color_aliases (int idx); |
1237 | void color_aliases (int idx); |
1233 | void recolour_cursor (); |
1238 | void recolour_cursor (); |