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

Method qt_add_menu

outdated/win/Qt3/qt3_win.cpp:4826–4833  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4824}
4825
4826void NetHackQtBind::qt_add_menu(winid wid, int glyph,
4827 const ANY_P * identifier, CHAR_P ch, CHAR_P gch, int attr,
4828 const char *str, unsigned int itemflags)
4829{
4830 boolean presel = ((itemflags & MENU_ITEMFLAGS_SELECTED) != 0);
4831 NetHackQtWindow* window=id_to_window[wid];
4832 window->AddMenu(glyph, identifier, ch, gch, attr, str, presel);
4833}
4834
4835void NetHackQtBind::qt_end_menu(winid wid, const char *prompt)
4836{

Callers

nothing calls this directly

Calls 1

AddMenuMethod · 0.45

Tested by

no test coverage detected