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.382 by root, Tue Mar 30 22:46:25 2010 UTC vs.
Revision 1.386 by root, Wed Mar 31 23:01:51 2010 UTC

318// fake styles 318// fake styles
319#define RS_Blink 0x00010000UL // blink 319#define RS_Blink 0x00010000UL // blink
320#define RS_RVid 0x00020000UL // reverse video 320#define RS_RVid 0x00020000UL // reverse video
321#define RS_Uline 0x00040000UL // underline 321#define RS_Uline 0x00040000UL // underline
322 322
323// toggle this to force redraw, must be != RS_Careful 323// toggle this to force redraw, must be != RS_Careful and otherwise "pretty neutral"
324#define RS_redraw 0x01000000UL 324#define RS_redraw 0x02000000UL
325 325
326// 5 custom bits for extensions 326// 5 custom bits for extensions
327#define RS_customCount 32 327#define RS_customCount 16
328#define RS_customMask 0x00f80000UL 328#define RS_customMask 0x00780000UL
329#define RS_customShift 19 329#define RS_customShift 19
330 330
331// other flags 331// must have space for rxvt_fontset::fontCount * 2 + 2 values
332#define RS_fontMask 0xf8000000UL // includes RS_Careful
333#define RS_fontShift 27
332#define RS_Careful 0x80000000UL /* be careful when drawing these */ 334#define RS_Careful 0x08000000UL /* be careful when drawing these */
333 335
334#define RS_styleCount 4 336#define RS_styleCount 4
335#define RS_styleMask (RS_Bold | RS_Italic) 337#define RS_styleMask (RS_Bold | RS_Italic)
336#define RS_styleShift 14 338#define RS_styleShift 14
337 339
338#define RS_baseattrMask (RS_Italic | RS_Bold | RS_Blink | RS_RVid | RS_Uline) 340#define RS_baseattrMask (RS_Italic | RS_Bold | RS_Blink | RS_RVid | RS_Uline)
339#define RS_attrMask (RS_baseattrMask | RS_fontMask) 341#define RS_attrMask (RS_baseattrMask | RS_fontMask)
340
341#define RS_fontCount rxvt_fontset::fontCount
342#define RS_fontMask 0xff000000UL // plenty(?) of fonts, includes RS_Careful
343#define RS_fontShift 24
344 342
345#define DEFAULT_RSTYLE (RS_None | Color_fg | (Color_bg << Color_Bits)) 343#define DEFAULT_RSTYLE (RS_None | Color_fg | (Color_bg << Color_Bits))
346#define OVERLAY_RSTYLE (RS_None | Color_Black | (Color_Yellow << Color_Bits)) 344#define OVERLAY_RSTYLE (RS_None | Color_Black | (Color_Yellow << Color_Bits))
347 345
348#define Sel_none 0 /* Not waiting */ 346#define Sel_none 0 /* Not waiting */
986 hidden_text:1, 984 hidden_text:1,
987#endif 985#endif
988#if POINTER_BLANK 986#if POINTER_BLANK
989 hidden_pointer:1, 987 hidden_pointer:1,
990#endif 988#endif
991 enc_utf8:1, /* wether locale uses utf-8 */ 989 enc_utf8:1, /* whether locale uses utf-8 */
992 seen_input:1, /* wether we have seen some program output yet */ 990 seen_input:1, /* whether we have seen some program output yet */
993 seen_resize:1, /* wether we had a resize event */ 991 seen_resize:1, /* whether we had a resize event */
994 parsed_geometry:1; 992 parsed_geometry:1;
995 993
996 unsigned char refresh_type, 994 unsigned char refresh_type,
997#ifdef META8_OPTION 995#ifdef META8_OPTION
998 meta_char, /* Alt-key prefix */ 996 meta_char, /* Alt-key prefix */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines