ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvt.h
(Generate patch)

Comparing rxvt-unicode/src/rxvt.h (file contents):
Revision 1.270 by sasha, Fri Jun 8 20:04:12 2007 UTC vs.
Revision 1.278 by root, Tue Jul 24 14:38:59 2007 UTC

134const char * rxvt_Str_skip_space (const char *str) NOTHROW; 134const char * rxvt_Str_skip_space (const char *str) NOTHROW;
135char * rxvt_Str_trim (char *str) NOTHROW; 135char * rxvt_Str_trim (char *str) NOTHROW;
136int rxvt_Str_escaped (char *str) NOTHROW; 136int rxvt_Str_escaped (char *str) NOTHROW;
137char ** rxvt_splitcommastring (const char *cs) NOTHROW; 137char ** rxvt_splitcommastring (const char *cs) NOTHROW;
138void rxvt_freecommastring (char **cs) NOTHROW; 138void rxvt_freecommastring (char **cs) NOTHROW;
139char * rxvt_File_find (const char *file, const char *ext, const char *path) NOTHROW;
140 139
141///////////////////////////////////////////////////////////////////////////// 140/////////////////////////////////////////////////////////////////////////////
142 141
143// temporarily replace the process environment 142// temporarily replace the process environment
144extern char **environ; 143extern char **environ;
884 883
885#ifdef KEYSYM_RESOURCE 884#ifdef KEYSYM_RESOURCE
886class keyboard_manager; 885class keyboard_manager;
887#endif 886#endif
888 887
888/* to get libAfterImage to work with multiple displays we use that hack : */
889/* should not need that with libAfterImage version >= 1.15 */
890#define AFTERIMAGE_DPY_OP(op) ((::dpy = dpy), (op))
891
889struct rxvt_term : zero_initialized, rxvt_vars, rxvt_screen { 892struct rxvt_term : zero_initialized, rxvt_vars, rxvt_screen {
890 893
891 // special markers with magic addresses 894 // special markers with magic addresses
892 static const char resval_undef []; // options specifically unset 895 static const char resval_undef []; // options specifically unset
893 static const char resval_on []; // boolean options switched on 896 static const char resval_on []; // boolean options switched on
899 rxvt_perl_term perl; 902 rxvt_perl_term perl;
900#endif 903#endif
901 struct mbstate mbstate; // current input multibyte state 904 struct mbstate mbstate; // current input multibyte state
902 905
903 unsigned char want_refresh:1, 906 unsigned char want_refresh:1,
904#ifdef TRANSPARENT 907#ifdef ENABLE_TRANSPARENCY
905 want_full_refresh:1, /* awaiting full screen refresh */ 908 want_full_refresh:1, /* awaiting full screen refresh */
906 am_transparent:1, /* is a transparent term */ 909 am_transparent:1, /* is a transparent term */
907 am_pixmap_trans:1, /* transparency w/known root pixmap */ 910 am_pixmap_trans:1, /* transparency w/known root pixmap */
908#endif 911#endif
909 current_screen:1, /* primary or secondary */ 912 current_screen:1, /* primary or secondary */
953 /* give proper Scroll behaviour */ 956 /* give proper Scroll behaviour */
954#if defined(MOUSE_WHEEL) && defined(MOUSE_SLIP_WHEELING) 957#if defined(MOUSE_WHEEL) && defined(MOUSE_SLIP_WHEELING)
955 mouse_slip_wheel_speed, 958 mouse_slip_wheel_speed,
956#endif 959#endif
957 refresh_count, 960 refresh_count,
958 refresh_limit,
959 last_bot, /* scrollbar last bottom position */ 961 last_bot, /* scrollbar last bottom position */
960 last_top, /* scrollbar last top position */ 962 last_top, /* scrollbar last top position */
961 last_state, /* scrollbar last state */ 963 last_state, /* scrollbar last state */
962 scrollbar_len, 964 scrollbar_len,
963 window_vt_x, 965 window_vt_x,
1022 ttymode_t tio; 1024 ttymode_t tio;
1023 row_col_t oldcursor; 1025 row_col_t oldcursor;
1024#ifdef XPM_BACKGROUND 1026#ifdef XPM_BACKGROUND
1025 bgPixmap_t bgPixmap; 1027 bgPixmap_t bgPixmap;
1026#ifdef HAVE_AFTERIMAGE 1028#ifdef HAVE_AFTERIMAGE
1029 struct ASVisual *asv;
1027 ASImageManager *asimman; 1030 ASImageManager *asimman;
1028 ASImage *original_asim; 1031 ASImage *original_asim;
1029 struct { unsigned int width, height; } xpmAttr; /* all we need is width/height */ 1032 struct { unsigned int width, height; } xpmAttr; /* all we need is width/height */
1030#else 1033#else
1031 XpmAttributes xpmAttr; /* originally loaded pixmap and its scaling */ 1034 XpmAttributes xpmAttr; /* originally loaded pixmap and its scaling */
1095 void vt_select_input () const NOTHROW 1098 void vt_select_input () const NOTHROW
1096 { 1099 {
1097 XSelectInput (dpy, vt, vt_emask | vt_emask_perl | vt_emask_xim); 1100 XSelectInput (dpy, vt, vt_emask | vt_emask_perl | vt_emask_xim);
1098 } 1101 }
1099 1102
1100#if TRANSPARENT || ENABLE_PERL 1103#if ENABLE_TRANSPARENCY || ENABLE_PERL
1101 void rootwin_cb (XEvent &xev); 1104 void rootwin_cb (XEvent &xev);
1102 xevent_watcher rootwin_ev; 1105 xevent_watcher rootwin_ev;
1106#endif
1107#if ENABLE_TRANSPARENCY
1108 int check_our_parents ();
1103 void check_our_parents_cb (time_watcher &w); 1109 void check_our_parents_cb (time_watcher &w);
1104 time_watcher check_our_aprents_ev; 1110 time_watcher check_our_parents_ev;
1105#endif 1111#endif
1106 1112
1107 void x_cb (XEvent &xev); 1113 void x_cb (XEvent &xev);
1108 void flush (); 1114 void flush ();
1109 xevent_watcher termwin_ev; 1115 xevent_watcher termwin_ev;
1227 void button_press (XButtonEvent &ev); 1233 void button_press (XButtonEvent &ev);
1228 void button_release (XButtonEvent &ev); 1234 void button_release (XButtonEvent &ev);
1229 void focus_in (); 1235 void focus_in ();
1230 void focus_out (); 1236 void focus_out ();
1231 void update_fade_color (unsigned int idx); 1237 void update_fade_color (unsigned int idx);
1232 int check_our_parents ();
1233#ifdef PRINTPIPE 1238#ifdef PRINTPIPE
1234 FILE *popen_printer (); 1239 FILE *popen_printer ();
1235 int pclose_printer (FILE *stream); 1240 int pclose_printer (FILE *stream);
1236#endif 1241#endif
1237 void process_print_pipe (); 1242 void process_print_pipe ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines