summaryrefslogtreecommitdiff
path: root/src/widgets
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/widgets
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/widgets')
-rw-r--r--src/widgets/misc_widget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/misc_widget.h b/src/widgets/misc_widget.h
index a54e83035..a6dd081a9 100644
--- a/src/widgets/misc_widget.h
+++ b/src/widgets/misc_widget.h
@@ -48,6 +48,7 @@ enum QueryWidgets {
/** Widgets of the #TextfileWindow class. */
enum TextfileWidgets {
WID_TF_CAPTION, ///< The caption of the window.
+ WID_TF_WRAPTEXT, ///< Whether or not to wrap the text.
WID_TF_BACKGROUND, ///< Panel to draw the textfile on.
WID_TF_VSCROLLBAR, ///< Vertical scrollbar to scroll through the textfile up-and-down.
WID_TF_HSCROLLBAR, ///< Horizontal scrollbar to scroll through the textfile left-to-right.