45#if defined(HAVE_SETCCHAR) && defined(HAVE_BKGRNDSET)
47 setcchar(&cch, L
" ", ac->
attrs, index, NULL);
49#elif defined(HAVE_BKGDSET)
50 bkgdset(COLOR_PAIR(index) | ac->
attrs |
' ');
52 attrset(COLOR_PAIR(index) | ac->
attrs);
101 if (curs_set(state) == ERR)
bool attr_color_is_set(const struct AttrColor *ac)
Is the object coloured?
Color and attribute parsing.
struct AttrColor * simple_color_get(enum ColorId cid)
Get the colour of an object by its ID.
ColorId
List of all colored objects.
@ MT_COLOR_NORMAL
Plain text.
const struct AttrColor * merged_color_overlay(const struct AttrColor *base, const struct AttrColor *over)
Combine two colours.
const struct AttrColor * mutt_curses_set_normal_backed_color_by_id(enum ColorId cid)
Set the colour and attributes by the colour id.
enum MuttCursorState mutt_curses_set_cursor(enum MuttCursorState state)
Set the cursor state.
const struct AttrColor * mutt_curses_set_color_by_id(enum ColorId cid)
Set the colour and attributes by the colour id.
void mutt_curses_set_color(const struct AttrColor *ac)
Set the colour and attributes for text.
Define wrapper functions around Curses.
MuttCursorState
Cursor states for mutt_curses_set_cursor()
@ MUTT_CURSOR_VISIBLE
Display a normal cursor.
@ MUTT_CURSOR_VERY_VISIBLE
Display a very visible cursor.
A curses colour and its attributes.
int attrs
Text attributes, e.g. A_BOLD.
struct CursesColor * curses_color
Underlying Curses colour.