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.262 by root, Sat Aug 26 06:37:10 2006 UTC vs.
Revision 1.264 by root, Sat Dec 2 16:57:16 2006 UTC

520 * on the unnecessary items, e.g. Color_pointer, but won't bother 520 * on the unnecessary items, e.g. Color_pointer, but won't bother
521 * until we need to. Also, be aware of usage in pixcolor_set 521 * until we need to. Also, be aware of usage in pixcolor_set
522 */ 522 */
523 523
524enum colour_list { 524enum colour_list {
525 Color_none = -2,
526 Color_transparent = -1,
525 Color_fg = 0, 527 Color_fg = 0,
526 Color_bg, 528 Color_bg,
527 minCOLOR, /* 2 */ 529 minCOLOR, /* 2 */
528 Color_Black = minCOLOR, 530 Color_Black = minCOLOR,
529 Color_Red3, 531 Color_Red3,
698#define Row2Pixel(row) ((int32_t)Height2Pixel(row)) 700#define Row2Pixel(row) ((int32_t)Height2Pixel(row))
699#define Width2Pixel(n) ((int32_t)(n) * (int32_t)fwidth) 701#define Width2Pixel(n) ((int32_t)(n) * (int32_t)fwidth)
700#define Height2Pixel(n) ((int32_t)(n) * (int32_t)fheight) 702#define Height2Pixel(n) ((int32_t)(n) * (int32_t)fheight)
701 703
702#define OPTION(opt) (options & (opt)) 704#define OPTION(opt) (options & (opt))
703#define DEFAULT_OPTIONS (Opt_scrollBar | Opt_scrollTtyOutput \ 705#define DEFAULT_OPTIONS (Opt_scrollBar \
704 | Opt_jumpScroll | Opt_secondaryScreen \ 706 | Opt_scrollTtyOutput \
705 | Opt_pastableTabs | Opt_intensityStyles) 707 | Opt_jumpScroll \
708 | Opt_secondaryScreen \
709 | Opt_secondaryScroll \
710 | Opt_pastableTabs \
711 | Opt_intensityStyles)
706 712
707// for m >= -n, ensure remainder lies between 0..n-1 713// for m >= -n, ensure remainder lies between 0..n-1
708#define MOD(m,n) (((m) + (n)) % (n)) 714#define MOD(m,n) (((m) + (n)) % (n))
709 715
710#define LINENO(n) MOD (term_start + int(n), total_rows) 716#define LINENO(n) MOD (term_start + int(n), total_rows)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines