From b37be47f162a614ddfb0a777331d7c402930aec5 Mon Sep 17 00:00:00 2001 From: frosch Date: Thu, 12 Aug 2010 09:14:34 +0000 Subject: (svn r20460) -Codechange: Remove WF_SCROLL window flags and store the state directly in the scrollbar widget instead. --- src/widget_type.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/widget_type.h') diff --git a/src/widget_type.h b/src/widget_type.h index 961a6c4c9..067e892e9 100644 --- a/src/widget_type.h +++ b/src/widget_type.h @@ -250,6 +250,9 @@ enum NWidgetDisplay { NDB_SHADE_DIMMED = 4, ///< Display dimmed colours in the viewport. /* Button dropdown widget. */ NDB_DROPDOWN_ACTIVE = 5, ///< Dropdown menu of the button dropdown widget is active. @see #NWID_BUTTON_DRPDOWN + /* Scrollbar widget. */ + NDB_SCROLLBAR_UP = 6, ///< Up-button is lowered bit. + NDB_SCROLLBAR_DOWN = 7, ///< Down-button is lowered bit. ND_LOWERED = 1 << NDB_LOWERED, ///< Bit value of the lowered flag. ND_DISABLED = 1 << NDB_DISABLED, ///< Bit value of the disabled flag. @@ -257,6 +260,8 @@ enum NWidgetDisplay { ND_SHADE_GREY = 1 << NDB_SHADE_GREY, ///< Bit value of the 'shade to grey' flag. ND_SHADE_DIMMED = 1 << NDB_SHADE_DIMMED, ///< Bit value of the 'dimmed colours' flag. 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. }; DECLARE_ENUM_AS_BIT_SET(NWidgetDisplay) -- cgit v1.2.3-54-g00ecf