summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-07-31 22:08:19 +0000
committeralberth <alberth@openttd.org>2009-07-31 22:08:19 +0000
commitb129184d57cac186c53bda3e8165efd63806c2aa (patch)
tree5b5be5acc1fdd5774124a6ac8f4956e5d3da9257 /src/window_gui.h
parent8181a0a2ad93f2496dd470730a635c276f742af0 (diff)
downloadopenttd-b129184d57cac186c53bda3e8165efd63806c2aa.tar.xz
(svn r17008) -Fix [FS#3061]: Resize matrix in station build window vertically according to font height.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index 3ea0f7c2e..f074093ef 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -60,6 +60,12 @@ enum WidgetDrawDistances {
WD_FRAMETEXT_LEFT = 6, ///< Left offset of the text of the frame.
WD_FRAMETEXT_RIGHT = 6, ///< Right offset of the text of the frame.
+ /* WWT_MATRIX */
+ WD_MATRIX_LEFT = 2, ///< Offset at left of a matrix cell.
+ WD_MATRIX_RIGHT = 2, ///< Offset at right of a matrix cell.
+ WD_MATRIX_TOP = 3, ///< Offset at top of a matrix cell.
+ WD_MATRIX_BOTTOM = 1, ///< Offset at bottom of a matrix cell.
+
/* WWT_STICKYBOX */
WD_STICKYBOX_WIDTH = 12, ///< Width of a standard sticky box widget.
WD_STICKYBOX_LEFT = 2, ///< Left offset of sticky sprite.