StartMenu() turns a MenuOrTextWindow into a MenuWindow, PutStr() turns one into a TextWindow; calling any other MenuOrTextWindow routine before either of those elicits a warning. (Should probably quit via panic() instead.)
| 1235 | // calling any other MenuOrTextWindow routine before either of those |
| 1236 | // elicits a warning. (Should probably quit via panic() instead.) |
| 1237 | void NetHackQtMenuOrTextWindow::MenuOrText_too_soon_warning(const char *which) |
| 1238 | { |
| 1239 | impossible("'%s' called before we know whether window is Menu or Text.", |
| 1240 | which); |
| 1241 | } |
| 1242 | |
| 1243 | QWidget* NetHackQtMenuOrTextWindow::Widget() |
| 1244 | { |
nothing calls this directly
no test coverage detected