| 286 | } |
| 287 | |
| 288 | void CGameWindow::OnMidMouseButtonScroll(bool up) |
| 289 | { |
| 290 | if (PLUGIN_EVENT(UOMSG_INPUT_MOUSEWHEEL, up ? 0 : 0x11110000)) |
| 291 | { |
| 292 | return; |
| 293 | } |
| 294 | |
| 295 | if (g_CurrentScreen != nullptr && g_ScreenEffectManager.Mode == SEM_NONE) |
| 296 | { |
| 297 | g_CurrentScreen->SelectObject(); |
| 298 | g_CurrentScreen->OnMidMouseButtonScroll(up); |
| 299 | } |
| 300 | } |
| 301 | |
| 302 | void CGameWindow::OnXMouseButton(bool up) |
| 303 | { |
nothing calls this directly
no test coverage detected