Mercurial > hg > xemacs-beta
comparison src/scrollbar-x.h @ 70:131b0175ea99 r20-0b30
Import from CVS: tag r20-0b30
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:02:59 +0200 |
parents | 0293115a14e9 |
children | 6a378aca36af |
comparison
equal
deleted
inserted
replaced
69:804d1389bcd6 | 70:131b0175ea99 |
---|---|
40 scrollbar_values pos_data; | 40 scrollbar_values pos_data; |
41 | 41 |
42 /* Pointer to the scrollbar widget this structure describes. */ | 42 /* Pointer to the scrollbar widget this structure describes. */ |
43 Widget widget; | 43 Widget widget; |
44 | 44 |
45 #if defined (LWLIB_SCROLLBARS_MOTIF) || defined (LWLIB_SCROLLBARS_LUCID) || \ | 45 #if defined (LWLIB_SCROLLBARS_MOTIF) || defined (LWLIB_SCROLLBARS_LUCID) |
46 defined (LWLIB_SCROLLBARS_ATHENA3D) | |
47 /* Recorded starting position for Motif-like scrollbar drags. */ | 46 /* Recorded starting position for Motif-like scrollbar drags. */ |
48 int vdrag_orig_value; | 47 int vdrag_orig_value; |
49 Bufpos vdrag_orig_window_start; | 48 Bufpos vdrag_orig_window_start; |
50 #endif | 49 #endif |
51 }; | 50 }; |
57 #define SCROLLBAR_X_BACKING_STORE_INITIALIZED(i) \ | 56 #define SCROLLBAR_X_BACKING_STORE_INITIALIZED(i) \ |
58 (SCROLLBAR_X_DATA (i)->backing_store_initialized) | 57 (SCROLLBAR_X_DATA (i)->backing_store_initialized) |
59 #define SCROLLBAR_X_POS_DATA(i) (SCROLLBAR_X_DATA (i)->pos_data) | 58 #define SCROLLBAR_X_POS_DATA(i) (SCROLLBAR_X_DATA (i)->pos_data) |
60 #define SCROLLBAR_X_WIDGET(i) (SCROLLBAR_X_DATA (i)->widget) | 59 #define SCROLLBAR_X_WIDGET(i) (SCROLLBAR_X_DATA (i)->widget) |
61 | 60 |
62 #if defined (LWLIB_SCROLLBARS_MOTIF) || defined (LWLIB_SCROLLBARS_LUCID) || \ | 61 #if defined (LWLIB_SCROLLBARS_MOTIF) || defined (LWLIB_SCROLLBARS_LUCID) |
63 defined (LWLIB_SCROLLBARS_ATHENA3D) | |
64 #define SCROLLBAR_X_VDRAG_ORIG_VALUE(i) \ | 62 #define SCROLLBAR_X_VDRAG_ORIG_VALUE(i) \ |
65 (SCROLLBAR_X_DATA (i)->vdrag_orig_value) | 63 (SCROLLBAR_X_DATA (i)->vdrag_orig_value) |
66 #define SCROLLBAR_X_VDRAG_ORIG_WINDOW_START(i) \ | 64 #define SCROLLBAR_X_VDRAG_ORIG_WINDOW_START(i) \ |
67 (SCROLLBAR_X_DATA (i)->vdrag_orig_window_start) | 65 (SCROLLBAR_X_DATA (i)->vdrag_orig_window_start) |
68 #endif | 66 #endif |