bg 542 src/libsir/include/sir.h sir_textcolor bg); bg 86 src/libsir/include/sir/ansimacros.h # define SIR_COLOR(attr, fg, bg, s) \ bg 87 src/libsir/include/sir/ansimacros.h SIR_ESC_SEQ(#attr ";" #fg ";" #bg, s) SIR_ESC_SEQE("0;39;49") bg 137 src/libsir/include/sir/ansimacros.h # define SIR_COLOR(attr, fg, bg, s) s bg 274 src/libsir/include/sir/helpers.h sir_textcolor _sir_mkansibgcolor(sir_textcolor bg) { bg 275 src/libsir/include/sir/helpers.h return SIRTC_DEFAULT == bg ? 49 : bg < 8 ? bg + 40 : bg + 92; bg 286 src/libsir/include/sir/helpers.h sir_textcolor _sir_getansibgcmd(sir_textcolor bg) { bg 287 src/libsir/include/sir/helpers.h return SIRTC_DEFAULT == bg ? 49 : 48; bg 172 src/libsir/include/sir/types.h sir_textcolor bg; /**< Background color. */ bg 171 src/libsir/src/sir.c sir_textcolor bg) { bg 175 src/libsir/src/sir.c bg bg 146 src/libsir/src/sirtextstyle.c (uint8_t)_sir_mkansibgcolor(style->bg)); bg 152 src/libsir/src/sirtextstyle.c (uint8_t)style->fg, (uint8_t)_sir_getansibgcmd(style->bg), bg 153 src/libsir/src/sirtextstyle.c (uint8_t)style->bg); bg 162 src/libsir/src/sirtextstyle.c (uint8_t)_sir_getansibgcmd(style->bg), _sir_getredfromcolor(style->bg), bg 163 src/libsir/src/sirtextstyle.c _sir_getgreenfromcolor(style->bg), _sir_getbluefromcolor(style->bg)); bg 176 src/libsir/src/sirtextstyle.c sir_textcolor bg = SIRCM_16 == mode ? _sir_mkansibgcolor(style->bg) : style->bg; bg 179 src/libsir/src/sirtextstyle.c !_sir_validtextcolor(mode, bg)) bg 182 src/libsir/src/sirtextstyle.c if (SIRTC_DEFAULT != style->fg && SIRTC_DEFAULT != style->bg && bg 183 src/libsir/src/sirtextstyle.c style->fg == style->bg) { bg 186 src/libsir/src/sirtextstyle.c style->bg); bg 187 src/libsir/src/sirtextstyle.c SIR_ASSERT(SIRTC_DEFAULT != style->fg && SIRTC_DEFAULT != style->bg && bg 188 src/libsir/src/sirtextstyle.c style->fg == style->bg);