Exemplo n.º 1
0
/** BroadCast Mouse ScrollWheel Event */
void EventMgr::MouseWheelScroll( short x, short y)//these are signed!
{
	Control *ctrl = GetMouseFocusedControl();
	if (ctrl) {
		ctrl->OnMouseWheelScroll( x, y);
	}
}
Exemplo n.º 2
0
/** 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);
		}
	}
}