OpenTTD Source: DropDownCheck< TBase, TEnd, TFs > Class Template Reference

OpenTTD Source 14.0-beta1

Public Member Functions | Private Attributes
DropDownCheck< TBase, TEnd, TFs > Class Template Reference

Drop down checkmark component. More...

`#include <dropdown_type.h>`

Inheritance diagram for DropDownCheck< TBase, TEnd, TFs >:

## Public Member Functions
template<typename... Args>
| DropDownCheck (bool checked, Args &&... args)
uint | Height () const override
uint | Width () const override
void | Draw (const Rect &full, const Rect &r, bool sel, Colours bg_colour) const override

## Private Attributes
bool | checked
| Is item checked.
Dimension | dim
| Dimension of checkmark.

## Detailed Description

### template<class TBase, bool TEnd = false, FontSize TFs = FS_NORMAL>
class DropDownCheck< TBase, TEnd, TFs >

Drop down checkmark component.

Template Parameters

  TBase | Base component.
  TFs | Font size.
  TEnd | Position checkmark at end if true, or start if false.

Definition at line 178 of file dropdown_type.h.

The documentation for this class was generated from the following file:

- src/widgets/dropdown_type.h