summaryrefslogtreecommitdiff
path: root/src/window.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-03-10 03:25:15 +0000
committerbelugas <belugas@openttd.org>2007-03-10 03:25:15 +0000
commit3e91313326bbd975a0eb85c025fb09a90eba23b3 (patch)
tree9f1ac38dc29ecc98c328a2f7352fcff640a84dbe /src/window.h
parent2a2ee534e99e2845f0a55b03bd27ba59536f153a (diff)
downloadopenttd-3e91313326bbd975a0eb85c025fb09a90eba23b3.tar.xz
(svn r9088) -Add : a new type of widget, called WWT_TEXT. It is a simple truncated string. It will be usefull on windows where lot of simple text is always drawn on the WE_PAINT event, making the code clearer. For now, left, right (total size of the window), top, color and data are necessary to use it. Maybe more features will be available soon.
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window.h b/src/window.h
index 0ed84b2ac..7f48d523d 100644
--- a/src/window.h
+++ b/src/window.h
@@ -492,6 +492,7 @@ enum WindowWidgetTypes {
WWT_TEXTBTN, ///< button with text
WWT_TEXTBTN_2, ///< button with diff text when clicked
WWT_LABEL, ///< centered label
+ WWT_TEXT, ///< pure simple text
WWT_MATRIX,
WWT_SCROLLBAR,
WWT_FRAME, ///< frame