mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r18491) -Fix (r18482): Update doxy comments of SetupSmallestSize() as well.
This commit is contained in:
parent
57e6c7fdb7
commit
a8e9891f45
@ -651,11 +651,11 @@ NWidgetBase::NWidgetBase(WidgetType tp) : ZeroedMemoryAllocator()
|
||||
*
|
||||
* The smallest size of a widget is the smallest size that a widget needs to
|
||||
* display itself properly. In addition, filling and resizing of the widget are computed.
|
||||
* If \a w is not \c NULL, the function calls #Window::UpdateWidgetSize for each leaf widget and
|
||||
* The function calls #Window::UpdateWidgetSize for each leaf widget and
|
||||
* background widget without child with a non-negative index.
|
||||
*
|
||||
* @param w Optional window owning the widget.
|
||||
* @param init_array Initialize the \c w->nested_array as well. Should only be set if \a w != NULL.
|
||||
* @param w Window owning the widget.
|
||||
* @param init_array Initialize the \c w->nested_array.
|
||||
*
|
||||
* @note After the computation, the results can be queried by accessing the #smallest_x and #smallest_y data members of the widget.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user