sdl2 mouse wheel scrolling rev1

This commit is contained in:
Azaezel 2015-07-29 11:24:48 -05:00
parent b24bdfbc8b
commit 06f6819d63
3 changed files with 19 additions and 0 deletions

View file

@ -222,6 +222,14 @@ void PlatformWindowManagerSDL::_process()
break;
}
case SDL_MOUSEWHEEL:
{
PlatformWindowSDL *window = mWindowMap[evt.wheel.windowID];
if (window)
window->_processSDLEvent(evt);
break;
}
case SDL_MOUSEBUTTONDOWN:
case SDL_MOUSEBUTTONUP:
{