From 900aedf270319b5fbcd3373dfa268a5a5c1cfc78 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 2 Sep 2009 08:48:29 +0000 Subject: (svn r17374) -Codechange: make the town and vehicle GUIs use the scrollbar wrappers --- src/window.cpp | 36 ------------------------------------ 1 file changed, 36 deletions(-) (limited to 'src/window.cpp') diff --git a/src/window.cpp b/src/window.cpp index 69d7b707b..af0c4e024 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -2626,42 +2626,6 @@ int PositionMainToolbar(Window *w) 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.SetCount(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.SetCount(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.SetCount(num); -} - /** * Switches viewports following vehicles, which get autoreplaced -- cgit v1.2.3-54-g00ecf