From e0393a3de1b8c7dddd7b5b86d17202469810e209 Mon Sep 17 00:00:00 2001 From: alberth Date: Sun, 13 Dec 2009 21:12:36 +0000 Subject: (svn r18492) -Doc: A few Doxygen reference fixes (NewsSubtype reported by Eddi), and a typo fix. --- src/newgrf_text.cpp | 2 +- src/news_gui.cpp | 2 +- src/widget.cpp | 2 +- src/widget_type.h | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/newgrf_text.cpp b/src/newgrf_text.cpp index 59edbb22e..a0f5cb9d7 100644 --- a/src/newgrf_text.cpp +++ b/src/newgrf_text.cpp @@ -91,7 +91,7 @@ StringID TTDPStringIDToOTTDStringIDMapping(StringID str) } /** - * 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. */ diff --git a/src/news_gui.cpp b/src/news_gui.cpp index b1ca87f7d..8362de96d 100644 --- a/src/news_gui.cpp +++ b/src/news_gui.cpp @@ -658,7 +658,7 @@ static void MoveToNextItem() * @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) { diff --git a/src/widget.cpp b/src/widget.cpp index f824138a8..beda0b03d 100644 --- a/src/widget.cpp +++ b/src/widget.cpp @@ -702,7 +702,7 @@ inline void NWidgetBase::StoreSizePosition(SizingType sizing, uint x, uint y, ui } /** - * @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. diff --git a/src/widget_type.h b/src/widget_type.h index 8cc214888..549db6236 100644 --- a/src/widget_type.h +++ b/src/widget_type.h @@ -632,8 +632,8 @@ static inline NWidgetPart SetMinimalTextLines(uint8 lines, uint8 spacing, FontSi /** * 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 @@ static inline NWidgetPart NWidget(WidgetType tp, Colours col, int16 idx = -1) /** * 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 */ -- cgit v1.2.3-54-g00ecf