| 1198 | } |
| 1199 | |
| 1200 | static CallBackFunction ToolbarScenDateBackward(Window *w) |
| 1201 | { |
| 1202 | /* don't allow too fast scrolling */ |
| 1203 | if (!w->flags.Test(WindowFlag::Timeout) || w->timeout_timer <= 1) { |
| 1204 | w->HandleButtonClick(WID_TE_DATE_BACKWARD); |
| 1205 | w->SetDirty(); |
| 1206 | |
| 1207 | SetStartingYear(_settings_game.game_creation.starting_year - 1); |
| 1208 | } |
| 1209 | _left_button_clicked = false; |
| 1210 | return CBF_NONE; |
| 1211 | } |
| 1212 | |
| 1213 | static CallBackFunction ToolbarScenDateForward(Window *w) |
| 1214 | { |
nothing calls this directly
no test coverage detected