Changeset - r13371:32eb5003d372
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-10-27 19:22:07
rubidium@openttd.org
(svn r17890) -Feature: double clicking on a NewGRF opens the parameters window
1 file changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/newgrf_gui.cpp
Show inline comments
 
@@ -685,6 +685,11 @@ struct NewGRFWindow : public Window {
 
		}
 
	}
 

	
 
	virtual void OnDoubleClick(Point pt, int widget)
 
	{
 
		if (widget == SNGRFS_FILE_LIST) this->OnClick(pt, SNGRFS_SET_PARAMETERS);
 
	}
 

	
 
	virtual void OnClick(Point pt, int widget)
 
	{
 
		switch (widget) {
0 comments (0 inline, 0 general)