* Selects a bigger display resolution. * @param action Pointer to an action. */
| 334 | * @param action Pointer to an action. |
| 335 | */ |
| 336 | void OptionsVideoState::btnDisplayResolutionUpClick(Action *) |
| 337 | { |
| 338 | if (_resAmount == 0) |
| 339 | return; |
| 340 | if (_resCurrent <= 0) |
| 341 | { |
| 342 | _resCurrent = _resAmount-1; |
| 343 | } |
| 344 | else |
| 345 | { |
| 346 | _resCurrent--; |
| 347 | } |
| 348 | updateDisplayResolution(); |
| 349 | } |
| 350 | |
| 351 | /** |
| 352 | * Selects a smaller display resolution. |
nothing calls this directly
no outgoing calls
no test coverage detected