Calculate the colour for a line of the menu. More...
Functions | |
const struct AttrColor * | index_color (struct Menu *menu, int line) |
Calculate the colour for a line of the index - Implements Menu::color() -. | |
static const struct AttrColor * | default_color (struct Menu *menu, int line) |
Get the default colour for a line of the menu - Implements Menu::color() -. | |
static const struct AttrColor * | post_color (struct Menu *menu, int line) |
Calculate the colour for a line of the postpone index - Implements Menu::color() -. | |
Calculate the colour for a line of the menu.
>0 | Colour pair in an integer |
0 | No colour |
Calculate the colour for a line of the index - Implements Menu::color() -.
Definition at line 926 of file dlg_index.c.
Get the default colour for a line of the menu - Implements Menu::color() -.
Definition at line 48 of file menu.c.
Calculate the colour for a line of the postpone index - Implements Menu::color() -.
Definition at line 178 of file dlg_postpone.c.