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.121 by root, Wed Aug 25 03:52:09 2004 UTC vs.
Revision 1.125 by root, Sun Nov 21 19:04:07 2004 UTC

99int rxvt_Str_match (const char *s1, const char *s2); 99int rxvt_Str_match (const char *s1, const char *s2);
100const char * rxvt_Str_skip_space (const char *str); 100const char * rxvt_Str_skip_space (const char *str);
101char * rxvt_Str_trim (char *str); 101char * rxvt_Str_trim (char *str);
102int rxvt_Str_escaped (char *str); 102int rxvt_Str_escaped (char *str);
103char ** rxvt_splitcommastring (const char *cs); 103char ** rxvt_splitcommastring (const char *cs);
104void rxvt_freecommastring (char **cs);
104char * rxvt_File_find (const char *file, const char *ext, const char *path); 105char * rxvt_File_find (const char *file, const char *ext, const char *path);
105void rxvt_Draw_Shadow (Display *display, Window win, GC topShadow, GC botShadow, int x, int y, int w, int h); 106void rxvt_Draw_Shadow (Display *display, Window win, GC topShadow, GC botShadow, int x, int y, int w, int h);
106void rxvt_Draw_Triangle (Display *display, Window win, GC topShadow, GC botShadow, int x, int y, int w, int type); 107void rxvt_Draw_Triangle (Display *display, Window win, GC topShadow, GC botShadow, int x, int y, int w, int type);
107 108
108void rxvt_privileges (rxvt_privaction action); 109void rxvt_privileges (rxvt_privaction action);
1015 scrollbar_align, 1016 scrollbar_align,
1016 selection_wait, 1017 selection_wait,
1017 selection_type; 1018 selection_type;
1018/* ---------- */ 1019/* ---------- */
1019 short rvideo; 1020 short rvideo;
1020 int16_t num_scr; /* screen: number lines scrolled */ 1021 int num_scr; /* screen: number lines scrolled */
1021 unsigned int prev_ncol, /* screen: previous number of columns */ 1022 int prev_ncol, /* screen: previous number of columns */
1022 prev_nrow; /* screen: previous number of rows */ 1023 prev_nrow; /* screen: previous number of rows */
1023/* ---------- */ 1024/* ---------- */
1024 rend_t rstyle; 1025 rend_t rstyle;
1025/* ---------- */ 1026/* ---------- */
1026 uint32_t pixcolor_set[NPIXCLR_SETS]; 1027 uint32_t pixcolor_set[NPIXCLR_SETS];
1058 pointerBlankDelay, 1059 pointerBlankDelay,
1059# endif 1060# endif
1060 allowedxerror; 1061 allowedxerror;
1061/* ---------- */ 1062/* ---------- */
1062 unsigned int ModMetaMask, 1063 unsigned int ModMetaMask,
1063 ModNumLockMask, 1064 ModNumLockMask;
1064 old_width, /* last used width in screen resize */ 1065 int old_width, /* last used width in screen resize */
1065 old_height; /* last used height in screen resize */ 1066 old_height; /* last used height in screen resize */
1066 unsigned long priv_modes, 1067 unsigned long priv_modes,
1067 SavedModes; 1068 SavedModes;
1068/* ---------- */ 1069/* ---------- */
1069 Atom xa[NUM_XA]; 1070 Atom xa[NUM_XA];
1108#ifndef NO_BACKSPACE_KEY 1109#ifndef NO_BACKSPACE_KEY
1109 const char *key_backspace; 1110 const char *key_backspace;
1110#endif 1111#endif
1111#ifndef NO_DELETE_KEY 1112#ifndef NO_DELETE_KEY
1112 const char *key_delete; 1113 const char *key_delete;
1113#endif
1114#ifdef USE_XIM
1115 rxvt_xim *input_method;
1116 XIC Input_Context;
1117 XIMStyle input_style;
1118#endif 1114#endif
1119 struct mouse_event MEvent; 1115 struct mouse_event MEvent;
1120 XComposeStatus compose; 1116 XComposeStatus compose;
1121 ttymode_t tio; 1117 ttymode_t tio;
1122#ifdef UTMP_SUPPORT 1118#ifdef UTMP_SUPPORT
1210#if TRANSPARENT 1206#if TRANSPARENT
1211 void rootwin_cb (XEvent &xev); 1207 void rootwin_cb (XEvent &xev);
1212 xevent_watcher rootwin_ev; 1208 xevent_watcher rootwin_ev;
1213#endif 1209#endif
1214 1210
1211
1212 void sig_term (sig_watcher &w); sig_watcher sw_term;
1213 void sig_chld (sig_watcher &w); sig_watcher sw_chld;
1214
1215 void x_cb (XEvent &xev); 1215 void x_cb (XEvent &xev);
1216 xevent_watcher termwin_ev; 1216 xevent_watcher termwin_ev;
1217 xevent_watcher vt_ev; 1217 xevent_watcher vt_ev;
1218#ifdef HAVE_SCROLLBARS 1218#ifdef HAVE_SCROLLBARS
1219 xevent_watcher scrollbar_ev; 1219 xevent_watcher scrollbar_ev;
1273 void set_locale (const char *locale); 1273 void set_locale (const char *locale);
1274 void init_xlocale (); 1274 void init_xlocale ();
1275 void init_command (const char *const *argv); 1275 void init_command (const char *const *argv);
1276 void run_command (const char *const *argv); 1276 void run_command (const char *const *argv);
1277 int run_child (const char *const *argv); 1277 int run_child (const char *const *argv);
1278 static void child_exited (int pid);
1279 1278
1280 void color_aliases (int idx); 1279 void color_aliases (int idx);
1281 void recolour_cursor (); 1280 void recolour_cursor ();
1282 void create_windows (int argc, const char *const *argv); 1281 void create_windows (int argc, const char *const *argv);
1283 void resize_all_windows (unsigned int width, unsigned int height, int ignoreparent); 1282 void resize_all_windows (unsigned int width, unsigned int height, int ignoreparent);
1284 void window_calc (unsigned int width, unsigned int height); 1283 void window_calc (unsigned int width, unsigned int height);
1285 1284
1286#if USE_XIM 1285#if USE_XIM
1286 rxvt_xim *input_method;
1287 XIC Input_Context;
1288 XIMStyle input_style;
1289 XPoint spot; // most recently sent spot position
1290
1287 void im_destroy (); 1291 void im_destroy ();
1288 void im_cb (); im_watcher im_ev; 1292 void im_cb (); im_watcher im_ev;
1289 void im_set_size (XRectangle &size); 1293 void im_set_size (XRectangle &size);
1290 void im_set_position (XPoint &pos); 1294 void im_set_position (XPoint &pos);
1291 void im_set_color (unsigned long &fg, unsigned long &bg); 1295 void im_set_color (unsigned long &fg, unsigned long &bg);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines