… | |
… | |
807 | { |
807 | { |
808 | int x, y, w, h; // overlay dimensions |
808 | int x, y, w, h; // overlay dimensions |
809 | text_t **text; |
809 | text_t **text; |
810 | rend_t **rend; |
810 | rend_t **rend; |
811 | |
811 | |
812 | // while tempting to add swap() etc. here, it effetcively only increases code size |
812 | // while tempting to add swap() etc. here, it effectively only increases code size |
813 | }; |
813 | }; |
814 | |
814 | |
815 | /* ------------------------------------------------------------------------- */ |
815 | /* ------------------------------------------------------------------------- */ |
816 | |
816 | |
817 | typedef struct |
817 | typedef struct |
… | |
… | |
1074 | char * incr_buf; |
1074 | char * incr_buf; |
1075 | size_t incr_buf_size, incr_buf_fill; |
1075 | size_t incr_buf_size, incr_buf_fill; |
1076 | /* ---------- */ |
1076 | /* ---------- */ |
1077 | struct mouse_event MEvent; |
1077 | struct mouse_event MEvent; |
1078 | XComposeStatus compose; |
1078 | XComposeStatus compose; |
1079 | struct termios tio; |
1079 | static struct termios def_tio; |
1080 | row_col_t oldcursor; |
1080 | row_col_t oldcursor; |
1081 | #ifdef HAVE_BG_PIXMAP |
1081 | #ifdef HAVE_BG_PIXMAP |
1082 | bgPixmap_t bgPixmap; |
1082 | bgPixmap_t bgPixmap; |
1083 | #endif |
1083 | #endif |
1084 | #ifdef HAVE_AFTERIMAGE |
1084 | #ifdef HAVE_AFTERIMAGE |
… | |
… | |
1158 | void rootwin_cb (XEvent &xev); |
1158 | void rootwin_cb (XEvent &xev); |
1159 | xevent_watcher rootwin_ev; |
1159 | xevent_watcher rootwin_ev; |
1160 | #endif |
1160 | #endif |
1161 | #ifdef HAVE_BG_PIXMAP |
1161 | #ifdef HAVE_BG_PIXMAP |
1162 | void update_background (); |
1162 | void update_background (); |
1163 | #if TRACE_PIXMAPS |
|
|
1164 | void trace_update_background (const char *file, int line); |
|
|
1165 | # define update_background() trace_update_background (__FILE__, __LINE__) |
|
|
1166 | #endif |
|
|
1167 | void update_background_cb (ev::timer &w, int revents); |
1163 | void update_background_cb (ev::timer &w, int revents); |
1168 | ev::timer update_background_ev; |
1164 | ev::timer update_background_ev; |
1169 | #endif |
1165 | #endif |
1170 | |
1166 | |
1171 | void x_cb (XEvent &xev); |
1167 | void x_cb (XEvent &xev); |
… | |
… | |
1297 | int run_child (const char *const *argv); |
1293 | int run_child (const char *const *argv); |
1298 | void color_aliases (int idx); |
1294 | void color_aliases (int idx); |
1299 | void create_windows (int argc, const char *const *argv); |
1295 | void create_windows (int argc, const char *const *argv); |
1300 | void get_colours (); |
1296 | void get_colours (); |
1301 | void get_ourmods (); |
1297 | void get_ourmods (); |
|
|
1298 | void set_icon (const char *file); |
1302 | // main.C |
1299 | // main.C |
1303 | void tt_winch (); |
1300 | void tt_winch (); |
1304 | rxvt_term (); |
1301 | rxvt_term (); |
1305 | ~rxvt_term (); |
1302 | ~rxvt_term (); |
1306 | void destroy (); |
1303 | void destroy (); |
… | |
… | |
1408 | else |
1405 | else |
1409 | priv_modes &= ~bit; |
1406 | priv_modes &= ~bit; |
1410 | } |
1407 | } |
1411 | |
1408 | |
1412 | // modifies first argument(!) |
1409 | // modifies first argument(!) |
|
|
1410 | void tt_paste (char *data, unsigned int len) NOTHROW; |
1413 | void paste (char *data, unsigned int len) NOTHROW; |
1411 | void paste (char *data, unsigned int len) NOTHROW; |
1414 | void scr_blank_line (line_t &l, unsigned int col, unsigned int width, rend_t efs) const NOTHROW; |
1412 | void scr_blank_line (line_t &l, unsigned int col, unsigned int width, rend_t efs) const NOTHROW; |
1415 | void scr_blank_screen_mem (line_t &l, rend_t efs) const NOTHROW; |
1413 | void scr_blank_screen_mem (line_t &l, rend_t efs) const NOTHROW; |
1416 | void scr_kill_char (line_t &l, int col) const NOTHROW; |
1414 | void scr_kill_char (line_t &l, int col) const NOTHROW; |
1417 | int scr_scroll_text (int row1, int row2, int count) NOTHROW; |
1415 | int scr_scroll_text (int row1, int row2, int count) NOTHROW; |
… | |
… | |
1476 | void selection_paste (Window win, Atom prop, bool delete_prop) NOTHROW; |
1474 | void selection_paste (Window win, Atom prop, bool delete_prop) NOTHROW; |
1477 | void selection_property (Window win, Atom prop) NOTHROW; |
1475 | void selection_property (Window win, Atom prop) NOTHROW; |
1478 | void selection_request (Time tm, int selnum = Sel_Primary) NOTHROW; |
1476 | void selection_request (Time tm, int selnum = Sel_Primary) NOTHROW; |
1479 | int selection_request_other (Atom target, int selnum) NOTHROW; |
1477 | int selection_request_other (Atom target, int selnum) NOTHROW; |
1480 | void selection_clear (bool clipboard = false) NOTHROW; |
1478 | void selection_clear (bool clipboard = false) NOTHROW; |
1481 | void clipboard_copy (Time tm); |
|
|
1482 | void selection_make (Time tm); |
1479 | void selection_make (Time tm); |
1483 | bool selection_grab (Time tm, bool clipboard = false) NOTHROW; |
1480 | bool selection_grab (Time tm, bool clipboard = false) NOTHROW; |
1484 | void selection_start_colrow (int col, int row) NOTHROW; |
1481 | void selection_start_colrow (int col, int row) NOTHROW; |
1485 | void selection_delimit_word (enum page_dirn dirn, const row_col_t *mark, row_col_t *ret) NOTHROW; |
1482 | void selection_delimit_word (enum page_dirn dirn, const row_col_t *mark, row_col_t *ret) NOTHROW; |
1486 | void selection_extend_colrow (int32_t col, int32_t row, int button3, int buttonpress, int clickchange) NOTHROW; |
1483 | void selection_extend_colrow (int32_t col, int32_t row, int button3, int buttonpress, int clickchange) NOTHROW; |