| 287 | } |
| 288 | |
| 289 | void InputMapSize(WidgetIndex callingWidget, int32_t currentValue) |
| 290 | { |
| 291 | Formatter ft; |
| 292 | ft.Add<int16_t>(kMinimumMapSizePractical); |
| 293 | ft.Add<int16_t>(kMaximumMapSizePractical); |
| 294 | |
| 295 | // Practical map size is 2 lower than the technical map size |
| 296 | currentValue -= 2; |
| 297 | WindowTextInputOpen( |
| 298 | this, callingWidget, STR_MAP_SIZE_2, STR_ENTER_MAP_SIZE, ft, STR_FORMAT_INTEGER, currentValue, 4); |
| 299 | } |
| 300 | |
| 301 | void SharedMouseUp(WidgetIndex widgetIndex) |
| 302 | { |
nothing calls this directly
no test coverage detected