summaryrefslogtreecommitdiff
path: root/src/widget_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-10-15 11:16:14 +0000
committerrubidium <rubidium@openttd.org>2010-10-15 11:16:14 +0000
commit951b725b8c001003b38f0b009b6d6df55cb6ec02 (patch)
treed3aaf64777e56c38ffd16bf93f5224e0b2450a8c /src/widget_type.h
parent4eaf01fcdb5d2aedc2c4484130940bb43b8aec9c (diff)
downloadopenttd-951b725b8c001003b38f0b009b6d6df55cb6ec02.tar.xz
(svn r20922) -Fix [FS#4071]: accidentally moving the mouse of the scrollbar arrows while pressing it clicks the button next to the arrow
Diffstat (limited to 'src/widget_type.h')
-rw-r--r--src/widget_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widget_type.h b/src/widget_type.h
index 467680fd4..96d40d95c 100644
--- a/src/widget_type.h
+++ b/src/widget_type.h
@@ -262,6 +262,7 @@ enum NWidgetDisplay {
ND_DROPDOWN_ACTIVE = 1 << NDB_DROPDOWN_ACTIVE, ///< Bit value of the 'dropdown active' flag.
ND_SCROLLBAR_UP = 1 << NDB_SCROLLBAR_UP, ///< Bit value of the 'scrollbar up' flag.
ND_SCROLLBAR_DOWN = 1 << NDB_SCROLLBAR_DOWN, ///< Bit value of the 'scrollbar down' flag.
+ ND_SCROLLBAR_BTN = ND_SCROLLBAR_UP | ND_SCROLLBAR_DOWN, ///< Bit value of the 'scrollbar up' or 'scrollbar down' flag.
};
DECLARE_ENUM_AS_BIT_SET(NWidgetDisplay)