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.446 by sf-exg, Tue Aug 9 18:41:31 2011 UTC vs.
Revision 1.450 by sf-exg, Wed Nov 2 12:43:50 2011 UTC

1463#ifndef NO_BRIGHTCOLOR 1463#ifndef NO_BRIGHTCOLOR
1464 if (r & RS_Bold 1464 if (r & RS_Bold
1465# if ENABLE_STYLES 1465# if ENABLE_STYLES
1466 && option (Opt_intensityStyles) 1466 && option (Opt_intensityStyles)
1467# endif 1467# endif
1468 && IN_RANGE_INC (base, minCOLOR, minBrightCOLOR)) 1468 && IN_RANGE_EXC (base, minCOLOR, minBrightCOLOR))
1469 base += minBrightCOLOR - minCOLOR; 1469 base += minBrightCOLOR - minCOLOR;
1470#endif 1470#endif
1471 return base; 1471 return base;
1472 } 1472 }
1473 1473
1477#ifndef NO_BRIGHTCOLOR 1477#ifndef NO_BRIGHTCOLOR
1478 if (r & RS_Blink 1478 if (r & RS_Blink
1479# if ENABLE_STYLES 1479# if ENABLE_STYLES
1480 && option (Opt_intensityStyles) 1480 && option (Opt_intensityStyles)
1481# endif 1481# endif
1482 && IN_RANGE_INC (base, minCOLOR, minBrightCOLOR)) 1482 && IN_RANGE_EXC (base, minCOLOR, minBrightCOLOR))
1483 base += minBrightCOLOR - minCOLOR; 1483 base += minBrightCOLOR - minCOLOR;
1484#endif 1484#endif
1485 return base; 1485 return base;
1486 } 1486 }
1487 1487
1489 { 1489 {
1490 return options[opt >> 3] & (1 << (opt & 7)); 1490 return options[opt >> 3] & (1 << (opt & 7));
1491 } 1491 }
1492 1492
1493 void set_option (uint8_t opt, bool set = true) NOTHROW; 1493 void set_option (uint8_t opt, bool set = true) NOTHROW;
1494
1495 void set_privmode (unsigned bit, int set) NOTHROW
1496 {
1497 if (set)
1498 priv_modes |= bit;
1499 else
1500 priv_modes &= ~bit;
1501 }
1502 1494
1503 // modifies first argument(!) 1495 // modifies first argument(!)
1504 void tt_paste (char *data, unsigned int len) NOTHROW; 1496 void tt_paste (char *data, unsigned int len) NOTHROW;
1505 void paste (char *data, unsigned int len) NOTHROW; 1497 void paste (char *data, unsigned int len) NOTHROW;
1506 void scr_blank_line (line_t &l, unsigned int col, unsigned int width, rend_t efs) const NOTHROW; 1498 void scr_blank_line (line_t &l, unsigned int col, unsigned int width, rend_t efs) const NOTHROW;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines