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.126 by root, Wed Dec 1 02:12:18 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);
609 Rs_insecure, 610 Rs_insecure,
610 Rs_cursorBlink, 611 Rs_cursorBlink,
611 Rs_pointerBlank, 612 Rs_pointerBlank,
612 Rs_pointerBlankDelay, 613 Rs_pointerBlankDelay,
613 Rs_imLocale, 614 Rs_imLocale,
615 Rs_pastableTabs,
614#ifndef NO_SECONDARY_SCREEN 616#ifndef NO_SECONDARY_SCREEN
615 Rs_secondaryScreen, 617 Rs_secondaryScreen,
616 Rs_secondaryScroll, 618 Rs_secondaryScroll,
617#endif 619#endif
618#ifdef OFF_FOCUS_FADING 620#ifdef OFF_FOCUS_FADING
1015 scrollbar_align, 1017 scrollbar_align,
1016 selection_wait, 1018 selection_wait,
1017 selection_type; 1019 selection_type;
1018/* ---------- */ 1020/* ---------- */
1019 short rvideo; 1021 short rvideo;
1020 int16_t num_scr; /* screen: number lines scrolled */ 1022 int num_scr; /* screen: number lines scrolled */
1021 unsigned int prev_ncol, /* screen: previous number of columns */ 1023 int prev_ncol, /* screen: previous number of columns */
1022 prev_nrow; /* screen: previous number of rows */ 1024 prev_nrow; /* screen: previous number of rows */
1023/* ---------- */ 1025/* ---------- */
1024 rend_t rstyle; 1026 rend_t rstyle;
1025/* ---------- */ 1027/* ---------- */
1026 uint32_t pixcolor_set[NPIXCLR_SETS]; 1028 uint32_t pixcolor_set[NPIXCLR_SETS];
1058 pointerBlankDelay, 1060 pointerBlankDelay,
1059# endif 1061# endif
1060 allowedxerror; 1062 allowedxerror;
1061/* ---------- */ 1063/* ---------- */
1062 unsigned int ModMetaMask, 1064 unsigned int ModMetaMask,
1063 ModNumLockMask, 1065 ModNumLockMask;
1064 old_width, /* last used width in screen resize */ 1066 int old_width, /* last used width in screen resize */
1065 old_height; /* last used height in screen resize */ 1067 old_height; /* last used height in screen resize */
1066 unsigned long priv_modes, 1068 unsigned long priv_modes,
1067 SavedModes; 1069 SavedModes;
1068/* ---------- */ 1070/* ---------- */
1069 Atom xa[NUM_XA]; 1071 Atom xa[NUM_XA];
1108#ifndef NO_BACKSPACE_KEY 1110#ifndef NO_BACKSPACE_KEY
1109 const char *key_backspace; 1111 const char *key_backspace;
1110#endif 1112#endif
1111#ifndef NO_DELETE_KEY 1113#ifndef NO_DELETE_KEY
1112 const char *key_delete; 1114 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 1115#endif
1119 struct mouse_event MEvent; 1116 struct mouse_event MEvent;
1120 XComposeStatus compose; 1117 XComposeStatus compose;
1121 ttymode_t tio; 1118 ttymode_t tio;
1122#ifdef UTMP_SUPPORT 1119#ifdef UTMP_SUPPORT
1210#if TRANSPARENT 1207#if TRANSPARENT
1211 void rootwin_cb (XEvent &xev); 1208 void rootwin_cb (XEvent &xev);
1212 xevent_watcher rootwin_ev; 1209 xevent_watcher rootwin_ev;
1213#endif 1210#endif
1214 1211
1212
1213 void sig_term (sig_watcher &w); sig_watcher sw_term;
1214 void sig_chld (sig_watcher &w); sig_watcher sw_chld;
1215
1215 void x_cb (XEvent &xev); 1216 void x_cb (XEvent &xev);
1216 xevent_watcher termwin_ev; 1217 xevent_watcher termwin_ev;
1217 xevent_watcher vt_ev; 1218 xevent_watcher vt_ev;
1218#ifdef HAVE_SCROLLBARS 1219#ifdef HAVE_SCROLLBARS
1219 xevent_watcher scrollbar_ev; 1220 xevent_watcher scrollbar_ev;
1273 void set_locale (const char *locale); 1274 void set_locale (const char *locale);
1274 void init_xlocale (); 1275 void init_xlocale ();
1275 void init_command (const char *const *argv); 1276 void init_command (const char *const *argv);
1276 void run_command (const char *const *argv); 1277 void run_command (const char *const *argv);
1277 int run_child (const char *const *argv); 1278 int run_child (const char *const *argv);
1278 static void child_exited (int pid);
1279 1279
1280 void color_aliases (int idx); 1280 void color_aliases (int idx);
1281 void recolour_cursor (); 1281 void recolour_cursor ();
1282 void create_windows (int argc, const char *const *argv); 1282 void create_windows (int argc, const char *const *argv);
1283 void resize_all_windows (unsigned int width, unsigned int height, int ignoreparent); 1283 void resize_all_windows (unsigned int width, unsigned int height, int ignoreparent);
1284 void window_calc (unsigned int width, unsigned int height); 1284 void window_calc (unsigned int width, unsigned int height);
1285 1285
1286#if USE_XIM 1286#if USE_XIM
1287 rxvt_xim *input_method;
1288 XIC Input_Context;
1289 XIMStyle input_style;
1290 XPoint spot; // most recently sent spot position
1291
1287 void im_destroy (); 1292 void im_destroy ();
1288 void im_cb (); im_watcher im_ev; 1293 void im_cb (); im_watcher im_ev;
1289 void im_set_size (XRectangle &size); 1294 void im_set_size (XRectangle &size);
1290 void im_set_position (XPoint &pos); 1295 void im_set_position (XPoint &pos);
1291 void im_set_color (unsigned long &fg, unsigned long &bg); 1296 void im_set_color (unsigned long &fg, unsigned long &bg);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines