src/window_gui.h
branchNewGRF_ports
changeset 6877 889301acc299
parent 6872 1c4a4a609f85
child 6878 7d1ff2f621c7
equal deleted inserted replaced
6876:2c40faeef7a5 6877:889301acc299
   628  * @param left The leftmost widget to resize
   628  * @param left The leftmost widget to resize
   629  * @param right The rightmost widget to resize. Since right side of it is used, remember to set it to RESIZE_RIGHT
   629  * @param right The rightmost widget to resize. Since right side of it is used, remember to set it to RESIZE_RIGHT
   630  */
   630  */
   631 void ResizeButtons(Window *w, byte left, byte right);
   631 void ResizeButtons(Window *w, byte left, byte right);
   632 
   632 
       
   633 /** Resize a widget an shuffle other widgets around to fit.
       
   634  */
       
   635 void ResizeWindowForWidget(Window *w, int widget, int delta_x, int delta_y);
       
   636 
   633 
   637 
   634 /**
   638 /**
   635  * Sets the enabled/disabled status of a widget.
   639  * Sets the enabled/disabled status of a widget.
   636  * By default, widgets are enabled.
   640  * By default, widgets are enabled.
   637  * On certain conditions, they have to be disabled.
   641  * On certain conditions, they have to be disabled.