(svn r14390) -Codechange: replace magic constants with symbolic constants.

This commit is contained in:
rubidium
2008-09-23 15:24:15 +00:00
parent d49381e5c9
commit f49d5057ee
10 changed files with 19 additions and 18 deletions

View File

@@ -487,8 +487,9 @@ enum WindowWidgetTypes {
* Window flags
*/
enum WindowFlags {
WF_TIMEOUT_SHL = 0, ///< Window timeout counter shift
WF_TIMEOUT_MASK = 7, ///< Window timeout counter bit mask (3 bits), @see WF_TIMEOUT_SHL
WF_TIMEOUT_TRIGGER = 2, ///< When the timeout should start triggering
WF_TIMEOUT_BEGIN = 5, ///< The initial value for the timeout
WF_TIMEOUT_MASK = 7, ///< Window timeout counter bit mask (3 bits)
WF_DRAGGING = 1 << 3, ///< Window is being dragged
WF_SCROLL_UP = 1 << 4, ///< Upper scroll button has been pressed, @see ScrollbarClickHandler()
WF_SCROLL_DOWN = 1 << 5, ///< Lower scroll button has been pressed, @see ScrollbarClickHandler()