OpenTTD Source 20241224-master-gee860a5c8e
goal_widget.h File Reference

Types related to the goal widgets. More...

Go to the source code of this file.

Enumerations

enum  GoalListWidgets : WidgetID {
  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 : WidgetID {
  WID_GQ_CAPTION , WID_GQ_QUESTION , WID_GQ_BUTTONS , WID_GQ_BUTTON_1 ,
  WID_GQ_BUTTON_2 , WID_GQ_BUTTON_3
}
 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_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

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.

Definition at line 25 of file goal_widget.h.