diff -r 1f06a85ed1a9 src/settings_gui.cpp --- a/src/settings_gui.cpp Sun Nov 02 10:53:43 2008 +0100 +++ b/src/settings_gui.cpp Sun Nov 02 11:25:56 2008 +0100 @@ -749,7 +749,7 @@ }; struct PatchesSelectionWindow : Window { - static GameSettings *patches_ptr; + static GameSettings *patches_ptr; ///< Pointer to the game settings being displayed and modified static int patches_max; ///< Maximal number of patches on a single page int page; diff -r 1f06a85ed1a9 src/window.cpp --- a/src/window.cpp Sun Nov 02 10:53:43 2008 +0100 +++ b/src/window.cpp Sun Nov 02 11:25:56 2008 +0100 @@ -2215,6 +2215,13 @@ return w->left; } +/** + * Set the number of items of the vertical scrollbar. + * + * Function also updates the position of the scrollbar if necessary. + * @param w Window containing the vertical scrollbar + * @param num New number of items + */ void SetVScrollCount(Window *w, int num) { w->vscroll.count = num; @@ -2223,6 +2230,13 @@ if (num < w->vscroll.pos) w->vscroll.pos = num; } +/** + * Set the number of items of the second vertical scrollbar. + * + * Function also updates the position of the scrollbar if necessary. + * @param w Window containing the second vertical scrollbar + * @param num New number of items + */ void SetVScroll2Count(Window *w, int num) { w->vscroll2.count = num; @@ -2231,6 +2245,13 @@ if (num < w->vscroll2.pos) w->vscroll2.pos = num; } +/** + * Set the number of items of the horizontal scrollbar. + * + * Function also updates the position of the scrollbar if necessary. + * @param w Window containing the horizontal scrollbar + * @param num New number of items + */ void SetHScrollCount(Window *w, int num) { w->hscroll.count = num;