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

Method SetScrollbar

src/widget.cpp:1998–2001  ·  view source on GitHub ↗

* Assign a scrollbar to this matrix. * @param sb The scrollbar to assign to us. */

Source from the content-addressed store, hash-verified

1996 * @param sb The scrollbar to assign to us.
1997 */
1998void NWidgetMatrix::SetScrollbar(Scrollbar *sb)
1999{
2000 this->sb = sb;
2001}
2002
2003/**
2004 * Get current element.

Callers 1

ConstructWindowMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected