File diff r13164:565fc06638f2 → r13165:024ce8aa50e8
src/station_gui.cpp
Show inline comments
 
@@ -352,13 +352,13 @@ public:
 
		int xb = 2; ///< offset from left of widget
 

	
 
		uint i = 0;
 
		const CargoSpec *cs;
 
		FOR_ALL_CARGOSPECS(cs) {
 
			cg_ofst = HasBit(this->cargo_filter, cs->Index()) ? 2 : 1;
 
			GfxFillRect(x + cg_ofst, y + cg_ofst, x + cg_ofst + 10 , y + cg_ofst + 7, cs->rating_colour);
 
			GfxFillRect(x + cg_ofst, y + cg_ofst, x + cg_ofst + 10, y + cg_ofst + 7, cs->rating_colour);
 
			DrawString(x + cg_ofst, x + 12 + cg_ofst, y + cg_ofst, cs->abbrev, TC_BLACK, SA_CENTER);
 
			x += 14;
 
			i++;
 
		}
 

	
 
		cg_ofst = this->IsWidgetLowered(SLW_NOCARGOWAITING) ? 2 : 1;