OpenTTD Source 20260208-master-g43af8e94d0
dropdown_common_type.h File Reference

Common drop down list components. More...

#include "dropdown_type.h"
#include "gfx_func.h"
#include "gfx_type.h"
#include "palette_func.h"
#include "settings_gui.h"
#include "string_func.h"
#include "strings_func.h"
#include "window_gui.h"
#include "table/strings.h"

Go to the source code of this file.

Data Structures

class  DropDownDivider< TBase, TFs >
 Drop down divider component. More...
class  DropDownString< TBase, TFs, TEnd >
 Drop down string component. More...
class  DropDownIcon< TBase, TEnd >
 Drop down icon component. More...
class  DropDownCheck< TBase, TEnd, TFs >
 Drop down checkmark component. More...
class  DropDownToggle< TBase, TEnd >
 Drop down boolean toggle component. More...
class  DropDownIndent< TBase, TEnd >
 Drop down indent component. More...
class  DropDownSpacer< TBase, TEnd >
 Drop down spacer component. More...
class  DropDownUnselectable< TBase, TFs >
 Drop down component that makes the item unselectable. More...

Typedefs

using DropDownListDividerItem = DropDownDivider<DropDownListItem>
using DropDownListStringItem = DropDownString<DropDownListItem>
using DropDownListIconItem = DropDownIcon<DropDownString<DropDownListItem>>
using DropDownListCheckedItem = DropDownIndent<DropDownCheck<DropDownString<DropDownListItem>>>

Detailed Description

Common drop down list components.

Definition in file dropdown_common_type.h.

Typedef Documentation

◆ DropDownListCheckedItem

using DropDownListCheckedItem = DropDownIndent<DropDownCheck<DropDownString<DropDownListItem>>>

Definition at line 306 of file dropdown_common_type.h.

◆ DropDownListDividerItem

using DropDownListDividerItem = DropDownDivider<DropDownListItem>

Definition at line 303 of file dropdown_common_type.h.

◆ DropDownListIconItem

using DropDownListIconItem = DropDownIcon<DropDownString<DropDownListItem>>

Definition at line 305 of file dropdown_common_type.h.

◆ DropDownListStringItem

using DropDownListStringItem = DropDownString<DropDownListItem>

Definition at line 304 of file dropdown_common_type.h.