0x004BFF72
| 793 | |
| 794 | // 0x004BFF72 |
| 795 | static void stationNamesScaleMouseDown(const Window& self, [[maybe_unused]] WidgetIndex_t wi) |
| 796 | { |
| 797 | auto& dropdown = self.widgets[Widx::station_names_min_scale]; |
| 798 | Dropdown::show(self.x + dropdown.left, self.y + dropdown.top, dropdown.width() - 4, dropdown.height(), self.getColour(WindowColour::secondary), 4, 0x80); |
| 799 | |
| 800 | Dropdown::add(0, StringIds::dropdown_stringid, StringIds::full_scale); |
| 801 | Dropdown::add(1, StringIds::dropdown_stringid, StringIds::half_scale); |
| 802 | Dropdown::add(2, StringIds::dropdown_stringid, StringIds::quarter_scale); |
| 803 | Dropdown::add(3, StringIds::dropdown_stringid, StringIds::eighth_scale); |
| 804 | Dropdown::setItemSelected(Config::get().stationNamesMinScale); |
| 805 | } |
| 806 | |
| 807 | // 0x004C0000 |
| 808 | static void stationNamesScaleDropdown(int16_t ax) |
no test coverage detected