Mercurial > hg > xemacs-beta
comparison lwlib/xlwscrollbarP.h @ 10:49a24b4fd526 r19-15b6
Import from CVS: tag r19-15b6
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:47:52 +0200 |
parents | 376386a54a3c |
children | 441bb1e64a06 |
comparison
equal
deleted
inserted
replaced
9:6f2bbbbbe05a | 10:49a24b4fd526 |
---|---|
12 but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 GNU General Public License for more details. | 14 GNU General Public License for more details. |
15 | 15 |
16 You should have received a copy of the GNU General Public License | 16 You should have received a copy of the GNU General Public License |
17 along with GNU Emacs; see the file COPYING. If not, write to | 17 along with XEmacs; see the file COPYING. If not, write to |
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | 18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
19 Boston, MA 02111-1307, USA. */ | |
19 | 20 |
20 /* Created by Douglas Keller <dkeller@vnet.ibm.com> */ | 21 /* Created by Douglas Keller <dkeller@vnet.ibm.com> */ |
21 /* Last changed 02/05/95 */ | |
22 | 22 |
23 #ifndef _XlwScrollBarP_h | 23 #ifndef _XlwScrollBarP_h |
24 #define _XlwScrollBarP_h | 24 #define _XlwScrollBarP_h |
25 | 25 |
26 | 26 |
41 ** Widget instance | 41 ** Widget instance |
42 */ | 42 */ |
43 typedef struct { | 43 typedef struct { |
44 | 44 |
45 /* resources */ | 45 /* resources */ |
46 XtCallbackList valueChangedCBL; | 46 XtCallbackList valueChangedCBL; |
47 XtCallbackList incrementCBL; | 47 XtCallbackList incrementCBL; |
48 XtCallbackList decrementCBL; | 48 XtCallbackList decrementCBL; |
49 XtCallbackList pageIncrementCBL; | 49 XtCallbackList pageIncrementCBL; |
50 XtCallbackList pageDecrementCBL; | 50 XtCallbackList pageDecrementCBL; |
51 XtCallbackList toTopCBL; | 51 XtCallbackList toTopCBL; |
52 XtCallbackList toBottomCBL; | 52 XtCallbackList toBottomCBL; |
53 XtCallbackList dragCBL; | 53 XtCallbackList dragCBL; |
54 | 54 |
55 Pixel foreground; | 55 Pixel foreground; |
56 | 56 |
57 Pixel topShadowColor; | 57 Pixel topShadowColor; |
58 Pixel bottomShadowColor; | 58 Pixel bottomShadowColor; |
59 | 59 |
60 Pixel troughColor; | 60 Pixel troughColor; |
61 | 61 |
62 Pixel armColor; | 62 Pixel armColor; |
63 Pixel armTopShadowColor; | 63 Pixel armTopShadowColor; |
64 Pixel armBottomShadowColor; | 64 Pixel armBottomShadowColor; |
65 | 65 |
66 Pixmap topShadowPixmap; | 66 Pixmap topShadowPixmap; |
67 Pixmap bottomShadowPixmap; | 67 Pixmap bottomShadowPixmap; |
68 | 68 |
69 int shadowThickness; | 69 int shadowThickness; |
70 | 70 |
71 Boolean showArrows; | 71 Boolean showArrows; |
72 | 72 |
73 int minimum; | 73 int minimum; |
74 int maximum; | 74 int maximum; |
75 int sliderSize; | 75 int sliderSize; |
76 int value; | 76 int value; |
77 int pageIncrement; | 77 int pageIncrement; |
78 int increment; | 78 int increment; |
79 | 79 |
80 int initialDelay; | 80 int initialDelay; |
81 int repeatDelay; | 81 int repeatDelay; |
82 | 82 |
83 unsigned char orientation; | 83 unsigned char orientation; |
84 | 84 |
85 char *knobStyle; | 85 char *knobStyle; |
86 char *arrowPosition; | 86 char *arrowPosition; |
87 | 87 |
88 /* private */ | 88 /* private */ |
89 Pixmap grayPixmap; | 89 Pixmap grayPixmap; |
90 | 90 |
91 GC backgroundGC; | 91 GC backgroundGC; |
92 GC topShadowGC; | 92 GC topShadowGC; |
93 GC bottomShadowGC; | 93 GC bottomShadowGC; |
94 | 94 |
95 int above, ss, below; | 95 int above, ss, below; |
96 int lastY; | 96 int lastY; |
97 | 97 |
98 int armed; | 98 int armed; |
99 | 99 |
100 int savedValue; | 100 int savedValue; |
101 | 101 |
102 Boolean fullRedrawNext; | 102 Boolean fullRedrawNext; |
103 | |
104 Boolean timerActive; | |
105 XtIntervalId timerId; | |
103 | 106 |
104 } XlwScrollBarPart; | 107 } XlwScrollBarPart; |
105 | 108 |
106 typedef struct _XlwScrollBarRec { | 109 typedef struct _XlwScrollBarRec { |
107 CorePart core; | 110 CorePart core; |