are there any highlighted messages?
| 209 | |
| 210 | // are there any highlighted messages? |
| 211 | bool 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 |
| 224 | void NetHackQtMessageWindow::unhighlight_mesgs() |