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

Method fadeHighlighting

win/Qt/qt_main.cpp:1178–1189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1176}
1177
1178void NetHackQtMainWindow::fadeHighlighting(bool before_key)
1179{
1180 if (before_key) {
1181 // status highlighting fades at start of turn
1182 if (status)
1183 status->fadeHighlighting();
1184 } else {
1185 // message highlighting fades after user has given input
1186 if (message && message->hilit_mesgs())
1187 message->unhighlight_mesgs();
1188 }
1189}
1190
1191void NetHackQtMainWindow::layout()
1192{

Callers

nothing calls this directly

Calls 2

hilit_mesgsMethod · 0.80
unhighlight_mesgsMethod · 0.80

Tested by

no test coverage detected