|
OpenTTD Source 20260614-master-g1baea6b0fb
|
Go to the source code of this file.
Functions | |
| void | ShowGoalsList (CompanyID company) |
| Open a goal list window. | |
| void | ShowGoalQuestion (uint16_t id, GoalQuestionType type, uint32_t button_mask, const EncodedString &question) |
| Display a goal question. | |
Goal GUI functions.
Definition in file goal_gui.h.
| void ShowGoalQuestion | ( | uint16_t | id, |
| GoalQuestionType | type, | ||
| uint32_t | button_mask, | ||
| const EncodedString & | question ) |
Display a goal question.
| id | Window number to use. |
| type | Type of question. |
| button_mask | Buttons to display. |
| question | Question to ask. |
Definition at line 477 of file goal_gui.cpp.
References _goal_question_list_desc, Black, End, Error, and White.
Referenced by CmdGoalQuestion().
| void ShowGoalsList | ( | CompanyID | company | ) |
Open a goal list window.
| company | Company to display the goals for, use CompanyID::Invalid() to display global goals. |
Definition at line 312 of file goal_gui.cpp.
References _goals_list_desc, and AllocateWindowDescFront().
Referenced by MenuClickGoal(), GoalListWindow::OnClick(), MainToolbarWindow::OnHotkey(), and StoryBookWindow::OnPageElementClick().