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

Method GetCurrentElement

src/widget.cpp:2007–2010  ·  view source on GitHub ↗

* Get current element. * @returns index of current element. */

Source from the content-addressed store, hash-verified

2005 * @returns index of current element.
2006 */
2007int NWidgetMatrix::GetCurrentElement() const
2008{
2009 return this->current_element;
2010}
2011
2012void NWidgetMatrix::SetupSmallestSize(Window *w)
2013{

Callers 4

DrawWidgetMethod · 0.80
OnClickMethod · 0.80
DrawWidgetMethod · 0.80
OnClickMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected