MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / widgetIsHoldable

Function widgetIsHoldable

src/openrct2-ui/interface/Widget.cpp:910–913  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

908 }
909
910 bool widgetIsHoldable(const WindowBase& w, WidgetIndex widgetIndex)
911 {
912 return w.widgets[widgetIndex].flags.has(WidgetFlag::isHoldable);
913 }
914
915 bool widgetIsVisible(const WindowBase& w, WidgetIndex widgetIndex)
916 {

Callers 1

InputStateWidgetPressedFunction · 0.85

Calls 1

hasMethod · 0.65

Tested by

no test coverage detected