forked from mirror/OpenTTD
(svn r25537) -Codechange: Optionally make WWT_MATRIX compute the number of rows and columns from the resize step size.
This commit is contained in:
@@ -1022,8 +1022,8 @@ static inline NWidgetPart SetDataTip(uint16 data, StringID tip)
|
||||
|
||||
/**
|
||||
* Widget part function for setting the data and tooltip of WWT_MATRIX widgets
|
||||
* @param cols Number of columns.
|
||||
* @param rows Number of rows.
|
||||
* @param cols Number of columns. \c 0 means to use draw columns with width according to the resize step size.
|
||||
* @param rows Number of rows. \c 0 means to use draw rows with height according to the resize step size.
|
||||
* @param tip Tooltip of the widget.
|
||||
* @ingroup NestedWidgetParts
|
||||
*/
|
||||
|
Reference in New Issue
Block a user