OpenTTD Source  20241108-master-g80f628063a
game_widget.h File Reference

Types related to the GS widgets. More...

#include "../textfile_type.h"

Go to the source code of this file.

Enumerations

enum  GSConfigWidgets : WidgetID {
  WID_GSC_BACKGROUND , WID_GSC_GSLIST , WID_GSC_SETTINGS , WID_GSC_SCROLLBAR ,
  WID_GSC_CHANGE , WID_GSC_OPEN_URL , WID_GSC_TEXTFILE , WID_GSC_CONTENT_DOWNLOAD = WID_GSC_TEXTFILE + TFT_CONTENT_END ,
  WID_GSC_RESET , WID_GSC_SETTING_DROPDOWN = -1
}
 Widgets of the GSConfigWindow class. More...
 

Detailed Description

Types related to the GS widgets.

Definition in file game_widget.h.

Enumeration Type Documentation

◆ GSConfigWidgets

Widgets of the GSConfigWindow class.

Enumerator
WID_GSC_BACKGROUND 

Window background.

WID_GSC_GSLIST 

List with current selected Game Script.

WID_GSC_SETTINGS 

Panel to draw the Game Script settings on.

WID_GSC_SCROLLBAR 

Scrollbar to scroll through the selected AIs.

WID_GSC_CHANGE 

Select another Game Script button.

WID_GSC_OPEN_URL 

Open GS URL.

WID_GSC_TEXTFILE 

Open GS readme, changelog (+1) or license (+2).

WID_GSC_CONTENT_DOWNLOAD 

Download content button.

WID_GSC_RESET 

Reset button.

WID_GSC_SETTING_DROPDOWN 

Dynamically created dropdown for changing setting value.

Definition at line 16 of file game_widget.h.