… | |
… | |
1039 | void iso14755_51 (unicode_t ch, rend_t r = DEFAULT_RSTYLE, int x = 0, int y = -1); |
1039 | void iso14755_51 (unicode_t ch, rend_t r = DEFAULT_RSTYLE, int x = 0, int y = -1); |
1040 | void iso14755_54 (int x, int y); |
1040 | void iso14755_54 (int x, int y); |
1041 | # endif |
1041 | # endif |
1042 | #endif |
1042 | #endif |
1043 | |
1043 | |
1044 | // modifies first argument(!) |
|
|
1045 | void paste (char *data, unsigned int len) NOTHROW; |
|
|
1046 | |
|
|
1047 | long vt_emask, vt_emask_perl, vt_emask_xim; |
1044 | long vt_emask, vt_emask_perl, vt_emask_xim; |
1048 | |
1045 | |
1049 | void vt_select_input () const NOTHROW |
1046 | void vt_select_input () const NOTHROW |
1050 | { |
1047 | { |
1051 | XSelectInput (dpy, vt, vt_emask | vt_emask_perl | vt_emask_xim); |
1048 | XSelectInput (dpy, vt, vt_emask | vt_emask_perl | vt_emask_xim); |
… | |
… | |
1060 | void update_background_cb (time_watcher &w); |
1057 | void update_background_cb (time_watcher &w); |
1061 | time_watcher update_background_ev; |
1058 | time_watcher update_background_ev; |
1062 | #endif |
1059 | #endif |
1063 | |
1060 | |
1064 | void x_cb (XEvent &xev); |
1061 | void x_cb (XEvent &xev); |
1065 | void flush (); |
|
|
1066 | xevent_watcher termwin_ev; |
1062 | xevent_watcher termwin_ev; |
1067 | xevent_watcher vt_ev; |
1063 | xevent_watcher vt_ev; |
1068 | #ifdef HAVE_SCROLLBARS |
1064 | #ifdef HAVE_SCROLLBARS |
1069 | xevent_watcher scrollbar_ev; |
1065 | xevent_watcher scrollbar_ev; |
1070 | #endif |
1066 | #endif |
1071 | |
1067 | |
1072 | void child_cb (child_watcher &w, int status); child_watcher child_ev; |
1068 | void child_cb (child_watcher &w, int status); child_watcher child_ev; |
1073 | void check_cb (check_watcher &w); check_watcher check_ev; |
1069 | void check_cb (check_watcher &w); check_watcher check_ev; |
1074 | void destroy_cb (time_watcher &w); time_watcher destroy_ev; |
1070 | void destroy_cb (time_watcher &w); time_watcher destroy_ev; |
|
|
1071 | void flush (); |
1075 | void flush_cb (time_watcher &w); time_watcher flush_ev; |
1072 | void flush_cb (time_watcher &w); time_watcher flush_ev; |
|
|
1073 | bool pty_fill (); |
1076 | void pty_cb (io_watcher &w, short revents); io_watcher pty_ev; |
1074 | void pty_cb (io_watcher &w, short revents); io_watcher pty_ev; |
1077 | void incr_cb (time_watcher &w) NOTHROW; time_watcher incr_ev; |
1075 | void incr_cb (time_watcher &w) NOTHROW; time_watcher incr_ev; |
1078 | |
1076 | |
1079 | #ifdef CURSOR_BLINK |
1077 | #ifdef CURSOR_BLINK |
1080 | void cursor_blink_cb (time_watcher &w); time_watcher cursor_blink_ev; |
1078 | void cursor_blink_cb (time_watcher &w); time_watcher cursor_blink_ev; |
… | |
… | |
1103 | void pointer_unblank (); |
1101 | void pointer_unblank (); |
1104 | |
1102 | |
1105 | void tt_printf (const char *fmt,...); |
1103 | void tt_printf (const char *fmt,...); |
1106 | void tt_write (const char *data, unsigned int len); |
1104 | void tt_write (const char *data, unsigned int len); |
1107 | void pty_write (); |
1105 | void pty_write (); |
1108 | |
|
|
1109 | void tt_winch (); |
|
|
1110 | |
|
|
1111 | rxvt_term (); |
|
|
1112 | ~rxvt_term (); |
|
|
1113 | void destroy (); |
|
|
1114 | void emergency_cleanup (); |
|
|
1115 | |
|
|
1116 | bool init (int argc, const char *const *argv, stringvec *envv); |
|
|
1117 | |
1106 | |
1118 | bool init (stringvec *argv, stringvec *envv) |
1107 | bool init (stringvec *argv, stringvec *envv) |
1119 | { |
1108 | { |
1120 | this->argv = argv; |
1109 | this->argv = argv; |
1121 | return init (argv->size (), argv->begin (), envv); |
1110 | return init (argv->size (), argv->begin (), envv); |
1122 | } |
1111 | } |
1123 | |
|
|
1124 | bool init_vars (); |
|
|
1125 | |
|
|
1126 | bool pty_fill (); |
|
|
1127 | |
1112 | |
1128 | void make_current () const // make this the "currently active" urxvt instance |
1113 | void make_current () const // make this the "currently active" urxvt instance |
1129 | { |
1114 | { |
1130 | SET_R (this); |
1115 | SET_R (this); |
1131 | set_environ (envv); |
1116 | set_environ (envv); |
1132 | rxvt_set_locale (locale); |
1117 | rxvt_set_locale (locale); |
1133 | } |
1118 | } |
1134 | |
1119 | |
1135 | void init_secondary (); |
|
|
1136 | const char **init_resources (int argc, const char *const *argv); |
|
|
1137 | const char *x_resource (const char *name); |
|
|
1138 | void init_env (); |
|
|
1139 | void set_locale (const char *locale); |
|
|
1140 | void init_xlocale (); |
|
|
1141 | void init_command (const char *const *argv); |
|
|
1142 | void run_command (const char *const *argv); |
|
|
1143 | int run_child (const char *const *argv); |
|
|
1144 | |
|
|
1145 | void color_aliases (int idx); |
|
|
1146 | void recolour_cursor (); |
|
|
1147 | void create_windows (int argc, const char *const *argv); |
|
|
1148 | void resize_all_windows (unsigned int newwidth, unsigned int newheight, int ignoreparent); |
|
|
1149 | void window_calc (unsigned int newwidth, unsigned int newheight); |
|
|
1150 | |
|
|
1151 | #if USE_XIM |
1120 | #if USE_XIM |
1152 | rxvt_xim *input_method; |
1121 | rxvt_xim *input_method; |
1153 | XIC Input_Context; |
1122 | XIC Input_Context; |
1154 | XIMStyle input_style; |
1123 | XIMStyle input_style; |
1155 | XPoint spot; // most recently sent spot position |
1124 | XPoint spot; // most recently sent spot position |
… | |
… | |
1164 | bool IMisRunning (); |
1133 | bool IMisRunning (); |
1165 | void IMSendSpot (); |
1134 | void IMSendSpot (); |
1166 | bool IM_get_IC (const char *modifiers); |
1135 | bool IM_get_IC (const char *modifiers); |
1167 | void IMSetPosition (); |
1136 | void IMSetPosition (); |
1168 | #endif |
1137 | #endif |
1169 | |
|
|
1170 | void resize_scrollbar (); |
|
|
1171 | |
1138 | |
1172 | // command.C |
1139 | // command.C |
1173 | void key_press (XKeyEvent &ev); |
1140 | void key_press (XKeyEvent &ev); |
1174 | void key_release (XKeyEvent &ev); |
1141 | void key_release (XKeyEvent &ev); |
1175 | unsigned int cmd_write (const char *str, unsigned int count); |
1142 | unsigned int cmd_write (const char *str, unsigned int count); |
… | |
… | |
1204 | int privcases (int mode, unsigned long bit); |
1171 | int privcases (int mode, unsigned long bit); |
1205 | void process_terminal_mode (int mode, int priv, unsigned int nargs, const int *arg); |
1172 | void process_terminal_mode (int mode, int priv, unsigned int nargs, const int *arg); |
1206 | void process_sgr_mode (unsigned int nargs, const int *arg); |
1173 | void process_sgr_mode (unsigned int nargs, const int *arg); |
1207 | void process_graphics (); |
1174 | void process_graphics (); |
1208 | // init.C |
1175 | // init.C |
|
|
1176 | bool init_vars (); |
|
|
1177 | void init_secondary (); |
|
|
1178 | const char **init_resources (int argc, const char *const *argv); |
|
|
1179 | void init_env (); |
|
|
1180 | void set_locale (const char *locale); |
|
|
1181 | void init_xlocale (); |
|
|
1182 | void init_command (const char *const *argv); |
|
|
1183 | void run_command (const char *const *argv); |
|
|
1184 | int run_child (const char *const *argv); |
|
|
1185 | void color_aliases (int idx); |
|
|
1186 | void create_windows (int argc, const char *const *argv); |
1209 | void Get_Colours (); |
1187 | void Get_Colours (); |
1210 | void get_ourmods (); |
1188 | void get_ourmods (); |
1211 | // main.C |
1189 | // main.C |
|
|
1190 | void tt_winch (); |
|
|
1191 | rxvt_term (); |
|
|
1192 | ~rxvt_term (); |
|
|
1193 | void destroy (); |
|
|
1194 | void emergency_cleanup (); |
|
|
1195 | bool init (int argc, const char *const *argv, stringvec *envv); |
|
|
1196 | void recolour_cursor (); |
|
|
1197 | void resize_all_windows (unsigned int newwidth, unsigned int newheight, int ignoreparent); |
|
|
1198 | void window_calc (unsigned int newwidth, unsigned int newheight); |
1212 | bool set_fonts (); |
1199 | bool set_fonts (); |
1213 | void set_string_property (Atom prop, const char *str, int len = -1); |
1200 | void set_string_property (Atom prop, const char *str, int len = -1); |
1214 | void set_utf8_property (Atom prop, const char *str, int len = -1); |
1201 | void set_utf8_property (Atom prop, const char *str, int len = -1); |
1215 | void set_title (const char *str); |
1202 | void set_title (const char *str); |
1216 | void set_icon_name (const char *str); |
1203 | void set_icon_name (const char *str); |
… | |
… | |
1299 | priv_modes |= bit; |
1286 | priv_modes |= bit; |
1300 | else |
1287 | else |
1301 | priv_modes &= ~bit; |
1288 | priv_modes &= ~bit; |
1302 | } |
1289 | } |
1303 | |
1290 | |
|
|
1291 | // modifies first argument(!) |
|
|
1292 | void paste (char *data, unsigned int len) NOTHROW; |
1304 | void scr_blank_line (line_t &l, unsigned int col, unsigned int width, rend_t efs) const NOTHROW; |
1293 | void scr_blank_line (line_t &l, unsigned int col, unsigned int width, rend_t efs) const NOTHROW; |
1305 | void scr_blank_screen_mem (line_t &l, rend_t efs) const NOTHROW; |
1294 | void scr_blank_screen_mem (line_t &l, rend_t efs) const NOTHROW; |
1306 | int scr_scroll_text (int row1, int row2, int count) NOTHROW; |
1295 | int scr_scroll_text (int row1, int row2, int count) NOTHROW; |
1307 | void scr_reset (); |
1296 | void scr_reset (); |
1308 | void scr_release () NOTHROW; |
1297 | void scr_release () NOTHROW; |
… | |
… | |
1401 | // scrollbar-plain.C |
1390 | // scrollbar-plain.C |
1402 | int scrollbar_show_plain (int update, int last_top, int last_bot, int scrollbar_len); |
1391 | int scrollbar_show_plain (int update, int last_top, int last_bot, int scrollbar_len); |
1403 | #endif |
1392 | #endif |
1404 | |
1393 | |
1405 | // scrollbar.C |
1394 | // scrollbar.C |
|
|
1395 | void resize_scrollbar (); |
1406 | int scrollbar_mapping (int map); |
1396 | int scrollbar_mapping (int map); |
1407 | int scrollbar_show (int update); |
1397 | int scrollbar_show (int update); |
1408 | void setup_scrollbar (const char *scrollalign, const char *scrollstyle, const char *thickness); |
1398 | void setup_scrollbar (const char *scrollalign, const char *scrollstyle, const char *thickness); |
1409 | |
1399 | |
1410 | // xdefaults.C |
1400 | // xdefaults.C |
1411 | void get_options (int argc, const char *const *argv); |
1401 | void get_options (int argc, const char *const *argv); |
1412 | int parse_keysym (const char *str, const char *arg); |
1402 | int parse_keysym (const char *str, const char *arg); |
|
|
1403 | const char *x_resource (const char *name); |
1413 | void extract_resources (); |
1404 | void extract_resources (); |
1414 | }; |
1405 | }; |
1415 | |
1406 | |
1416 | #endif /* _RXVT_H_ */ |
1407 | #endif /* _RXVT_H_ */ |
1417 | |
1408 | |