Changeset - r9310:40ecf0ac445c
[Not reviewed]
master
0 1 0
smatz - 16 years ago 2008-05-19 01:57:30
smatz@openttd.org
(svn r13178) -Fix (r13173): the main toolbar didn't respect patch settings, it was always positioned on the right side
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/toolbar_gui.cpp
Show inline comments
 
@@ -671,15 +671,15 @@ struct MainToolbarWindow : Window {
 
	{
 
		this->SetWidgetDisabledState(0, _networking && !_network_server); // if not server, disable pause button
 
		this->SetWidgetDisabledState(1, _networking); // if networking, disable fast-forward button
 

	
 
		CLRBITS(this->flags4, WF_WHITE_BORDER_MASK);
 

	
 
		this->FindWindowPlacementAndResize(desc);
 
		PositionMainToolbar(this);
 
		DoZoomInOutWindow(ZOOM_NONE, this);
 
		this->FindWindowPlacementAndResize(desc);
 
	}
 

	
 
	virtual void OnPaint()
 
	{
 
		/* Draw brown-red toolbar bg. */
 
		GfxFillRect(0, 0, this->width - 1, this->height - 1, 0xB2);
0 comments (0 inline, 0 general)