0x004C0000
| 806 | |
| 807 | // 0x004C0000 |
| 808 | static void stationNamesScaleDropdown(int16_t ax) |
| 809 | { |
| 810 | if (ax == -1) |
| 811 | { |
| 812 | return; |
| 813 | } |
| 814 | |
| 815 | if (ax == Config::get().stationNamesMinScale) |
| 816 | { |
| 817 | return; |
| 818 | } |
| 819 | |
| 820 | auto& cfg = OpenLoco::Config::get(); |
| 821 | cfg.stationNamesMinScale = ax; |
| 822 | OpenLoco::Config::write(); |
| 823 | Gfx::invalidateScreen(); |
| 824 | } |
| 825 | |
| 826 | static void windowFrameStyleMouseDown(const Window& self, [[maybe_unused]] WidgetIndex_t wi) |
| 827 | { |
no test coverage detected