OpenTTD Source: src/widgets/goal_widget.h File Reference

OpenTTD Source 12.2

Enumerations
goal_widget.h File Reference

Go to the source code of this file.

## Enumerations
enum | GoalListWidgets { WID_GOAL_CAPTION, WID_GOAL_SELECT_BUTTONS, WID_GOAL_GLOBAL_BUTTON, WID_GOAL_COMPANY_BUTTON, WID_GOAL_LIST, WID_GOAL_SCROLLBAR }
| Widgets of the GoalListWindow class. More...
enum | GoalQuestionWidgets { WID_GQ_CAPTION, WID_GQ_QUESTION, WID_GQ_BUTTONS, WID_GQ_BUTTON_1, WID_GQ_BUTTON_2, WID_GQ_BUTTON_3, WID_GQ_BUTTON_SPACER }
| Widgets of the GoalQuestionWindow class. More...

## Detailed Description

Types related to the goal widgets.

Definition in file goal_widget.h.

## Enumeration Type Documentation

## ◆ GoalListWidgets

enum GoalListWidgets

Widgets of the GoalListWindow class.

Enumerator
WID_GOAL_CAPTION | Caption of the window.
WID_GOAL_SELECT_BUTTONS | Selection widget for the title bar button.
WID_GOAL_GLOBAL_BUTTON | Button to show global goals.
WID_GOAL_COMPANY_BUTTON | Button to show company goals.
WID_GOAL_LIST | Goal list.
WID_GOAL_SCROLLBAR | Scrollbar of the goal list.

Definition at line 15 of file goal_widget.h.

## ◆ GoalQuestionWidgets

enum GoalQuestionWidgets

Widgets of the GoalQuestionWindow class.

Enumerator
WID_GQ_CAPTION | Caption of the window.
WID_GQ_QUESTION | Question text.
WID_GQ_BUTTONS | Buttons selection (between 1, 2 or 3).
WID_GQ_BUTTON_1 | First button.
WID_GQ_BUTTON_2 | Second button.
WID_GQ_BUTTON_3 | Third button.
WID_GQ_BUTTON_SPACER | Selection to hide extra padding if there are no buttons.

Definition at line 25 of file goal_widget.h.