src/train_gui.cpp
branchcpp_gui
changeset 6263 19dab6a68886
parent 6258 a2f86b8fd99b
child 6285 187e3ef04cc9
equal deleted inserted replaced
6262:bd89f58e8623 6263:19dab6a68886
   610 	w->caption_color = v->owner;
   610 	w->caption_color = v->owner;
   611 	w->vscroll.cap = 6;
   611 	w->vscroll.cap = 6;
   612 	w->widget[4].data = (w->vscroll.cap << 8) + 1;
   612 	w->widget[4].data = (w->vscroll.cap << 8) + 1;
   613 
   613 
   614 	w->resize.step_height = 14;
   614 	w->resize.step_height = 14;
   615 	w->resize.height = w->height - 14 * 2; /* Minimum of 4 wagons in the display */
   615 	w->resize.height = w->Height() - 14 * 2; /* Minimum of 4 wagons in the display */
   616 
   616 
   617 	WP(w,traindetails_d).tab = 0;
   617 	WP(w,traindetails_d).tab = 0;
   618 }
   618 }