OpenTTD Source  1.11.0-beta2
goal_widget.h File Reference

Go to the source code of this file.

Enumerations

enum  GoalListWidgets { WID_GOAL_CAPTION, 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

Widgets of the GoalListWindow class.

Enumerator
WID_GOAL_CAPTION 

Caption of the window.

WID_GOAL_LIST 

Goal list.

WID_GOAL_SCROLLBAR 

Scrollbar of the goal list.

Definition at line 15 of file goal_widget.h.

◆ 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 22 of file goal_widget.h.