--- rxvt-unicode/src/rxvt.h 2005/12/23 14:46:35 1.170 +++ rxvt-unicode/src/rxvt.h 2005/12/31 16:30:42 1.172 @@ -638,6 +638,7 @@ Rs_borderLess, Rs_lineSpace, Rs_cursorUnderline, + Rs_intensityStyles, #endif #if CURSOR_BLINK Rs_cursorBlink, @@ -829,18 +830,18 @@ #define GET_BASEFG(x) (((x) & RS_fgMask)) #define GET_BASEBG(x) (((x) & RS_bgMask)>>Color_Bits) #ifndef NO_BRIGHTCOLOR -# define GET_FGCOLOR(x) \ - ((((x) & RS_Bold) == 0 \ - || GET_BASEFG (x) < minCOLOR \ - || GET_BASEFG (x) >= minBrightCOLOR) \ - ? GET_BASEFG (x) \ - : (GET_BASEFG (x) + (minBrightCOLOR - minCOLOR))) -# define GET_BGCOLOR(x) \ - ((((x) & RS_Blink) == 0 \ - || GET_BASEBG (x) < minCOLOR \ - || GET_BASEBG (x) >= minBrightCOLOR) \ - ? GET_BASEBG (x) \ - : (GET_BASEBG (x) + (minBrightCOLOR - minCOLOR))) +# define GET_FGCOLOR(x) ( \ + !((x) & RS_Bold) \ + || (ENABLE_STYLES && !(options & Opt_intensityStyles)) \ + || !IN_RANGE_INC (GET_BASEFG (x), minCOLOR, minBrightCOLOR) \ + ? GET_BASEFG (x) \ + : (GET_BASEFG (x) + (minBrightCOLOR - minCOLOR))) +# define GET_BGCOLOR(x) ( \ + !((x) & RS_Blink) \ + || (ENABLE_STYLES && !(options & Opt_intensityStyles)) \ + || !IN_RANGE_INC (GET_BASEBG (x), minCOLOR, minBrightCOLOR) \ + ? GET_BASEBG (x) \ + : (GET_BASEBG (x) + (minBrightCOLOR - minCOLOR))) #else # define GET_FGCOLOR(x) GET_BASEFG(x) # define GET_BGCOLOR(x) GET_BASEBG(x) @@ -1263,7 +1264,7 @@ void commit_iso14755 (); int hex_keyval (XKeyEvent &ev); # if ISO_14755 - void iso14755_51 (unicode_t ch, rend_t r = DEFAULT_RSTYLE); + void iso14755_51 (unicode_t ch, rend_t r = DEFAULT_RSTYLE, int x = 0, int y = -1); void iso14755_54 (int x, int y); # endif #endif