summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h7
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