OpenTTD Source 20260311-master-g511d3794ce
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 "stringfilter_type.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>
 Drop down list item that divides list horizontally into two parts.
using DropDownListStringItem = DropDownString<DropDownListItem>
 Drop down list item that contains a single string.
using DropDownListIconItem = DropDownIcon<DropDownString<DropDownListItem>>
 Drop down list item that contains a single string and an icon.
using DropDownListCheckedItem = DropDownIndent<DropDownCheck<DropDownString<DropDownListItem>>>
 Drop down list item with a single string and a space for tick.

Detailed Description

Common drop down list components.

Definition in file dropdown_common_type.h.

Typedef Documentation

◆ DropDownListCheckedItem

Drop down list item with a single string and a space for tick.

Definition at line 313 of file dropdown_common_type.h.

◆ DropDownListDividerItem

Drop down list item that divides list horizontally into two parts.

Definition at line 310 of file dropdown_common_type.h.

◆ DropDownListIconItem

Drop down list item that contains a single string and an icon.

Definition at line 312 of file dropdown_common_type.h.

◆ DropDownListStringItem

Drop down list item that contains a single string.

Definition at line 311 of file dropdown_common_type.h.