… | |
… | |
520 | * on the unnecessary items, e.g. Color_pointer, but won't bother |
520 | * on the unnecessary items, e.g. Color_pointer, but won't bother |
521 | * until we need to. Also, be aware of usage in pixcolor_set |
521 | * until we need to. Also, be aware of usage in pixcolor_set |
522 | */ |
522 | */ |
523 | |
523 | |
524 | enum colour_list { |
524 | enum colour_list { |
|
|
525 | Color_none = -2, |
|
|
526 | Color_transparent = -1, |
525 | Color_fg = 0, |
527 | Color_fg = 0, |
526 | Color_bg, |
528 | Color_bg, |
527 | minCOLOR, /* 2 */ |
529 | minCOLOR, /* 2 */ |
528 | Color_Black = minCOLOR, |
530 | Color_Black = minCOLOR, |
529 | Color_Red3, |
531 | Color_Red3, |
… | |
… | |
787 | /****************************************************************************/ |
789 | /****************************************************************************/ |
788 | |
790 | |
789 | #define LINE_LONGER 0x0001 // line is continued on the next row |
791 | #define LINE_LONGER 0x0001 // line is continued on the next row |
790 | #define LINE_FILTERED 0x0002 // line has been filtered |
792 | #define LINE_FILTERED 0x0002 // line has been filtered |
791 | #define LINE_COMPRESSED 0x0004 // line has been compressed (NYI) |
793 | #define LINE_COMPRESSED 0x0004 // line has been compressed (NYI) |
|
|
794 | #define LINE_FILTER 0x0008 // line needs to be filtered before display (NYI) |
|
|
795 | #define LINE_BIDI 0x0010 // line needs bidi (NYI) |
792 | |
796 | |
793 | struct line_t { |
797 | struct line_t { |
794 | text_t *t; // terminal the text |
798 | text_t *t; // terminal the text |
795 | rend_t *r; // rendition, uses RS_ flags |
799 | rend_t *r; // rendition, uses RS_ flags |
796 | tlen_t_ l; // length of each text line, LINE_CONT == continued on next line |
800 | tlen_t_ l; // length of each text line, LINE_CONT == continued on next line |