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.36 by pcg, Sat Feb 21 20:33:40 2004 UTC vs.
Revision 1.38 by pcg, Sun Feb 22 08:28:36 2004 UTC

49 int line; 49 int line;
50 int local; 50 int local;
51} ttymode_t; 51} ttymode_t;
52#endif 52#endif
53 53
54#ifdef GREEK_SUPPORT
55# include "grkelot.h"
56#endif
57#ifdef XPM_BACKGROUND 54#ifdef XPM_BACKGROUND
58# ifdef XPM_INC_X11 55# ifdef XPM_INC_X11
59# include <X11/xpm.h> 56# include <X11/xpm.h>
60# else 57# else
61# include <xpm.h> 58# include <xpm.h>
370#define XTerm_font 50 367#define XTerm_font 50
371 368
372/* 369/*
373 * rxvt extensions of XTerm OSCs: ESC ] Ps;Pt (ST|BEL) 370 * rxvt extensions of XTerm OSCs: ESC ] Ps;Pt (ST|BEL)
374 */ 371 */
372#define XTerm_locale 9 /* change locale */
375#define XTerm_Menu 10 /* set menu item */ 373#define XTerm_Menu 10 /* set menu item */
376#define XTerm_Pixmap 20 /* new bg pixmap */ 374#define XTerm_Pixmap 20 /* new bg pixmap */
377#define XTerm_restoreFG 39 /* change default fg color */ 375#define XTerm_restoreFG 39 /* change default fg color */
378#define XTerm_restoreBG 49 /* change default bg color */ 376#define XTerm_restoreBG 49 /* change default bg color */
379#define XTerm_dumpscreen 55 /* dump scrollback and all of screen */ 377#define XTerm_dumpscreen 55 /* dump scrollback and all of screen */
473 Rs_backgroundPixmap, 471 Rs_backgroundPixmap,
474#endif 472#endif
475#if (MENUBAR_MAX) 473#if (MENUBAR_MAX)
476 Rs_menu, 474 Rs_menu,
477#endif 475#endif
478#ifdef GREEK_SUPPORT
479 Rs_greek_keyboard,
480 Rs_greektoggle_key,
481#endif
482 Rs_loginShell, 476 Rs_loginShell,
483 Rs_jumpScroll, 477 Rs_jumpScroll,
484#ifdef HAVE_SCROLLBARS 478#ifdef HAVE_SCROLLBARS
485 Rs_scrollBar, 479 Rs_scrollBar,
486 Rs_scrollBar_right, 480 Rs_scrollBar_right,
866#endif 860#endif
867 scrollbar_align, 861 scrollbar_align,
868 selection_wait, 862 selection_wait,
869 selection_type; 863 selection_type;
870/* ---------- */ 864/* ---------- */
871#ifdef GREEK_SUPPORT
872 short greek_mode; /* greek keyboard mode */
873#endif
874 short rvideo; 865 short rvideo;
875 int16_t num_scr; /* screen: number lines scrolled */ 866 int16_t num_scr; /* screen: number lines scrolled */
876 unsigned int prev_ncol, /* screen: previous number of columns */ 867 unsigned int prev_ncol, /* screen: previous number of columns */
877 prev_nrow; /* screen: previous number of rows */ 868 prev_nrow; /* screen: previous number of rows */
878#ifdef RXVT_GRAPHICS
879 uint16_t gr_prev_start;
880#endif
881/* ---------- */ 869/* ---------- */
882 rend_t rstyle; 870 rend_t rstyle;
883/* ---------- */ 871/* ---------- */
884 uint32_t pixcolor_set[NPIXCLR_SETS]; 872 uint32_t pixcolor_set[NPIXCLR_SETS];
885/* ---------- */ 873/* ---------- */
987 const char *key_delete; 975 const char *key_delete;
988#endif 976#endif
989#if defined (HOTKEY_CTRL) || defined (HOTKEY_META) 977#if defined (HOTKEY_CTRL) || defined (HOTKEY_META)
990 KeySym ks_bigfont, ks_smallfont; 978 KeySym ks_bigfont, ks_smallfont;
991#endif 979#endif
992#ifdef GREEK_SUPPORT
993 KeySym ks_greekmodeswith;
994#endif
995#ifdef USE_XIM 980#ifdef USE_XIM
996 rxvt_xim *input_method; 981 rxvt_xim *input_method;
997 XIC Input_Context; 982 XIC Input_Context;
998 XIMStyle input_style; 983 XIMStyle input_style;
999 int event_type; 984 int event_type;
1000#endif 985#endif
1001 struct mouse_event MEvent; 986 struct mouse_event MEvent;
1002 XComposeStatus compose; 987 XComposeStatus compose;
1003#ifdef RXVT_GRAPHICS
1004 int graphics_up;
1005 struct grwin_t *gr_root;
1006#endif
1007 ttymode_t tio; 988 ttymode_t tio;
1008#ifdef UTMP_SUPPORT 989#ifdef UTMP_SUPPORT
1009# ifdef HAVE_STRUCT_UTMP 990# ifdef HAVE_STRUCT_UTMP
1010 struct utmp ut; 991 struct utmp ut;
1011# endif 992# endif
1020 row_col_t oldcursor; 1001 row_col_t oldcursor;
1021#ifdef XPM_BACKGROUND 1002#ifdef XPM_BACKGROUND
1022 bgPixmap_t bgPixmap; 1003 bgPixmap_t bgPixmap;
1023 XpmAttributes xpmAttr; /* originally loaded pixmap and its scaling */ 1004 XpmAttributes xpmAttr; /* originally loaded pixmap and its scaling */
1024#endif 1005#endif
1025#ifdef MULTICHAR_SET
1026 int oldcursormulti;
1027 void (*multichar_decode) (unsigned char *str, int len);
1028#endif
1029#ifndef RESET_TTY_TO_COMMON_DEFAULTS 1006#ifndef RESET_TTY_TO_COMMON_DEFAULTS
1030 struct stat ttyfd_stat; /* original status of our tty */ 1007 struct stat ttyfd_stat; /* original status of our tty */
1031#endif 1008#endif
1032#ifdef MENUBAR 1009#ifdef MENUBAR
1033 menu_t *ActiveMenu, /* currently active menu */ 1010 menu_t *ActiveMenu, /* currently active menu */
1034 *BuildMenu; /* the menu currently being built */ 1011 *BuildMenu; /* the menu currently being built */
1035 bar_t *CurrentBar; 1012 bar_t *CurrentBar;
1036# if ! (MENUBAR_MAX > 1) 1013# if ! (MENUBAR_MAX > 1)
1037 bar_t BarList; 1014 bar_t BarList;
1038# endif /* (MENUBAR_MAX > 1) */ 1015# endif /* (MENUBAR_MAX > 1) */
1039#endif
1040#ifdef RXVT_GRAPHICS
1041 Window gr_last_id;
1042#endif 1016#endif
1043#ifdef CURSOR_BLINK 1017#ifdef CURSOR_BLINK
1044 struct timeval lastcursorchange; 1018 struct timeval lastcursorchange;
1045#endif 1019#endif
1046#ifdef POINTER_BLANK 1020#ifdef POINTER_BLANK
1213 void cleanutent (); 1187 void cleanutent ();
1214 // main.C; 1188 // main.C;
1215 void privileges (int mode); 1189 void privileges (int mode);
1216 void privileged_utmp (char action); 1190 void privileged_utmp (char action);
1217 void privileged_ttydev (char action); 1191 void privileged_ttydev (char action);
1218 void change_font (int init, const char *fontname); 1192 bool change_font (const char *fontname);
1219 void font_up_down (int n, int direction); 1193 bool font_up_down (int n, int direction);
1220 void set_title (const char *str); 1194 void set_title (const char *str);
1221 void set_iconName (const char *str); 1195 void set_iconName (const char *str);
1222 void set_window_color (int idx, const char *color); 1196 void set_window_color (int idx, const char *color);
1223 void set_colorfgbg (); 1197 void set_colorfgbg ();
1224 int rXParseAllocColor (rxvt_color * screen_in_out, const char *colour); 1198 int rXParseAllocColor (rxvt_color * screen_in_out, const char *colour);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines