Mercurial > hg > xemacs-beta
diff lwlib/xlwscrollbarP.h @ 185:3d6bfa290dbd r20-3b19
Import from CVS: tag r20-3b19
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:55:28 +0200 |
parents | e121b013d1f0 |
children |
line wrap: on
line diff
--- a/lwlib/xlwscrollbarP.h Mon Aug 13 09:54:24 2007 +0200 +++ b/lwlib/xlwscrollbarP.h Mon Aug 13 09:55:28 2007 +0200 @@ -38,6 +38,22 @@ XlwScrollBarClassPart scrollbar_class; } XlwScrollBarClassRec; +enum XlwScrollbarArm +{ + ARM_NONE, + ARM_SLIDER, + ARM_UP, + ARM_DOWN, + ARM_PAGEUP, + ARM_PAGEDOWN +}; + +enum XlwScrollbarForcedScroll +{ + FORCED_SCROLL_NONE, + FORCED_SCROLL_DOWNRIGHT, + FORCED_SCROLL_UPLEFT +}; /* ** Widget instance @@ -98,20 +114,9 @@ int above, ss, below; int lastY; - enum { - ARM_NONE, - ARM_SLIDER, - ARM_UP, - ARM_DOWN, - ARM_PAGEUP, - ARM_PAGEDOWN - } armed; + enum XlwScrollbarArm armed; - enum { - FORCED_SCROLL_NONE, - FORCED_SCROLL_DOWNRIGHT, - FORCED_SCROLL_UPLEFT - } forced_scroll; + enum XlwScrollbarForcedScroll forced_scroll; int savedValue;