diff options
author | peter1138 <peter1138@openttd.org> | 2011-10-11 08:07:47 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2011-10-11 08:07:47 +0000 |
commit | 50d15412705fa8ffb37e53afd798595e74073f0d (patch) | |
tree | add2c1787d5cc71bb594b03912c5a1e078354b2b /src/window_gui.h | |
parent | 719f6618d773a5ad848920949b0470122080ac37 (diff) | |
download | openttd-50d15412705fa8ffb37e53afd798595e74073f0d.tar.xz |
(svn r23017) -Codechange: Add support for resized scrollbars.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r-- | src/window_gui.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/window_gui.h b/src/window_gui.h index 0ec585e34..8f549f85b 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -51,9 +51,10 @@ enum WidgetDrawDistances { WD_INSET_RIGHT = 2, ///< Right offset of string. WD_INSET_TOP = 1, ///< Top offset of string. - WD_VSCROLLBAR_WIDTH = 12, ///< Width of a vertical scrollbar. - - WD_HSCROLLBAR_HEIGHT = 12, ///< Height of a horizontal scrollbar. + WD_SCROLLBAR_LEFT = 2, ///< Left offset of scrollbar. + WD_SCROLLBAR_RIGHT = 2, ///< Right offset of scrollbar. + WD_SCROLLBAR_TOP = 2, ///< Top offset of scrollbar. + WD_SCROLLBAR_BOTTOM = 2, ///< Bottom offset of scrollbar. /* FrameRect widgets, all text buttons, panel, editbox */ WD_FRAMERECT_LEFT = 2, ///< Offset at left to draw the frame rectangular area |