From 50d15412705fa8ffb37e53afd798595e74073f0d Mon Sep 17 00:00:00 2001 From: peter1138 Date: Tue, 11 Oct 2011 08:07:47 +0000 Subject: (svn r23017) -Codechange: Add support for resized scrollbars. --- src/window_gui.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/window_gui.h') 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 -- cgit v1.2.3-54-g00ecf