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

Comparing rxvt-unicode/src/rxvtlib.h.in (file contents):
Revision 1.26 by root, Wed Aug 4 03:29:28 2004 UTC vs.
Revision 1.32 by root, Mon Aug 16 00:17:27 2004 UTC

21 21
22#include <sys/wait.h> 22#include <sys/wait.h>
23#include <sys/stat.h> 23#include <sys/stat.h>
24 24
25#include <cwchar> 25#include <cwchar>
26
27#include "ptytty.h"
26 28
27extern "C" { 29extern "C" {
28#include <X11/Intrinsic.h> /* Xlib, Xutil, Xresource, Xfuncproto */ 30#include <X11/Intrinsic.h> /* Xlib, Xutil, Xresource, Xfuncproto */
29} 31}
30 32
180#define Screen_Autowrap (1<<2) /* auto-wrap flag */ 182#define Screen_Autowrap (1<<2) /* auto-wrap flag */
181#define Screen_Insert (1<<3) /* insert mode (vs. overstrike) */ 183#define Screen_Insert (1<<3) /* insert mode (vs. overstrike) */
182#define Screen_WrapNext (1<<4) /* need to wrap for next char? */ 184#define Screen_WrapNext (1<<4) /* need to wrap for next char? */
183#define Screen_DefaultFlags (Screen_VisibleCursor|Screen_Autowrap) 185#define Screen_DefaultFlags (Screen_VisibleCursor|Screen_Autowrap)
184 186
185/* rxvt_vars.Options */ 187/* rxvt_vars.options */
186#define Opt_console (1UL<<0) 188#define Opt_console (1UL<<0)
187#define Opt_loginShell (1UL<<1) 189#define Opt_loginShell (1UL<<1)
188#define Opt_iconic (1UL<<2) 190#define Opt_iconic (1UL<<2)
189#define Opt_visualBell (1UL<<3) 191#define Opt_visualBell (1UL<<3)
190#define Opt_mapAlert (1UL<<4) 192#define Opt_mapAlert (1UL<<4)
205#define Opt_mouseWheelScrollPage (1UL<<19) 207#define Opt_mouseWheelScrollPage (1UL<<19)
206#define Opt_pointerBlank (1UL<<20) 208#define Opt_pointerBlank (1UL<<20)
207#define Opt_cursorBlink (1UL<<21) 209#define Opt_cursorBlink (1UL<<21)
208#define Opt_secondaryScreen (1UL<<22) 210#define Opt_secondaryScreen (1UL<<22)
209#define Opt_secondaryScroll (1UL<<23) 211#define Opt_secondaryScroll (1UL<<23)
210#ifdef NO_FRILLS 212#if ENABLE_FRILLS
213# define Opt_insecure (1UL<<24) // insecure esc sequences
214# define Opt_borderLess (1UL<<25) // mem borderless hints
215#else
211# define Opt_insecure 0 216# define Opt_insecure 0
212# define Opt_borderLess 0 217# define Opt_borderLess 0
213#else
214# define Opt_insecure (1UL<<24) // insecure esc sequences
215# define Opt_borderLess (1UL<<25) // mem borderless hints
216#endif 218#endif
217/* place holder used for parsing command-line options */ 219/* place holder used for parsing command-line options */
218#define Opt_Reverse (1UL<<30) 220#define Opt_Reverse (1UL<<30)
219#define Opt_Boolean (1UL<<31) 221#define Opt_Boolean (1UL<<31)
220 222
249 251
250struct rxvt_vars { 252struct rxvt_vars {
251 TermWin_t TermWin; 253 TermWin_t TermWin;
252 scrollBar_t scrollBar; 254 scrollBar_t scrollBar;
253 menuBar_t menuBar; 255 menuBar_t menuBar;
254 unsigned long Options; 256 unsigned long options;
255 XSizeHints szHint; 257 XSizeHints szHint;
256 rxvt_display *display; 258 rxvt_display *display;
257 rxvt_color *PixColors; 259 rxvt_color *pix_colors;
258 rxvt_color *PixColorsFocused; 260 rxvt_color *pix_colors_focused;
259#ifdef OFF_FOCUS_FADING 261#ifdef OFF_FOCUS_FADING
260 rxvt_color *PixColorsUnFocused; 262 rxvt_color *pix_colors_unfocused;
261#endif 263#endif
262 short numPixColors; 264 short numpix_colors;
263 Cursor TermWin_cursor; /* cursor for vt window */ 265 Cursor TermWin_cursor; /* cursor for vt window */
264 int sb_shadow; /* scrollbar shadow width */ 266 int sb_shadow; /* scrollbar shadow width */
265 int cmd_fd; /* pty file descriptor; connected to command */ 267 rxvt_ptytty pty;
266 int tty_fd; /* tty file descriptor; connected to child */
267 int numlock_state; 268 int numlock_state;
268 text_t **drawn_text; /* text drawn on screen (characters) */ 269 text_t **drawn_text; /* text drawn on screen (characters) */
269 rend_t **drawn_rend; /* text drawn on screen (rendition) */ 270 rend_t **drawn_rend; /* text drawn on screen (rendition) */
270 text_t **buf_text; 271 text_t **buf_text;
271 rend_t **buf_rend; 272 rend_t **buf_rend;
273 screen_t screen; 274 screen_t screen;
274 screen_t swap; 275 screen_t swap;
275 selection_t selection; 276 selection_t selection;
276}; 277};
277 278
278void rxvt_init_signals (); 279void rxvt_init ();
279rxvt_t rxvt_init (int argc, const char *const *argv);
280 280
281#endif /* _RXVTLIB_H_ */ 281#endif /* _RXVTLIB_H_ */
282 282

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines