OpenTTD Source: BadgeClassConfigItem Class Reference

OpenTTD Source 15.0-RC2

Data Fields
BadgeClassConfigItem Class Reference

## Data Fields
std::string | label
| Class label.
uint | column = 0
| UI column, feature-dependent.
bool | show_icon = true
| 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

uint BadgeClassConfigItem::column = 0

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 = true

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:

- src/newgrf_badge_config.h