… | |
… | |
145 | /* |
145 | /* |
146 | ***************************************************************************** |
146 | ***************************************************************************** |
147 | * STRUCTURES AND TYPEDEFS |
147 | * STRUCTURES AND TYPEDEFS |
148 | ***************************************************************************** |
148 | ***************************************************************************** |
149 | */ |
149 | */ |
150 | struct grwin_t; |
|
|
151 | |
150 | |
152 | /* If we're using either the rxvt scrollbar, keep the |
151 | /* If we're using either the rxvt scrollbar, keep the |
153 | * scrollColor resource. |
152 | * scrollColor resource. |
154 | */ |
153 | */ |
155 | #if defined(RXVT_SCROLLBAR) || defined(NEXT_SCROLLBAR) || defined(PLAIN_SCROLLBAR) |
154 | #if defined(RXVT_SCROLLBAR) || defined(NEXT_SCROLLBAR) || defined(PLAIN_SCROLLBAR) |
… | |
… | |
580 | #define PrivMode_smoothScroll (1UL<<17) |
579 | #define PrivMode_smoothScroll (1UL<<17) |
581 | #define PrivMode_vt52 (1UL<<18) |
580 | #define PrivMode_vt52 (1UL<<18) |
582 | #define PrivMode_LFNL (1UL<<19) |
581 | #define PrivMode_LFNL (1UL<<19) |
583 | #define PrivMode_MouseBtnEvent (1UL<<20) |
582 | #define PrivMode_MouseBtnEvent (1UL<<20) |
584 | #define PrivMode_MouseAnyEvent (1UL<<21) |
583 | #define PrivMode_MouseAnyEvent (1UL<<21) |
585 | /* too annoying to implement X11 highlight tracking */ |
|
|
586 | /* #define PrivMode_MouseX11Track (1LU<<20) */ |
|
|
587 | |
584 | |
588 | #define PrivMode_mouse_report (PrivMode_MouseX10|PrivMode_MouseX11|PrivMode_MouseBtnEvent|PrivMode_MouseAnyEvent) |
585 | #define PrivMode_mouse_report (PrivMode_MouseX10|PrivMode_MouseX11|PrivMode_MouseBtnEvent|PrivMode_MouseAnyEvent) |
589 | |
586 | |
590 | #ifdef ALLOW_132_MODE |
587 | #ifdef ALLOW_132_MODE |
591 | # define PrivMode_Default (PrivMode_Autowrap|PrivMode_ShiftKeys|PrivMode_VisibleCursor|PrivMode_132OK) |
588 | # define PrivMode_Default (PrivMode_Autowrap|PrivMode_ShiftKeys|PrivMode_VisibleCursor|PrivMode_132OK) |
… | |
… | |
1104 | |
1101 | |
1105 | void tt_printf (const char *fmt,...); |
1102 | void tt_printf (const char *fmt,...); |
1106 | void tt_write (const char *data, unsigned int len); |
1103 | void tt_write (const char *data, unsigned int len); |
1107 | void pty_write (); |
1104 | void pty_write (); |
1108 | |
1105 | |
1109 | bool init (stringvec *argv, stringvec *envv) |
1106 | void init (stringvec *argv, stringvec *envv) |
1110 | { |
1107 | { |
1111 | this->argv = argv; |
1108 | this->argv = argv; |
1112 | return init (argv->size (), argv->begin (), envv); |
1109 | init (argv->size (), argv->begin (), envv); |
1113 | } |
1110 | } |
1114 | |
1111 | |
1115 | void make_current () const // make this the "currently active" urxvt instance |
1112 | void make_current () const // make this the "currently active" urxvt instance |
1116 | { |
1113 | { |
1117 | SET_R (this); |
1114 | SET_R (this); |
… | |
… | |
1173 | int privcases (int mode, unsigned long bit); |
1170 | int privcases (int mode, unsigned long bit); |
1174 | void process_terminal_mode (int mode, int priv, unsigned int nargs, const int *arg); |
1171 | void process_terminal_mode (int mode, int priv, unsigned int nargs, const int *arg); |
1175 | void process_sgr_mode (unsigned int nargs, const int *arg); |
1172 | void process_sgr_mode (unsigned int nargs, const int *arg); |
1176 | void process_graphics (); |
1173 | void process_graphics (); |
1177 | // init.C |
1174 | // init.C |
1178 | bool init_vars (); |
1175 | void init_vars (); |
1179 | void init_secondary (); |
1176 | void init_secondary (); |
1180 | const char **init_resources (int argc, const char *const *argv); |
1177 | const char **init_resources (int argc, const char *const *argv); |
1181 | void init_env (); |
1178 | void init_env (); |
1182 | void set_locale (const char *locale); |
1179 | void set_locale (const char *locale); |
1183 | void init_xlocale (); |
1180 | void init_xlocale (); |
… | |
… | |
1192 | void tt_winch (); |
1189 | void tt_winch (); |
1193 | rxvt_term (); |
1190 | rxvt_term (); |
1194 | ~rxvt_term (); |
1191 | ~rxvt_term (); |
1195 | void destroy (); |
1192 | void destroy (); |
1196 | void emergency_cleanup (); |
1193 | void emergency_cleanup (); |
1197 | bool init (int argc, const char *const *argv, stringvec *envv); |
1194 | void init (int argc, const char *const *argv, stringvec *envv); |
1198 | void recolour_cursor (); |
1195 | void recolour_cursor (); |
1199 | void resize_all_windows (unsigned int newwidth, unsigned int newheight, int ignoreparent); |
1196 | void resize_all_windows (unsigned int newwidth, unsigned int newheight, int ignoreparent); |
1200 | void window_calc (unsigned int newwidth, unsigned int newheight); |
1197 | void window_calc (unsigned int newwidth, unsigned int newheight); |
1201 | bool set_fonts (); |
1198 | bool set_fonts (); |
1202 | void set_string_property (Atom prop, const char *str, int len = -1); |
1199 | void set_string_property (Atom prop, const char *str, int len = -1); |