| 62 | } |
| 63 | |
| 64 | void cmCursesOptionsWidget::NextOption() |
| 65 | { |
| 66 | this->CurrentOption++; |
| 67 | if (this->CurrentOption > this->Options.size() - 1) { |
| 68 | this->CurrentOption = 0; |
| 69 | } |
| 70 | this->SetValue(this->Options[this->CurrentOption]); |
| 71 | } |
| 72 | void cmCursesOptionsWidget::PreviousOption() |
| 73 | { |
| 74 | if (this->CurrentOption == 0) { |
no test coverage detected