diff options
author | rubidium <rubidium@openttd.org> | 2012-02-12 10:32:41 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2012-02-12 10:32:41 +0000 |
commit | e8dbcf90430610e2f19aeb3b764d9e8809c8f3ea (patch) | |
tree | 8cca3b6ad3193e943cd0121ba465e5cedf268307 /src/script/api/script_window.hpp | |
parent | 0542e26460cf5da6fb4a3486ed9b515721bdb0bd (diff) | |
download | openttd-e8dbcf90430610e2f19aeb3b764d9e8809c8f3ea.tar.xz |
(svn r23932) -Codechange: split the NewGRF text window into its own source files
Diffstat (limited to 'src/script/api/script_window.hpp')
-rw-r--r-- | src/script/api/script_window.hpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/script/api/script_window.hpp b/src/script/api/script_window.hpp index 558a8f620..0cda667db 100644 --- a/src/script/api/script_window.hpp +++ b/src/script/api/script_window.hpp @@ -250,7 +250,7 @@ public: * textfile; Window numbers: * - 0 = #NewGRFTextfileWidgets */ - WC_NEWGRF_TEXTFILE = ::WC_NEWGRF_TEXTFILE, + WC_TEXTFILE = ::WC_TEXTFILE, /** @@ -1671,14 +1671,6 @@ public: 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. @@ -1715,6 +1707,14 @@ public: 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. |