MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / GetScrollbar

Method GetScrollbar

src/window.cpp:315–318  ·  view source on GitHub ↗

* Return the Scrollbar to a widget index. * @param widnum Scrollbar widget index * @return Scrollbar to the widget */

Source from the content-addressed store, hash-verified

313 * @return Scrollbar to the widget
314 */
315const Scrollbar *Window::GetScrollbar(WidgetID widnum) const
316{
317 return this->GetWidget<NWidgetScrollbar>(widnum);
318}
319
320/**
321 * Return the Scrollbar to a widget index.

Callers 15

SubsidyListWindowMethod · 0.80
SignListWindowMethod · 0.80
SaveLoadWindowMethod · 0.80
ReplaceVehicleWindowMethod · 0.80
GoalListWindowMethod · 0.80
NewGRFWindowMethod · 0.80
SavePresetWindowMethod · 0.80
NewGRFInspectWindowMethod · 0.80
SpriteAlignerWindowMethod · 0.80
DispatchMouseWheelEventFunction · 0.80
OrdersWindowMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected