예제 #1
0
	void OnMouseWheel(int wheel) override
	{
		if (_settings_client.gui.scrollwheel_scrolling != 2) {
			ZoomInOrOutToCursorWindow(wheel < 0, this);
		}
	}
예제 #2
0
	virtual void OnMouseWheel(int wheel)
	{
		if (_settings_client.gui.scrollwheel_scrolling == 0) {
			ZoomInOrOutToCursorWindow(wheel < 0, this);
		}
	}
예제 #3
0
 virtual void OnMouseWheel(int wheel)
 {
     ZoomInOrOutToCursorWindow(wheel < 0, this);
 }