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

Method Choose

outdated/win/Qt3/qt3_win.cpp:1334–1353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1332}
1333
1334bool NetHackQtPlayerSelector::Choose()
1335{
1336 if (fully_specified_role) return TRUE;
1337
1338#if defined(QWS) // probably safe with Qt 3, too (where show!=exec in QDialog).
1339 if ( qt_compact_mode ) {
1340 showMaximized();
1341 } else
1342#endif
1343 {
1344 adjustSize();
1345 centerOnMain(this);
1346 }
1347
1348 if ( exec() ) {
1349 return TRUE;
1350 } else {
1351 return FALSE;
1352 }
1353}
1354
1355
1356NetHackQtStringRequestor::NetHackQtStringRequestor(NetHackQtKeyBuffer& ks, const char* p, const char* cancelstr) :

Callers 1

qt_asknameMethod · 0.45

Calls 1

centerOnMainFunction · 0.70

Tested by

no test coverage detected