Changeset - r17232:766ead7cedfd
[Not reviewed]
master
0 1 0
frosch - 13 years ago 2011-02-05 17:54:36
frosch@openttd.org
(svn r21982) -Add: Wheel scrolling to console.
1 file changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/console_gui.cpp
Show inline comments
 
@@ -342,6 +342,11 @@ struct IConsoleWindow : Window
 
		}
 
		return ES_HANDLED;
 
	}
 

	
 
	virtual void OnMouseWheel(int wheel)
 
	{
 
		this->Scroll(-wheel);
 
	}
 
};
 

	
 
int IConsoleWindow::scroll = 0;
0 comments (0 inline, 0 general)