/** BroadCast Mouse ScrollWheel Event */ void EventMgr::MouseWheelScroll( short x, short y)//these are signed! { Control *ctrl = GetMouseFocusedControl(); if (ctrl) { ctrl->OnMouseWheelScroll( x, y); } }
/** BroadCast Mouse ScrollWheel Event */ void EventMgr::MouseWheelScroll( short x, short y)//these are signed! { if (last_win_mousefocused) { Control *ctrl; ctrl = last_win_mousefocused->GetMouseFocus(); if (ctrl) { ctrl->OnMouseWheelScroll( x, y); } } }