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.60 by root, Fri Jan 6 05:28:55 2006 UTC vs.
Revision 1.64 by root, Mon Jan 9 19:01:56 2006 UTC

204#define Screen_Insert (1<<3) /* insert mode (vs. overstrike) */ 204#define Screen_Insert (1<<3) /* insert mode (vs. overstrike) */
205#define Screen_WrapNext (1<<4) /* need to wrap for next char? */ 205#define Screen_WrapNext (1<<4) /* need to wrap for next char? */
206#define Screen_DefaultFlags (Screen_VisibleCursor | Screen_Autowrap) 206#define Screen_DefaultFlags (Screen_VisibleCursor | Screen_Autowrap)
207 207
208/* rxvt_vars.options */ 208/* rxvt_vars.options */
209#define Opt_console (1UL<<0) 209enum {
210#define Opt_loginShell (1UL<<1) 210# define def(name,idx) Opt_ ## name = 1UL << (idx),
211#define Opt_iconic (1UL<<2) 211# define nodef(name) Opt_ ## name = 0,
212#define Opt_visualBell (1UL<<3) 212# include "optinc.h"
213#define Opt_mapAlert (1UL<<4) 213# undef nodef
214#define Opt_reverseVideo (1UL<<5) 214# undef def
215#define Opt_utmpInhibit (1UL<<6) 215};
216#define Opt_scrollBar (1UL<<7)
217#define Opt_scrollBar_right (1UL<<8)
218#define Opt_scrollBar_floating (1UL<<9)
219#define Opt_meta8 (1UL<<10)
220#define Opt_scrollTtyOutput (1UL<<11)
221#define Opt_scrollTtyKeypress (1UL<<12)
222#define Opt_transparent (1UL<<13)
223#define Opt_tripleclickwords (1UL<<14)
224#define Opt_scrollWithBuffer (1UL<<15)
225#define Opt_jumpScroll (1UL<<16)
226#define Opt_mouseWheelScrollPage (1UL<<17)
227#if POINTER_BLANK
228# define Opt_pointerBlank (1UL<<18)
229#else
230# define Opt_pointerBlank 0
231#endif
232#define Opt_cursorBlink (1UL<<19)
233#define Opt_secondaryScreen (1UL<<20)
234#define Opt_secondaryScroll (1UL<<21)
235#define Opt_pastableTabs (1UL<<22)
236#define Opt_cursorUnderline (1UL<<23)
237#if ENABLE_FRILLS
238# define Opt_insecure (1UL<<24) // insecure esc sequences
239# define Opt_borderLess (1UL<<25) // mwm borderless hints
240# define Opt_hold (1UL<<26) // hold window open after exit
241# define Opt_skipBuiltinGlyphs (1UL<<27) // do not use internal glyphs
242#else
243# define Opt_insecure 0
244# define Opt_borderLess 0
245# define Opt_hold 0
246# define Opt_skipBuiltinGlyphs 0
247#endif
248#if ENABLE_STYLES
249# define Opt_intensityStyles (1UL<<28) // font styles imply intensity
250#else
251# define Opt_intensityStyles 0
252#endif
253
254#define SET_OPTION(opt) (options |= (opt))
255#define CLR_OPTION(opt) (options &= ~(opt))
256#define OPTION(opt) (options & (opt))
257#define OPTION_R(opt) (r->options & (opt))
258#define DEFAULT_OPTIONS (Opt_scrollBar | Opt_scrollTtyOutput \
259 | Opt_jumpScroll | Opt_secondaryScreen \
260 | Opt_pastableTabs | Opt_intensityStyles)
261 216
262/* ------------------------------------------------------------------------- */ 217/* ------------------------------------------------------------------------- */
263 218
264typedef struct { 219typedef struct {
265 short state; 220 short state;
286} scrollBar_t; 241} scrollBar_t;
287 242
288struct rxvt_vars : TermWin_t { 243struct rxvt_vars : TermWin_t {
289 scrollBar_t scrollBar; 244 scrollBar_t scrollBar;
290 menuBar_t menuBar; 245 menuBar_t menuBar;
291 unsigned long options; 246 uint32_t options;
292 XSizeHints szHint; 247 XSizeHints szHint;
293 rxvt_display *display; 248 rxvt_display *display;
294 rxvt_color *pix_colors; 249 rxvt_color *pix_colors;
295 rxvt_color *pix_colors_focused; 250 rxvt_color *pix_colors_focused;
296#ifdef OFF_FOCUS_FADING 251#ifdef OFF_FOCUS_FADING
299 short numpix_colors; 254 short numpix_colors;
300 Cursor TermWin_cursor; /* cursor for vt window */ 255 Cursor TermWin_cursor; /* cursor for vt window */
301 int sb_shadow; /* scrollbar shadow width */ 256 int sb_shadow; /* scrollbar shadow width */
302 rxvt_ptytty pty; 257 rxvt_ptytty pty;
303 int numlock_state; 258 int numlock_state;
304 line_t *row_buf; // all lines, scrollback + terminal, circular 259 line_t *row_buf; // all lines, scrollback + terminal, circular, followed by temp_buf
305 line_t *drawn_buf; // text on screen 260 line_t *drawn_buf; // text on screen
306 line_t *temp_buf; // temporary buffer
307 line_t *swap_buf; // lines for swap buffer 261 line_t *swap_buf; // lines for swap buffer
308 char *tabs; /* per location: 1 == tab-stop */ 262 char *tabs; /* per location: 1 == tab-stop */
309 screen_t screen; 263 screen_t screen;
310 screen_t swap; 264 screen_t swap;
311 selection_t selection; 265 selection_t selection;
312}; 266};
313 267
314void rxvt_init (); 268void rxvt_init ();
269bool rxvt_tainted ();
315 270
316#endif /* _RXVTLIB_H_ */ 271#endif /* _RXVTLIB_H_ */
317 272

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines