From 629b350a71c10b7675a70226d0ead657258f5cb6 Mon Sep 17 00:00:00 2001 From: frosch Date: Thu, 12 Aug 2010 06:40:28 +0000 Subject: (svn r20451) -Codechange: Add helper function Window::GetScrollbar() to get the Scrollbar belonging to a scrollbar widget. --- src/window_gui.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/window_gui.h') diff --git a/src/window_gui.h b/src/window_gui.h index 38a8759d7..13f61d628 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -407,6 +407,8 @@ public: template inline NWID *GetWidget(uint widnum); + const Scrollbar *GetScrollbar(uint widnum) const; + Scrollbar *GetScrollbar(uint widnum); void InitNested(const WindowDesc *desc, WindowNumber number = 0); void CreateNestedTree(const WindowDesc *desc, bool fill_nested = true); -- cgit v1.2.3-54-g00ecf