summaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-10-06 11:29:14 +0000
committerfrosch <frosch@openttd.org>2013-10-06 11:29:14 +0000
commitdfa0e61f254eb1bdcfbc932ec2c6c38443f79c65 (patch)
treedf3e310f24dda3e572f7ac867595f48eeeeac5f4 /src/script
parentf26aad2e84f628e741fd267042913731b5637648 (diff)
downloadopenttd-dfa0e61f254eb1bdcfbc932ec2c6c38443f79c65.tar.xz
(svn r25816) -Add [FS#5748]: Toggle button for wrapping lines in the textfile GUI (LordAro)
Diffstat (limited to 'src/script')
-rw-r--r--src/script/api/script_window.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/api/script_window.hpp b/src/script/api/script_window.hpp
index 391d3a4e4..5335af1b7 100644
--- a/src/script/api/script_window.hpp
+++ b/src/script/api/script_window.hpp
@@ -1558,6 +1558,7 @@ public:
/** Widgets of the #TextfileWindow class. */
enum TextfileWidgets {
WID_TF_CAPTION = ::WID_TF_CAPTION, ///< The caption of the window.
+ WID_TF_WRAPTEXT = ::WID_TF_WRAPTEXT, ///< Whether or not to wrap the text.
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.