Mercurial > hg > openttd
changeset 13956:702099b8c615 draft
(svn r18492) -Doc: A few Doxygen reference fixes (NewsSubtype reported by Eddi), and a typo fix.
author | alberth <alberth@openttd.org> |
---|---|
date | Sun, 13 Dec 2009 21:12:36 +0000 |
parents | 2aacd08c5871 |
children | 74d0f46626a8 |
files | src/newgrf_text.cpp src/news_gui.cpp src/widget.cpp src/widget_type.h |
diffstat | 4 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/newgrf_text.cpp +++ b/src/newgrf_text.cpp @@ -91,7 +91,7 @@ } /** - * Explains the newgrf shift bit positionning. + * Explains the newgrf shift bit positioning. * the grf base will not be used in order to find the string, but rather for * jumping from standard langID scheme to the new one. */
--- a/src/news_gui.cpp +++ b/src/news_gui.cpp @@ -658,7 +658,7 @@ * @param ref2 Reference 2 to some object: Used for scrolling after clicking on the news, and for deleteing the news when the object is deleted. * @param free_data Pointer to data that must be freed once the news message is cleared * - * @see NewsSubype + * @see NewsSubtype */ void AddNewsItem(StringID string, NewsSubtype subtype, NewsReferenceType reftype1, uint32 ref1, NewsReferenceType reftype2, uint32 ref2, void *free_data) {
--- a/src/widget.cpp +++ b/src/widget.cpp @@ -702,7 +702,7 @@ } /** - * @fn void Draw(const Window *w) + * @fn void NWidgetBase::Draw(const Window *w) * Draw the widgets of the tree. * The function calls #Window::DrawWidget for each widget with a non-negative index, after the widget itself is painted. * @param w Window that owns the tree.
--- a/src/widget_type.h +++ b/src/widget_type.h @@ -632,8 +632,8 @@ /** * Widget part function for setting filling. - * @param x_fill Allow horizontal filling from minimal size. - * @param y_fill Allow vertical filling from minimal size. + * @param fill_x Horizontal filling step from minimal size. + * @param fill_y Vertical filling step from minimal size. * @ingroup NestedWidgetParts */ static inline NWidgetPart SetFill(uint fill_x, uint fill_y) @@ -750,7 +750,7 @@ /** * Widget part function for starting a new horizontal container, vertical container, or spacer widget. - * @param tp Type of the new nested widget, #NWID_HORIZONTAL(_LTR), #NWID_VERTICAL, #NWID_SPACER, #NWID_SELECTION, or #NWID_LAYERED. + * @param tp Type of the new nested widget, #NWID_HORIZONTAL(_LTR), #NWID_VERTICAL, #NWID_SPACER, or #NWID_SELECTION. * @param cont_flags Flags for the containers (#NWID_HORIZONTAL(_LTR) and #NWID_VERTICAL). * @ingroup NestedWidgetParts */