(svn r17185) -Codechange: Tweak depot gui and vehicle lists, so text overlaps less with vehicle images.

This commit is contained in:
frosch
2009-08-15 11:47:11 +00:00
parent 1f3f53f421
commit 2ad4bf74a1
5 changed files with 18 additions and 19 deletions

View File

@@ -322,7 +322,6 @@ public:
virtual void OnPaint()
{
const Owner owner = (Owner)GB(this->window_number, 0, 8);
int x = this->widget[GRP_WIDGET_LIST_VEHICLE].left + 2;
int y1 = PLY_WND_PRC__OFFSET_TOP_WIDGET + 2;
int max;
int i;
@@ -422,7 +421,7 @@ public:
this->DrawSortButtonState(GRP_WIDGET_SORT_BY_ORDER, this->vehicles.IsDescSortOrder() ? SBS_DOWN : SBS_UP);
this->DrawVehicleListItems(x, this->vehicle_sel);
this->DrawVehicleListItems(this->vehicle_sel);
}
virtual void OnClick(Point pt, int widget)