src/window_gui.h
changeset 8418 afae92fe35f1
parent 8349 e61105cb1f87
child 8586 cb0e7e00f1d2
equal deleted inserted replaced
8417:2f68ba2e6523 8418:afae92fe35f1
   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.