From e8dbcf90430610e2f19aeb3b764d9e8809c8f3ea Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 12 Feb 2012 10:32:41 +0000 Subject: (svn r23932) -Codechange: split the NewGRF text window into its own source files --- src/widgets/newgrf_widget.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/widgets/newgrf_widget.h') diff --git a/src/widgets/newgrf_widget.h b/src/widgets/newgrf_widget.h index 32b5c5a30..878dcb891 100644 --- a/src/widgets/newgrf_widget.h +++ b/src/widgets/newgrf_widget.h @@ -13,6 +13,7 @@ #define WIDGETS_NEWGRF_WIDGET_H #include "../newgrf_config.h" +#include "../textfile_type.h" /** Widgets of the #NewGRFParametersWindow class. */ enum NewGRFParametersWidgets { @@ -29,14 +30,6 @@ enum NewGRFParametersWidgets { WID_NP_DESCRIPTION, ///< Multi-line description of a parameter. }; -/** Widgets of the #NewGRFTextfileWindow class. */ -enum NewGRFTextfileWidgets { - WID_NT_CAPTION, ///< The caption of the window. - WID_NT_BACKGROUND, ///< Panel to draw the textfile on. - WID_NT_VSCROLLBAR, ///< Vertical scrollbar to scroll through the textfile up-and-down. - WID_NT_HSCROLLBAR, ///< Horizontal scrollbar to scroll through the textfile left-to-right. -}; - /** Widgets of the #NewGRFWindow class. */ enum NewGRFStateWidgets { WID_NS_PRESET_LIST, ///< Active NewGRF preset. -- cgit v1.2.3-54-g00ecf