예제 #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);
	}
}
예제 #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);
		}
	}
}