… | |
… | |
877 | int fwidth; /* font width [pixels] */ |
877 | int fwidth; /* font width [pixels] */ |
878 | int fheight; /* font height [pixels] */ |
878 | int fheight; /* font height [pixels] */ |
879 | int fbase; /* font ascent (baseline) [pixels] */ |
879 | int fbase; /* font ascent (baseline) [pixels] */ |
880 | int ncol; /* window columns [characters] */ |
880 | int ncol; /* window columns [characters] */ |
881 | int nrow; /* window rows [characters] */ |
881 | int nrow; /* window rows [characters] */ |
882 | int focus; /* window has focus */ |
882 | bool focus; /* window has focus */ |
883 | int mapped; /* window state mapped? */ |
883 | bool mapped; /* window state mapped? */ |
884 | int int_bwidth; /* internal border width */ |
884 | int int_bwidth; /* internal border width */ |
885 | int ext_bwidth; /* external border width */ |
885 | int ext_bwidth; /* external border width */ |
886 | int lineSpace; /* number of extra pixels between rows */ |
886 | int lineSpace; /* number of extra pixels between rows */ |
887 | int letterSpace; /* number of extra pixels between columns */ |
887 | int letterSpace; /* number of extra pixels between columns */ |
888 | int saveLines; /* number of lines that fit in scrollback */ |
888 | int saveLines; /* number of lines that fit in scrollback */ |
… | |
… | |
1490 | return options[opt >> 3] & (1 << (opt & 7)); |
1490 | return options[opt >> 3] & (1 << (opt & 7)); |
1491 | } |
1491 | } |
1492 | |
1492 | |
1493 | void set_option (uint8_t opt, bool set = true) NOTHROW; |
1493 | void set_option (uint8_t opt, bool set = true) NOTHROW; |
1494 | |
1494 | |
1495 | void set_privmode (unsigned bit, int set) NOTHROW |
|
|
1496 | { |
|
|
1497 | if (set) |
|
|
1498 | priv_modes |= bit; |
|
|
1499 | else |
|
|
1500 | priv_modes &= ~bit; |
|
|
1501 | } |
|
|
1502 | |
|
|
1503 | // modifies first argument(!) |
1495 | // modifies first argument(!) |
1504 | void tt_paste (char *data, unsigned int len) NOTHROW; |
1496 | void tt_paste (char *data, unsigned int len) NOTHROW; |
1505 | void paste (char *data, unsigned int len) NOTHROW; |
1497 | void paste (char *data, unsigned int len) NOTHROW; |
1506 | void scr_blank_line (line_t &l, unsigned int col, unsigned int width, rend_t efs) const NOTHROW; |
1498 | void scr_blank_line (line_t &l, unsigned int col, unsigned int width, rend_t efs) const NOTHROW; |
1507 | void scr_blank_screen_mem (line_t &l, rend_t efs) const NOTHROW; |
1499 | void scr_blank_screen_mem (line_t &l, rend_t efs) const NOTHROW; |