| 3014 | } |
| 3015 | |
| 3016 | void NetHackQtMenuWindow::ToggleSelect(int i) |
| 3017 | { |
| 3018 | if (item[i].Selectable()) { |
| 3019 | item[i].selected = !item[i].selected; |
| 3020 | if ( !item[i].selected ) |
| 3021 | item[i].count=-1; |
| 3022 | updateCell(i,3); |
| 3023 | if (how==PICK_ONE) { |
| 3024 | dialog->Accept(); |
| 3025 | } |
| 3026 | } |
| 3027 | } |
| 3028 | |
| 3029 | |
| 3030 | void NetHackQtMenuWindow::paintCell(QPainter* painter, int row, int col) |
nothing calls this directly
no test coverage detected