diff options
author | frosch <frosch@openttd.org> | 2013-06-30 14:36:31 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2013-06-30 14:36:31 +0000 |
commit | 43ec0bf0c118b5228a9c50a2ba1650d021dc5c44 (patch) | |
tree | 5aef49476d90a8b682f809125c8c37d035a1c9fa /src/widget_type.h | |
parent | 8116aeff218fe55c98c0dcd2a62390fe7e7d9c6e (diff) | |
download | openttd-43ec0bf0c118b5228a9c50a2ba1650d021dc5c44.tar.xz |
(svn r25537) -Codechange: Optionally make WWT_MATRIX compute the number of rows and columns from the resize step size.
Diffstat (limited to 'src/widget_type.h')
-rw-r--r-- | src/widget_type.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widget_type.h b/src/widget_type.h index 14b555315..793f93b71 100644 --- a/src/widget_type.h +++ b/src/widget_type.h @@ -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 */ |