… | |
… | |
369 | // 6x6x4=144 < 166 unused color indices |
369 | // 6x6x4=144 < 166 unused color indices |
370 | # define Red_levels 6 |
370 | # define Red_levels 6 |
371 | # define Green_levels 6 |
371 | # define Green_levels 6 |
372 | # define Blue_levels 4 |
372 | # define Blue_levels 4 |
373 | #endif |
373 | #endif |
|
|
374 | |
|
|
375 | #define RGB24_CUBE_SIZE (Red_levels * Green_levels * Blue_levels) |
374 | |
376 | |
375 | #if defined (NO_MOUSE_REPORT) && !defined (NO_MOUSE_REPORT_SCROLLBAR) |
377 | #if defined (NO_MOUSE_REPORT) && !defined (NO_MOUSE_REPORT_SCROLLBAR) |
376 | # define NO_MOUSE_REPORT_SCROLLBAR 1 |
378 | # define NO_MOUSE_REPORT_SCROLLBAR 1 |
377 | #endif |
379 | #endif |
378 | |
380 | |
… | |
… | |
575 | #else |
577 | #else |
576 | maxTermCOLOR = Color_White + 72, |
578 | maxTermCOLOR = Color_White + 72, |
577 | #endif |
579 | #endif |
578 | minTermCOLOR24, |
580 | minTermCOLOR24, |
579 | maxTermCOLOR24 = minTermCOLOR24 + |
581 | maxTermCOLOR24 = minTermCOLOR24 + |
580 | (Red_levels * Green_levels * Blue_levels) - 1, |
582 | RGB24_CUBE_SIZE - 1, |
581 | #ifndef NO_CURSORCOLOR |
583 | #ifndef NO_CURSORCOLOR |
582 | Color_cursor, |
584 | Color_cursor, |
583 | Color_cursor2, |
585 | Color_cursor2, |
584 | #endif |
586 | #endif |
585 | Color_pointer_fg, |
587 | Color_pointer_fg, |
… | |
… | |
1269 | |
1271 | |
1270 | // chunk contains all line_t's as well as rend_t and text_t buffers |
1272 | // chunk contains all line_t's as well as rend_t and text_t buffers |
1271 | // for drawn_buf, swap_buf and row_buf, in this order |
1273 | // for drawn_buf, swap_buf and row_buf, in this order |
1272 | void *chunk; |
1274 | void *chunk; |
1273 | size_t chunk_size; |
1275 | size_t chunk_size; |
|
|
1276 | |
|
|
1277 | uint32_t rgb24_color[RGB24_CUBE_SIZE]; // the 24-bit color value |
|
|
1278 | uint16_t rgb24_seqno[RGB24_CUBE_SIZE]; // which one is older? |
|
|
1279 | uint16_t rgb24_sequence; |
1274 | |
1280 | |
1275 | static vector<rxvt_term *> termlist; // a vector of all running rxvt_term's |
1281 | static vector<rxvt_term *> termlist; // a vector of all running rxvt_term's |
1276 | |
1282 | |
1277 | #if ENABLE_FRILLS || ISO_14755 |
1283 | #if ENABLE_FRILLS || ISO_14755 |
1278 | // ISO 14755 entry support |
1284 | // ISO 14755 entry support |