* Handle click on Save button in toolbar in normal game mode. * * @param w parent window the shown save dialogue is attached to. * @return #CBF_NONE */
| 369 | * @return #CBF_NONE |
| 370 | */ |
| 371 | static CallBackFunction ToolbarSaveClick(Window *w) |
| 372 | { |
| 373 | PopupMainToolbarMenu(w, WID_TN_SAVE, {STR_FILE_MENU_SAVE_GAME, STR_FILE_MENU_LOAD_GAME, STR_FILE_MENU_QUIT_GAME, |
| 374 | STR_NULL, STR_FILE_MENU_EXIT}); |
| 375 | return CBF_NONE; |
| 376 | } |
| 377 | |
| 378 | /** |
| 379 | * Handle click on SaveLoad button in toolbar in the scenario editor. |
nothing calls this directly
no test coverage detected