Lines Matching defs:attr_flags
1106 unsigned attr_flags = xw->flags;
1130 !hasDirectFG(attr_flags) &&
1137 UIntClr(attr_flags, BOLD);
1141 if (attr_flags & INSERT) {
1168 test = attr_flags;
1173 fg = MapToColorMode(xw->cur_foreground, screen, attr_flags);
1182 currentGC = updatedXtermGC(xw, attr_flags, fg_bg, False);
1186 params.attr_flags = (test & DRAWX_MASK);
1198 resetXtermGC(xw, attr_flags, False);
1201 ScrnWriteText(xw, offset, length, attr_flags, fg_bg);
3001 unsigned attr_flags)
3008 if ((attr_flags & ATR_ITALIC)
3013 if ((attr_flags & BOLDATTR(screen))
3026 if ((attr_flags & UNDERLINE)
3033 if ((attr_flags & BOLDATTR(screen))
3049 unsigned attr_flags,
3059 result = xterm_DoubleFT(params, params->real_chrset, attr_flags);
3066 if ((attr_flags & ATR_ITALIC)
3071 if ((attr_flags & BOLDATTR(screen))
3084 if ((attr_flags & UNDERLINE)
3092 if ((attr_flags & BOLDATTR(screen))
3122 unsigned attr_flags,
3134 (void) attr_flags;
3138 XTermXftFonts *wdata = getWideXftFont(params, attr_flags);
3219 #define xtermXftWidth(params, attr_flags, color, font, x, y, chars, len) \
3220 xtermXftDrawString(params, attr_flags, color, font, x, y, chars, len, False)
3475 unsigned attr_flags,
3483 int ncells = xtermXftWidth(params, attr_flags,
3594 xtermXftDrawString(params, attr_flags,
3617 unsigned attr_flags,
3632 if ((attr_flags & ATR_STRIKEOUT)) {
3639 if ((attr_flags & ATR_DBL_UNDER)) {
3643 if ((attr_flags & UNDERLINE)) {
4182 #define IS_BOLD (recur.attr_flags & BOLDATTR(screen))
4183 #define NOT_BOLD (recur.attr_flags & ~BOLDATTR(screen))
4184 ndata = getNormXftFont(&recur, recur.attr_flags, &did_ul);
4189 wdata = getWideXftFont(&recur, recur.attr_flags);
4201 int nc = xtermXftWidth(&recur, recur.attr_flags,
4320 recur.attr_flags,
4349 recur.attr_flags,
4361 recur.attr_flags,
4379 recur.attr_flags,
4392 recur.attr_flags,
4406 recur.attr_flags,
4419 curFont = ((recur.attr_flags & BOLDATTR(screen))
4618 #define AttrFlags() recur.attr_flags
4621 #define AttrFlags() (recur.attr_flags & DRAWX_MASK)
4721 useBoldFont = ((recur.attr_flags & BOLDATTR(screen)) != 0);
4827 if ((recur.attr_flags & BOLDATTR(screen)) && (screen->enbolden || !useBoldFont)) {
4871 if ((recur.attr_flags & BOLDATTR(screen)) && screen->enbolden) {
4885 recur.attr_flags,
4964 whichXtermCgs(XtermWidget xw, unsigned attr_flags, Bool hilite)
4969 if (ReverseOrHilite(screen, attr_flags, hilite)) {
4970 if (attr_flags & BOLDATTR(screen)) {
4976 if (attr_flags & BOLDATTR(screen)) {
4991 updatedXtermGC(XtermWidget xw, unsigned attr_flags, CellColor fg_bg,
4996 CgsEnum cgsId = whichXtermCgs(xw, attr_flags, hilite);
4997 Pixel my_fg = extract_fg(xw, fg_bg, attr_flags);
4998 Pixel my_bg = extract_bg(xw, fg_bg, attr_flags);
4999 Pixel fg_pix = getXtermFG(xw, attr_flags, (int) my_fg);
5000 Pixel bg_pix = getXtermBG(xw, attr_flags, (int) my_bg);
5003 Boolean reverse2 = ((attr_flags & INVERSE) && hilite);
5020 checkVeryBoldColors(attr_flags, my_fg);
5022 if (ReverseOrHilite(screen, attr_flags, hilite)) {
5051 } else if ((attr_flags & INVERSE) && hilite) {
5112 (attr_flags & BLINK)) {
5117 if (attr_flags & INVISIBLE) {
5131 resetXtermGC(XtermWidget xw, unsigned attr_flags, Bool hilite)
5135 CgsEnum cgsId = whichXtermCgs(xw, attr_flags, hilite);
5136 Pixel fg_pix = getXtermFG(xw, attr_flags, xw->cur_foreground);
5137 Pixel bg_pix = getXtermBG(xw, attr_flags, xw->cur_background);
5139 checkVeryBoldColors(attr_flags, xw->cur_foreground);
5141 if (ReverseOrHilite(screen, attr_flags, hilite)) {
5156 extract_fg(XtermWidget xw, CellColor color, unsigned attr_flags)
5162 fg = MapToColorMode(fg, TScreenOf(xw), attr_flags);
5172 extract_bg(XtermWidget xw, CellColor color, unsigned attr_flags)
5178 if (TScreenOf(xw)->colorRVMode && (attr_flags & INVERSE))
5251 getXtermBackground(XtermWidget xw, unsigned attr_flags, int color)
5257 if_OPT_DIRECT_COLOR2_else(TScreenOf(xw), (attr_flags & ATR_DIRECT_BG), {
5259 }) if ((attr_flags & BG_COLOR) && (color < MAXCOLORS)) {
5264 (void) attr_flags;
5309 getXtermForeground(XtermWidget xw, unsigned attr_flags, int color)
5314 if_OPT_DIRECT_COLOR2_else(TScreenOf(xw), (attr_flags & ATR_DIRECT_FG), {
5317 if ((attr_flags & FG_COLOR) &&
5322 (void) attr_flags;
5327 if ((attr_flags & ATR_FAINT)) {