OpenTTD Source 20250711-master-gaaf5d39b15
BadgeClassConfigItem Class Reference

Data Fields

std::string label
 Class label.
 
int column = -1
 UI column, feature-dependent.
 
bool show_icon = false
 Set if the badge icons should be displayed for this class.
 
bool show_filter = false
 Set if a drop down filter should be added for this class.
 

Detailed Description

Definition at line 16 of file newgrf_badge_config.h.

Field Documentation

◆ column

int BadgeClassConfigItem::column = -1

UI column, feature-dependent.

Definition at line 19 of file newgrf_badge_config.h.

◆ label

std::string BadgeClassConfigItem::label

Class label.

Definition at line 18 of file newgrf_badge_config.h.

Referenced by AddBadgeClassesToConfiguration(), and GetBadgeClassConfigItem().

◆ show_filter

bool BadgeClassConfigItem::show_filter = false

Set if a drop down filter should be added for this class.

Definition at line 21 of file newgrf_badge_config.h.

◆ show_icon

bool BadgeClassConfigItem::show_icon = false

Set if the badge icons should be displayed for this class.

Definition at line 20 of file newgrf_badge_config.h.


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