OpenTTD Source  20241108-master-g80f628063a
DropDownCheck< TBase, TEnd, TFs > Class Template Reference

Drop down checkmark component. More...

#include <dropdown_common_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
TBaseBase component.
TFsFont size.
TEndPosition checkmark at end if true, or start if false.

Definition at line 149 of file dropdown_common_type.h.


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