… | |
… | |
247 | # define COLORTERMENVFULL COLORTERMENV "-xpm" |
247 | # define COLORTERMENVFULL COLORTERMENV "-xpm" |
248 | #else |
248 | #else |
249 | # define COLORTERMENVFULL COLORTERMENV |
249 | # define COLORTERMENVFULL COLORTERMENV |
250 | #endif |
250 | #endif |
251 | #ifndef TERMENV |
251 | #ifndef TERMENV |
|
|
252 | # ifdef USE_256_COLORS |
|
|
253 | # define TERMENV "rxvt-unicode-256color" |
|
|
254 | # else |
252 | # define TERMENV "rxvt-unicode" |
255 | # define TERMENV "rxvt-unicode" |
|
|
256 | # endif |
253 | #endif |
257 | #endif |
254 | |
258 | |
255 | #if defined (NO_MOUSE_REPORT) && !defined (NO_MOUSE_REPORT_SCROLLBAR) |
259 | #if defined (NO_MOUSE_REPORT) && !defined (NO_MOUSE_REPORT_SCROLLBAR) |
256 | # define NO_MOUSE_REPORT_SCROLLBAR 1 |
260 | # define NO_MOUSE_REPORT_SCROLLBAR 1 |
257 | #endif |
261 | #endif |
… | |
… | |
323 | #define RS_Careful (1UL << RS_fontShift) /* be careful when drawing these */ |
327 | #define RS_Careful (1UL << RS_fontShift) /* be careful when drawing these */ |
324 | #define RS_fontMask ((rxvt_fontset::fontCount << (RS_fontShift + 1)) | RS_Careful) // includes RS_Careful |
328 | #define RS_fontMask ((rxvt_fontset::fontCount << (RS_fontShift + 1)) | RS_Careful) // includes RS_Careful |
325 | |
329 | |
326 | // toggle this to force redraw, must be != RS_Careful and otherwise "pretty neutral" |
330 | // toggle this to force redraw, must be != RS_Careful and otherwise "pretty neutral" |
327 | #define RS_redraw (2UL << RS_fontShift) |
331 | #define RS_redraw (2UL << RS_fontShift) |
|
|
332 | |
|
|
333 | #define RS_Sel (1UL << 22) |
328 | |
334 | |
329 | // 5 custom bits for extensions |
335 | // 5 custom bits for extensions |
330 | #define RS_customCount 16UL |
336 | #define RS_customCount 16UL |
331 | #define RS_customShift 23 |
337 | #define RS_customShift 23 |
332 | #define RS_customMask ((RS_customCount - 1UL) << RS_customShift) |
338 | #define RS_customMask ((RS_customCount - 1UL) << RS_customShift) |
… | |
… | |
385 | XTerm_Color_cursor = 12, // change actual 'Cursor' color |
391 | XTerm_Color_cursor = 12, // change actual 'Cursor' color |
386 | XTerm_Color_pointer_fg = 13, // change actual 'Pointer' fg color |
392 | XTerm_Color_pointer_fg = 13, // change actual 'Pointer' fg color |
387 | XTerm_Color_pointer_bg = 14, // change actual 'Pointer' bg color |
393 | XTerm_Color_pointer_bg = 14, // change actual 'Pointer' bg color |
388 | XTerm_Color05 = 15, // not implemented (tektronix fg) |
394 | XTerm_Color05 = 15, // not implemented (tektronix fg) |
389 | XTerm_Color06 = 16, // not implemented (tektronix bg) |
395 | XTerm_Color06 = 16, // not implemented (tektronix bg) |
390 | XTerm_Color_RV = 17, // change actual 'Highlight' color |
396 | XTerm_Color_HC = 17, // change actual 'Highlight' color |
391 | XTerm_logfile = 46, // not implemented |
397 | XTerm_logfile = 46, // not implemented |
392 | XTerm_font = 50, |
398 | XTerm_font = 50, |
393 | |
399 | |
394 | XTerm_konsole30 = 30, // reserved for konsole |
400 | XTerm_konsole30 = 30, // reserved for konsole |
395 | XTerm_konsole31 = 31, // reserved for konsole |
401 | XTerm_konsole31 = 31, // reserved for konsole |
… | |
… | |
485 | #if ENABLE_FRILLS |
491 | #if ENABLE_FRILLS |
486 | Color_underline, |
492 | Color_underline, |
487 | #endif |
493 | #endif |
488 | #ifdef OPTION_HC |
494 | #ifdef OPTION_HC |
489 | Color_HC, |
495 | Color_HC, |
|
|
496 | Color_HTC, |
490 | #endif |
497 | #endif |
491 | Color_scroll, |
498 | Color_scroll, |
492 | #ifdef RXVT_SCROLLBAR |
499 | #ifdef RXVT_SCROLLBAR |
493 | Color_trough, |
500 | Color_trough, |
494 | #endif |
501 | #endif |
… | |
… | |
957 | scrollBar_t scrollBar; |
964 | scrollBar_t scrollBar; |
958 | uint8_t options[(Opt_count + 7) >> 3]; |
965 | uint8_t options[(Opt_count + 7) >> 3]; |
959 | XSizeHints szHint; |
966 | XSizeHints szHint; |
960 | rxvt_color *pix_colors; |
967 | rxvt_color *pix_colors; |
961 | Cursor TermWin_cursor; /* cursor for vt window */ |
968 | Cursor TermWin_cursor; /* cursor for vt window */ |
962 | int numlock_state; |
|
|
963 | line_t *row_buf; // all lines, scrollback + terminal, circular, followed by temp_buf |
969 | line_t *row_buf; // all lines, scrollback + terminal, circular, followed by temp_buf |
964 | line_t *drawn_buf; // text on screen |
970 | line_t *drawn_buf; // text on screen |
965 | line_t *swap_buf; // lines for swap buffer |
971 | line_t *swap_buf; // lines for swap buffer |
966 | char *tabs; /* per location: 1 == tab-stop */ |
972 | char *tabs; /* per location: 1 == tab-stop */ |
967 | screen_t screen; |
973 | screen_t screen; |