OpenTTD Source 20241224-master-gee860a5c8e
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, Colours bg_colour) const override
 

Detailed Description

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

Drop down divider component.

Template Parameters
TBaseBase component.
TFsFont size – used to determine height.

Definition at line 27 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 30 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  ,
Colours  bg_colour 
) const
inlineoverride

Definition at line 35 of file dropdown_common_type.h.

◆ Height()

template<class TBase , FontSize TFs = FS_NORMAL>
uint DropDownDivider< TBase, TFs >::Height ( ) const
inlineoverride

Definition at line 33 of file dropdown_common_type.h.

◆ Selectable()

template<class TBase , FontSize TFs = FS_NORMAL>
bool DropDownDivider< TBase, TFs >::Selectable ( ) const
inlineoverride

Definition at line 32 of file dropdown_common_type.h.


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