Changeset - r11089:babc36cbd948
[Not reviewed]
master
0 1 0
peter1138 - 15 years ago 2009-02-09 20:30:16
peter1138@openttd.org
(svn r15433) -Fix (r15126): Content download progress bar was not centered properly.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/network/network_content_gui.cpp
Show inline comments
 
@@ -116,7 +116,7 @@ public:
 
		this->DrawWidgets();
 

	
 
		/* Draw nice progress bar :) */
 
		DrawFrameRect(20, 18, (int)((this->width - 20) * this->downloaded_bytes / this->total_bytes), 28, COLOUR_MAUVE, FR_NONE);
 
		DrawFrameRect(20, 18, 20 + (int)((this->width - 40) * this->downloaded_bytes / this->total_bytes), 28, COLOUR_MAUVE, FR_NONE);
 

	
 
		SetDParam(0, this->downloaded_bytes);
 
		SetDParam(1, this->total_bytes);
0 comments (0 inline, 0 general)