Calculate the colour for a line of the menu. More...
Functions | |
struct AttrColor * | index_color (struct Menu *menu, int line) |
Calculate the colour for a line of the index - Implements Menu::color() -. More... | |
static struct AttrColor * | default_color (struct Menu *menu, int line) |
Get the default colour for a line of the menu - Implements Menu::color() -. More... | |
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 890 of file dlg_index.c.
Get the default colour for a line of the menu - Implements Menu::color() -.
Definition at line 46 of file menu.c.