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.397 by root, Thu Apr 1 01:01:44 2010 UTC vs.
Revision 1.404 by sf-exg, Sun Apr 18 11:06:46 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
253# define TERMENV "rxvt-unicode-256color"
254# else
252# define TERMENV "rxvt-unicode" 255# define TERMENV "rxvt-unicode"
256# endif
253#endif 257#endif
254 258
255#if defined (NO_MOUSE_REPORT) && !defined (NO_MOUSE_REPORT_SCROLLBAR) 259#if defined (NO_MOUSE_REPORT) && !defined (NO_MOUSE_REPORT_SCROLLBAR)
256# define NO_MOUSE_REPORT_SCROLLBAR 1 260# define NO_MOUSE_REPORT_SCROLLBAR 1
257#endif 261#endif
303/* arguments for rxvt_scr_change_screen () */ 307/* arguments for rxvt_scr_change_screen () */
304enum { 308enum {
305 PRIMARY = 0, 309 PRIMARY = 0,
306 SECONDARY, 310 SECONDARY,
307}; 311};
312
313// define various rendition bits and masks. the rendition word
314// is 32 bits in size, and we should use it as efficiently as possible
308 315
309#define RS_None 0 316#define RS_None 0
310 317
311// GET_BGATTR depends on RS_fgShift > RS_bgShift 318// GET_BGATTR depends on RS_fgShift > RS_bgShift
312#define RS_colorMask ((1UL << Color_Bits) - 1UL) 319#define RS_colorMask ((1UL << Color_Bits) - 1UL)
320#define RS_Careful (1UL << RS_fontShift) /* be careful when drawing these */ 327#define RS_Careful (1UL << RS_fontShift) /* be careful when drawing these */
321#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
322 329
323// 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"
324#define RS_redraw (2UL << RS_fontShift) 331#define RS_redraw (2UL << RS_fontShift)
332
333#define RS_Sel (1UL << 22)
325 334
326// 5 custom bits for extensions 335// 5 custom bits for extensions
327#define RS_customCount 16UL 336#define RS_customCount 16UL
328#define RS_customShift 23 337#define RS_customShift 23
329#define RS_customMask ((RS_customCount - 1UL) << RS_customShift) 338#define RS_customMask ((RS_customCount - 1UL) << RS_customShift)
382 XTerm_Color_cursor = 12, // change actual 'Cursor' color 391 XTerm_Color_cursor = 12, // change actual 'Cursor' color
383 XTerm_Color_pointer_fg = 13, // change actual 'Pointer' fg color 392 XTerm_Color_pointer_fg = 13, // change actual 'Pointer' fg color
384 XTerm_Color_pointer_bg = 14, // change actual 'Pointer' bg color 393 XTerm_Color_pointer_bg = 14, // change actual 'Pointer' bg color
385 XTerm_Color05 = 15, // not implemented (tektronix fg) 394 XTerm_Color05 = 15, // not implemented (tektronix fg)
386 XTerm_Color06 = 16, // not implemented (tektronix bg) 395 XTerm_Color06 = 16, // not implemented (tektronix bg)
387 XTerm_Color_RV = 17, // change actual 'Highlight' color 396 XTerm_Color_HC = 17, // change actual 'Highlight' color
388 XTerm_logfile = 46, // not implemented 397 XTerm_logfile = 46, // not implemented
389 XTerm_font = 50, 398 XTerm_font = 50,
390 399
391 XTerm_konsole30 = 30, // reserved for konsole 400 XTerm_konsole30 = 30, // reserved for konsole
392 XTerm_konsole31 = 31, // reserved for konsole 401 XTerm_konsole31 = 31, // reserved for konsole
394 /* 403 /*
395 * rxvt extensions of XTerm OSCs: ESC ] Ps;Pt (ST|BEL) 404 * rxvt extensions of XTerm OSCs: ESC ] Ps;Pt (ST|BEL)
396 */ 405 */
397 406
398 // deprecated 407 // deprecated
399 Rxvt_Color_BD = 18,
400 Rxvt_Color_UL = 19,
401 Rxvt_restoreFG = 39, 408 Rxvt_restoreFG = 39,
402 Rxvt_restoreBG = 49, 409 Rxvt_restoreBG = 49,
403 410
404 Rxvt_Pixmap = 20, // new bg pixmap 411 Rxvt_Pixmap = 20, // new bg pixmap
405 Rxvt_dumpscreen = 55, // dump scrollback and all of screen 412 Rxvt_dumpscreen = 55, // dump scrollback and all of screen
482#if ENABLE_FRILLS 489#if ENABLE_FRILLS
483 Color_underline, 490 Color_underline,
484#endif 491#endif
485#ifdef OPTION_HC 492#ifdef OPTION_HC
486 Color_HC, 493 Color_HC,
494 Color_HTC,
487#endif 495#endif
488 Color_scroll, 496 Color_scroll,
489#ifdef RXVT_SCROLLBAR 497#ifdef RXVT_SCROLLBAR
490 Color_trough, 498 Color_trough,
491#endif 499#endif
954 scrollBar_t scrollBar; 962 scrollBar_t scrollBar;
955 uint8_t options[(Opt_count + 7) >> 3]; 963 uint8_t options[(Opt_count + 7) >> 3];
956 XSizeHints szHint; 964 XSizeHints szHint;
957 rxvt_color *pix_colors; 965 rxvt_color *pix_colors;
958 Cursor TermWin_cursor; /* cursor for vt window */ 966 Cursor TermWin_cursor; /* cursor for vt window */
959 int numlock_state;
960 line_t *row_buf; // all lines, scrollback + terminal, circular, followed by temp_buf 967 line_t *row_buf; // all lines, scrollback + terminal, circular, followed by temp_buf
961 line_t *drawn_buf; // text on screen 968 line_t *drawn_buf; // text on screen
962 line_t *swap_buf; // lines for swap buffer 969 line_t *swap_buf; // lines for swap buffer
963 char *tabs; /* per location: 1 == tab-stop */ 970 char *tabs; /* per location: 1 == tab-stop */
964 screen_t screen; 971 screen_t screen;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines