insert a non-selectable, unhighlighted line of text into a menu */
| 1829 | |
| 1830 | /* insert a non-selectable, unhighlighted line of text into a menu */ |
| 1831 | void |
| 1832 | add_menu_str(winid tmpwin, const char *buf) |
| 1833 | { |
| 1834 | anything any = cg.zeroany; |
| 1835 | |
| 1836 | add_menu(tmpwin, &nul_glyphinfo, &any, '\0', '\0', ATR_NONE, NO_COLOR, |
| 1837 | buf, MENU_ITEMFLAGS_NONE); |
| 1838 | } |
| 1839 | |
| 1840 | staticfn boolean |
| 1841 | get_menu_coloring(const char *str, int *color, int *attr) |
no test coverage detected