OpenTTD Source 20250312-master-gcdcc6b491d
|
Drop down checkmark component. More...
#include <dropdown_common_type.h>
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. | |
Drop down checkmark component.
TBase | Base component. |
TFs | Font size. |
TEnd | Position checkmark at end if true, or start if false. |
Definition at line 142 of file dropdown_common_type.h.
|
inlineexplicit |
Definition at line 147 of file dropdown_common_type.h.
|
inlineoverride |
Definition at line 155 of file dropdown_common_type.h.
|
inlineoverride |
Definition at line 152 of file dropdown_common_type.h.
|
inlineoverride |
Definition at line 153 of file dropdown_common_type.h.
|
private |
Is item checked.
Definition at line 143 of file dropdown_common_type.h.
|
private |
Dimension of checkmark.
Definition at line 144 of file dropdown_common_type.h.