MCPcopy Create free account
hub / github.com/NetHack/NetHack / adjust_menu_promptstyle

Function adjust_menu_promptstyle

src/windows.c:1768–1777  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1766 { 0, 0, { NO_COLOR, ATR_NONE }}};
1767
1768void
1769adjust_menu_promptstyle(winid window, color_attr *style)
1770{
1771 win_request_info wri = zerowri;
1772 wri.fromcore.menu_promptstyle.color = style->color;
1773 wri.fromcore.menu_promptstyle.attr = style->attr;
1774 /* relay the style change to the window port */
1775 (void) ctrl_nhwindow(window, set_menu_promptstyle, &wri);
1776 go.opt_need_promptstyle = FALSE;
1777}
1778
1779/*
1780 * Common code point leading into the interface-specific

Callers 3

handler_menu_headingsFunction · 0.85
reset_needed_visualsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected