| 242 | } |
| 243 | |
| 244 | void GuiGameList::setNextSortIndex() |
| 245 | { |
| 246 | //make the index wrap around |
| 247 | if ((sortStateIndex - 1) >= sortStates.size()) { |
| 248 | setSortIndex(0); |
| 249 | } |
| 250 | setSortIndex(sortStateIndex + 1); |
| 251 | } |
| 252 | |
| 253 | void GuiGameList::setPreviousSortIndex() |
| 254 | { |