Ejemplo 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);
	}
}
Ejemplo 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);
		}
	}
}