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

Method qt_add_menu

win/Qt/qt_bind.cpp:489–497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

487}
488
489void NetHackQtBind::qt_add_menu(winid wid, const glyph_info *glyphinfo,
490 const ANY_P * identifier, char ch, char gch, int attr, int clr,
491 const char *str, unsigned itemflags)
492{
493 NetHackQtWindow* window=id_to_window[(int)wid];
494 window->AddMenu(glyphinfo->glyph, identifier, ch, gch, attr, clr,
495 QString::fromLatin1(str),
496 itemflags);
497}
498
499void NetHackQtBind::qt_end_menu(winid wid, const char *prompt)
500{

Callers

nothing calls this directly

Calls 1

AddMenuMethod · 0.45

Tested by

no test coverage detected