File diff r19063:6deb502206fb → r19064:0f7af43d9a9f
src/script/api/script_window.hpp
Show inline comments
 
@@ -247,13 +247,13 @@ public:
 
		WC_GRF_PARAMETERS = ::WC_GRF_PARAMETERS,
 

	
 
		/**
 
		 * textfile; Window numbers:
 
		 *   - 0 = #NewGRFTextfileWidgets
 
		 */
 
		WC_NEWGRF_TEXTFILE = ::WC_NEWGRF_TEXTFILE,
 
		WC_TEXTFILE = ::WC_TEXTFILE,
 

	
 

	
 
		/**
 
		 * Town authority; Window numbers:
 
		 *   - #TownID = #TownAuthorityWidgets
 
		 */
 
@@ -1668,20 +1668,12 @@ public:
 
		WID_NP_ACCEPT                        = ::WID_NP_ACCEPT,                        ///< Accept button.
 
		WID_NP_RESET                         = ::WID_NP_RESET,                         ///< Reset button.
 
		WID_NP_SHOW_DESCRIPTION              = ::WID_NP_SHOW_DESCRIPTION,              ///< #NWID_SELECTION to optionally display parameter descriptions.
 
		WID_NP_DESCRIPTION                   = ::WID_NP_DESCRIPTION,                   ///< Multi-line description of a parameter.
 
	};
 

	
 
	/** Widgets of the #NewGRFTextfileWindow class. */
 
	enum NewGRFTextfileWidgets {
 
		WID_NT_CAPTION                       = ::WID_NT_CAPTION,                       ///< The caption of the window.
 
		WID_NT_BACKGROUND                    = ::WID_NT_BACKGROUND,                    ///< Panel to draw the textfile on.
 
		WID_NT_VSCROLLBAR                    = ::WID_NT_VSCROLLBAR,                    ///< Vertical scrollbar to scroll through the textfile up-and-down.
 
		WID_NT_HSCROLLBAR                    = ::WID_NT_HSCROLLBAR,                    ///< Horizontal scrollbar to scroll through the textfile left-to-right.
 
	};
 

	
 
	/** Widgets of the #NewGRFWindow class. */
 
	enum NewGRFStateWidgets {
 
		WID_NS_PRESET_LIST                   = ::WID_NS_PRESET_LIST,                   ///< Active NewGRF preset.
 
		WID_NS_PRESET_SAVE                   = ::WID_NS_PRESET_SAVE,                   ///< Save list of active NewGRFs as presets.
 
		WID_NS_PRESET_DELETE                 = ::WID_NS_PRESET_DELETE,                 ///< Delete active preset.
 
		WID_NS_ADD                           = ::WID_NS_ADD,                           ///< Add NewGRF to active list.
 
@@ -1712,12 +1704,20 @@ public:
 
	/** Widgets of the #ScanProgressWindow class. */
 
	enum ScanProgressWidgets {
 
		WID_SP_PROGRESS_BAR                  = ::WID_SP_PROGRESS_BAR,                  ///< Simple progress bar.
 
		WID_SP_PROGRESS_TEXT                 = ::WID_SP_PROGRESS_TEXT,                 ///< Text explaining what is happening.
 
	};
 

	
 
	/** Widgets of the #TextfileWindow class. */
 
	enum TextfileWidgets {
 
		WID_TF_CAPTION                       = ::WID_TF_CAPTION,                       ///< The caption of the window.
 
		WID_TF_BACKGROUND                    = ::WID_TF_BACKGROUND,                    ///< Panel to draw the textfile on.
 
		WID_TF_VSCROLLBAR                    = ::WID_TF_VSCROLLBAR,                    ///< Vertical scrollbar to scroll through the textfile up-and-down.
 
		WID_TF_HSCROLLBAR                    = ::WID_TF_HSCROLLBAR,                    ///< Horizontal scrollbar to scroll through the textfile left-to-right.
 
	};
 

	
 
	/** Widgets of the #NewsWindow class. */
 
	enum NewsWidgets {
 
		WID_N_PANEL                          = ::WID_N_PANEL,                          ///< Panel of the window.
 
		WID_N_TITLE                          = ::WID_N_TITLE,                          ///< Title of the company news.
 
		WID_N_HEADLINE                       = ::WID_N_HEADLINE,                       ///< The news headline.
 
		WID_N_CLOSEBOX                       = ::WID_N_CLOSEBOX,                       ///< Close the window.