| 1211 | } |
| 1212 | |
| 1213 | static CallBackFunction ToolbarScenDateForward(Window *w) |
| 1214 | { |
| 1215 | /* don't allow too fast scrolling */ |
| 1216 | if (!w->flags.Test(WindowFlag::Timeout) || w->timeout_timer <= 1) { |
| 1217 | w->HandleButtonClick(WID_TE_DATE_FORWARD); |
| 1218 | w->SetDirty(); |
| 1219 | |
| 1220 | SetStartingYear(_settings_game.game_creation.starting_year + 1); |
| 1221 | } |
| 1222 | _left_button_clicked = false; |
| 1223 | return CBF_NONE; |
| 1224 | } |
| 1225 | |
| 1226 | static CallBackFunction ToolbarScenGenLand(Window *w) |
| 1227 | { |
nothing calls this directly
no test coverage detected