Changeset - r13449:13d0eec5635c
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-11-04 15:49:27
rubidium@openttd.org
(svn r17969) -Codechange: use the toolbar switch button lowered state as a way to tell which of the configurations it's showing
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/toolbar_gui.cpp
Show inline comments
 
@@ -776,13 +776,13 @@ static void ToolbarSwitchClick(Window *w
 
		_toolbar_mode = TB_LOWER;
 
	} else {
 
		_toolbar_mode = TB_UPPER;
 
	}
 

	
 
	SplitToolbar(w);
 
	w->HandleButtonClick(TBN_SWITCHBAR);
 
	w->SetWidgetLoweredState(TBN_SWITCHBAR, _toolbar_mode == TB_LOWER);
 
	w->SetDirty();
 
	SndPlayFx(SND_15_BEEP);
 
}
 

	
 
/* --- Scenario editor specific handlers. */
 

	
0 comments (0 inline, 0 general)