MCPcopy Create free account
hub / github.com/crossuo/crossuo / OnMidMouseButtonScroll

Method OnMidMouseButtonScroll

src/GameWindow.cpp:288–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286}
287
288void 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
302void CGameWindow::OnXMouseButton(bool up)
303{

Callers

nothing calls this directly

Calls 1

SelectObjectMethod · 0.45

Tested by

no test coverage detected