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

Method qt_destroy_nhwindow

win/Qt/qt_bind.cpp:415–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413}
414
415void NetHackQtBind::qt_destroy_nhwindow(winid wid)
416{
417 NetHackQtWindow* window=id_to_window[(int)wid];
418 if (window) {
419 main->RemoveWindow(window);
420 if (window->Destroy())
421 delete window;
422 id_to_window[(int) wid] = 0;
423 }
424}
425
426void NetHackQtBind::qt_curs(winid wid, int x, int y)
427{

Callers

nothing calls this directly

Calls 2

RemoveWindowMethod · 0.45
DestroyMethod · 0.45

Tested by

no test coverage detected