OpenTTD Source 20241224-master-gee860a5c8e
|
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 149 of file dropdown_common_type.h.
|
inlineexplicit |
Definition at line 154 of file dropdown_common_type.h.
|
inlineoverride |
Definition at line 162 of file dropdown_common_type.h.
|
inlineoverride |
Definition at line 159 of file dropdown_common_type.h.
|
inlineoverride |
Definition at line 160 of file dropdown_common_type.h.
|
private |
Is item checked.
Definition at line 150 of file dropdown_common_type.h.
|
private |
Dimension of checkmark.
Definition at line 151 of file dropdown_common_type.h.