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

Method hilit_mesgs

win/Qt/qt_msg.cpp:211–221  ·  view source on GitHub ↗

are there any highlighted messages?

Source from the content-addressed store, hash-verified

209
210// are there any highlighted messages?
211bool NetHackQtMessageWindow::hilit_mesgs()
212{
213 // PutStr() uses setCurrentRow() to select the last message line;
214 // being selected causes that line to be highlighted.
215 //
216 // We could/should keep track of whether anything is currently
217 // highlighted instead of just assuming that last message still is.
218 if (list && list->count())
219 return true;
220 return false;
221}
222
223// unhighlight any highlighted messages
224void NetHackQtMessageWindow::unhighlight_mesgs()

Callers 1

fadeHighlightingMethod · 0.80

Calls 1

countMethod · 0.80

Tested by

no test coverage detected