MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / setItemDisabled

Function setItemDisabled

src/OpenLoco/src/Ui/Dropdown.cpp:194–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192 }
193
194 void setItemDisabled(size_t index)
195 {
196 assert(index < std::numeric_limits<uint8_t>::max());
197
198 _dropdownDisabledItems |= (1U << static_cast<uint8_t>(index));
199 }
200
201 void setHighlightedItem(size_t index)
202 {

Callers 1

zoomMenuMouseDownFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected