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

Method TotalWidth

win/Qt/qt_menu.cpp:66–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66int NetHackQtMenuListBox::TotalWidth() const
67{
68 int width = 0;
69
70 for (int col = 0; col < columnCount(); ++col) {
71 width += columnWidth(col);
72 }
73 return width;
74}
75
76int NetHackQtMenuListBox::TotalHeight() const
77{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected