| 824 | } |
| 825 | |
| 826 | static void windowFrameStyleMouseDown(const Window& self, [[maybe_unused]] WidgetIndex_t wi) |
| 827 | { |
| 828 | auto& dropdown = self.widgets[Widx::window_frame_style]; |
| 829 | Dropdown::show(self.x + dropdown.left, self.y + dropdown.top, dropdown.width() - 4, dropdown.height(), self.getColour(WindowColour::secondary), 3, 0x80); |
| 830 | |
| 831 | Dropdown::add(0, StringIds::dropdown_stringid, StringIds::windowFrameStyleGradient); |
| 832 | Dropdown::add(1, StringIds::dropdown_stringid, StringIds::windowFrameStyleSolid); |
| 833 | Dropdown::add(2, StringIds::dropdown_stringid, StringIds::windowFrameStyleTranslucent); |
| 834 | Dropdown::setItemSelected(enumValue(Config::get().windowFrameStyle)); |
| 835 | } |
| 836 | |
| 837 | static void windowFrameStyleDropdown(int16_t selectedItem) |
| 838 | { |
no test coverage detected