0x004BF089
| 1115 | |
| 1116 | // 0x004BF089 |
| 1117 | void closeTopmost() |
| 1118 | { |
| 1119 | close(WindowType::dropdown, 0); |
| 1120 | |
| 1121 | for (auto it = _windows.rbegin(); it != _windows.rend(); it++) |
| 1122 | { |
| 1123 | auto& w = *it; |
| 1124 | if (w.hasFlags(WindowFlags::stickToBack)) |
| 1125 | { |
| 1126 | continue; |
| 1127 | } |
| 1128 | |
| 1129 | if (w.hasFlags(WindowFlags::stickToFront)) |
| 1130 | { |
| 1131 | continue; |
| 1132 | } |
| 1133 | |
| 1134 | close(&w); |
| 1135 | break; |
| 1136 | } |
| 1137 | } |
| 1138 | |
| 1139 | static void windowScrollWheelInput(Ui::Window& window, WidgetIndex_t widgetIndex, int wheel) |
| 1140 | { |
no test coverage detected