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

Function MakeDropDownListDividerItem

src/dropdown.cpp:30–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28#include "safeguards.h"
29
30std::unique_ptr<DropDownListItem> MakeDropDownListDividerItem()
31{
32 return std::make_unique<DropDownListDividerItem>(-1);
33}
34
35std::unique_ptr<DropDownListItem> MakeDropDownListStringItem(StringID str, int value, bool masked, bool shaded)
36{

Callers 8

PopupMainToolbarMenuFunction · 0.85
ToolbarOptionsClickFunction · 0.85
BuildTownNameDropDownFunction · 0.85
GetDropDownListMethod · 0.85
BuildDropDownListMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected