0x0042A87C
| 181 | |
| 182 | // 0x0042A87C |
| 183 | static void scrollMouseOver(Ui::Window& self, [[maybe_unused]] int16_t x, int16_t y, [[maybe_unused]] uint8_t scrollIndex) |
| 184 | { |
| 185 | self.flags &= ~(WindowFlags::notScrollView); |
| 186 | |
| 187 | auto messageIndex = y / messageHeight; |
| 188 | auto messageId = 0xFFFF; |
| 189 | |
| 190 | if (messageIndex < MessageManager::getNumMessages()) |
| 191 | { |
| 192 | messageId = messageIndex; |
| 193 | } |
| 194 | |
| 195 | if (self.rowHover != messageId) |
| 196 | { |
| 197 | self.rowHover = messageId; |
| 198 | self.invalidate(); |
| 199 | } |
| 200 | } |
| 201 | |
| 202 | // 0x0042A70C |
| 203 | static std::optional<FormatArguments> tooltip([[maybe_unused]] Ui::Window& self, [[maybe_unused]] WidgetIndex_t widgetIndex, [[maybe_unused]] const WidgetId id) |
nothing calls this directly
no test coverage detected