OpenTTD Source: DropDownDivider< TBase, TFs > Class Template Reference

OpenTTD Source 15.3

Public Member Functions
DropDownDivider< TBase, TFs > Class Template Reference

Drop down divider component. More...

`#include <dropdown_common_type.h>`

Inheritance diagram for DropDownDivider< TBase, TFs >:

## Public Member Functions
template<typename... Args>
| DropDownDivider (Args &&... args)
bool | Selectable () const override
uint | Height () const override
void | Draw (const Rect &full, const Rect &, bool, int, Colours bg_colour) const override

## Detailed Description

template<class TBase, FontSize TFs = FS_NORMAL>
class DropDownDivider< TBase, TFs >

Drop down divider component.

Template Parameters

  TBase | Base component.
  TFs | Font size – used to determine height.

Definition at line 30 of file dropdown_common_type.h.

## Constructor & Destructor Documentation

## ◆ DropDownDivider()

template<class TBase , FontSize TFs = FS_NORMAL>
template<typename... Args>

DropDownDivider< TBase, TFs >::DropDownDivider | ( | Args &&... | args | ) |
| inlineexplicit

Definition at line 33 of file dropdown_common_type.h.

## Member Function Documentation

## ◆ Draw()

template<class TBase , FontSize TFs = FS_NORMAL>

void DropDownDivider< TBase, TFs >::Draw | ( | const Rect & | full,
|  | const Rect & | ,
|  | bool | ,
|  | int | ,
|  | Colours | bg_colour
| ) |  | const
| inlineoverride

Definition at line 38 of file dropdown_common_type.h.

## ◆ Height()

template<class TBase , FontSize TFs = FS_NORMAL>

uint DropDownDivider< TBase, TFs >::Height | ( |  | ) | const
| inlineoverride

Definition at line 36 of file dropdown_common_type.h.

## ◆ Selectable()

template<class TBase , FontSize TFs = FS_NORMAL>

bool DropDownDivider< TBase, TFs >::Selectable | ( |  | ) | const
| inlineoverride

Definition at line 35 of file dropdown_common_type.h.

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

- src/dropdown_common_type.h