diff options
author | rubidium <rubidium@openttd.org> | 2009-09-02 08:48:29 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-09-02 08:48:29 +0000 |
commit | 900aedf270319b5fbcd3373dfa268a5a5c1cfc78 (patch) | |
tree | 12c8b9cbfe1dcb5857bf5d0c4ef870616775cfa4 /src/window.cpp | |
parent | 7aa9f8e3fb29d70635d5cef8cc67133cf7718061 (diff) | |
download | openttd-900aedf270319b5fbcd3373dfa268a5a5c1cfc78.tar.xz |
(svn r17374) -Codechange: make the town and vehicle GUIs use the scrollbar wrappers
Diffstat (limited to 'src/window.cpp')
-rw-r--r-- | src/window.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
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 |