| 939 | /* --- Water button menu --- */ |
| 940 | |
| 941 | static CallBackFunction ToolbarBuildWaterClick(Window *w) |
| 942 | { |
| 943 | DropDownList list; |
| 944 | list.push_back(MakeDropDownListIconItem(SPR_IMG_BUILD_CANAL, PAL_NONE, STR_WATERWAYS_MENU_WATERWAYS_CONSTRUCTION, 0)); |
| 945 | ShowDropDownList(w, std::move(list), 0, WID_TN_WATER, 140, GetToolbarDropDownOptions()); |
| 946 | return CBF_NONE; |
| 947 | } |
| 948 | |
| 949 | /** |
| 950 | * Handle click on the entry in the Build Waterways menu. |
nothing calls this directly
no test coverage detected