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.402 by sf-exg, Sun Apr 4 18:59:19 2010 UTC vs.
Revision 1.406 by root, Sun May 23 00:02:52 2010 UTC

247# define COLORTERMENVFULL COLORTERMENV "-xpm" 247# define COLORTERMENVFULL COLORTERMENV "-xpm"
248#else 248#else
249# define COLORTERMENVFULL COLORTERMENV 249# define COLORTERMENVFULL COLORTERMENV
250#endif 250#endif
251#ifndef TERMENV 251#ifndef TERMENV
252# ifdef USE_256_COLORS 252# if USE_256_COLORS
253# define TERMENV "rxvt-unicode-256color" 253# define TERMENV "rxvt-unicode-256color"
254# else 254# else
255# define TERMENV "rxvt-unicode" 255# define TERMENV "rxvt-unicode"
256# endif 256# endif
257#endif 257#endif
327#define RS_Careful (1UL << RS_fontShift) /* be careful when drawing these */ 327#define RS_Careful (1UL << RS_fontShift) /* be careful when drawing these */
328#define RS_fontMask ((rxvt_fontset::fontCount << (RS_fontShift + 1)) | RS_Careful) // includes RS_Careful 328#define RS_fontMask ((rxvt_fontset::fontCount << (RS_fontShift + 1)) | RS_Careful) // includes RS_Careful
329 329
330// toggle this to force redraw, must be != RS_Careful and otherwise "pretty neutral" 330// toggle this to force redraw, must be != RS_Careful and otherwise "pretty neutral"
331#define RS_redraw (2UL << RS_fontShift) 331#define RS_redraw (2UL << RS_fontShift)
332
333#define RS_Sel (1UL << 22)
332 334
333// 5 custom bits for extensions 335// 5 custom bits for extensions
334#define RS_customCount 16UL 336#define RS_customCount 16UL
335#define RS_customShift 23 337#define RS_customShift 23
336#define RS_customMask ((RS_customCount - 1UL) << RS_customShift) 338#define RS_customMask ((RS_customCount - 1UL) << RS_customShift)
389 XTerm_Color_cursor = 12, // change actual 'Cursor' color 391 XTerm_Color_cursor = 12, // change actual 'Cursor' color
390 XTerm_Color_pointer_fg = 13, // change actual 'Pointer' fg color 392 XTerm_Color_pointer_fg = 13, // change actual 'Pointer' fg color
391 XTerm_Color_pointer_bg = 14, // change actual 'Pointer' bg color 393 XTerm_Color_pointer_bg = 14, // change actual 'Pointer' bg color
392 XTerm_Color05 = 15, // not implemented (tektronix fg) 394 XTerm_Color05 = 15, // not implemented (tektronix fg)
393 XTerm_Color06 = 16, // not implemented (tektronix bg) 395 XTerm_Color06 = 16, // not implemented (tektronix bg)
394 XTerm_Color_RV = 17, // change actual 'Highlight' color 396 XTerm_Color_HC = 17, // change actual 'Highlight' bg color
397 XTerm_Color_HTC = 19, // change actual 'Highlight' fg color
395 XTerm_logfile = 46, // not implemented 398 XTerm_logfile = 46, // not implemented
396 XTerm_font = 50, 399 XTerm_font = 50,
397 400
398 XTerm_konsole30 = 30, // reserved for konsole 401 XTerm_konsole30 = 30, // reserved for konsole
399 XTerm_konsole31 = 31, // reserved for konsole 402 XTerm_konsole31 = 31, // reserved for konsole
401 /* 404 /*
402 * rxvt extensions of XTerm OSCs: ESC ] Ps;Pt (ST|BEL) 405 * rxvt extensions of XTerm OSCs: ESC ] Ps;Pt (ST|BEL)
403 */ 406 */
404 407
405 // deprecated 408 // deprecated
406 Rxvt_Color_BD = 18,
407 Rxvt_Color_UL = 19,
408 Rxvt_restoreFG = 39, 409 Rxvt_restoreFG = 39,
409 Rxvt_restoreBG = 49, 410 Rxvt_restoreBG = 49,
410 411
411 Rxvt_Pixmap = 20, // new bg pixmap 412 Rxvt_Pixmap = 20, // new bg pixmap
412 Rxvt_dumpscreen = 55, // dump scrollback and all of screen 413 Rxvt_dumpscreen = 55, // dump scrollback and all of screen
466 Color_White = maxBrightCOLOR, 467 Color_White = maxBrightCOLOR,
467#else 468#else
468 Color_White = maxCOLOR, 469 Color_White = maxCOLOR,
469#endif 470#endif
470 minTermCOLOR = Color_White + 1, 471 minTermCOLOR = Color_White + 1,
471#ifndef USE_256_COLORS 472#if USE_256_COLORS
473 maxTermCOLOR = Color_White + 240,
474#else
472 maxTermCOLOR = Color_White + 72, 475 maxTermCOLOR = Color_White + 72,
473#else
474 maxTermCOLOR = Color_White + 240,
475#endif 476#endif
476#ifndef NO_CURSORCOLOR 477#ifndef NO_CURSORCOLOR
477 Color_cursor, 478 Color_cursor,
478 Color_cursor2, 479 Color_cursor2,
479#endif 480#endif
511#else 512#else
512 TOTAL_COLORS = NRS_COLORS 513 TOTAL_COLORS = NRS_COLORS
513#endif 514#endif
514}; 515};
515 516
516#ifndef USE_256_COLORS 517#if USE_256_COLORS
517#define Color_Bits 7 // 0 .. maxTermCOLOR 518# define Color_Bits 9 // 0 .. maxTermCOLOR
518#else 519#else
519#define Color_Bits 9 // 0 .. maxTermCOLOR 520# define Color_Bits 7 // 0 .. maxTermCOLOR
520#endif 521#endif
521 522
522/* 523/*
523 * Resource list 524 * Resource list
524 */ 525 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines