interface groundwork for core-side color decisions
(user-side decisions really, but as it stands right now user-side decisions/options are made and processed by the core) add a parameter to add_menu so color can be passed
This commit is contained in:
@@ -236,6 +236,7 @@ safe_add_menu(
|
||||
char ch, /* keyboard accelerator (0 = pick our own) */
|
||||
char gch, /* group accelerator (0 = no group) */
|
||||
int attr, /* attribute for string (like safe_putstr()) */
|
||||
int clr, /* colour for string */
|
||||
const char *str, /* menu string */
|
||||
unsigned int itemflags) /* itemflags such as marked as selected */
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user