Mercurial > hg > xemacs-beta
comparison src/scrollbar-x.h @ 82:6a378aca36af r20-0b91
Import from CVS: tag r20-0b91
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:07:36 +0200 |
parents | 131b0175ea99 |
children | c5d627a313b1 |
comparison
equal
deleted
inserted
replaced
81:ebca3d831cea | 82:6a378aca36af |
---|---|
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) | |
46 /* Recorded starting position for Motif-like scrollbar drags. */ | 47 /* Recorded starting position for Motif-like scrollbar drags. */ |
47 int vdrag_orig_value; | 48 int vdrag_orig_value; |
48 Bufpos vdrag_orig_window_start; | 49 Bufpos vdrag_orig_window_start; |
49 #endif | 50 #endif |
50 }; | 51 }; |
56 #define SCROLLBAR_X_BACKING_STORE_INITIALIZED(i) \ | 57 #define SCROLLBAR_X_BACKING_STORE_INITIALIZED(i) \ |
57 (SCROLLBAR_X_DATA (i)->backing_store_initialized) | 58 (SCROLLBAR_X_DATA (i)->backing_store_initialized) |
58 #define SCROLLBAR_X_POS_DATA(i) (SCROLLBAR_X_DATA (i)->pos_data) | 59 #define SCROLLBAR_X_POS_DATA(i) (SCROLLBAR_X_DATA (i)->pos_data) |
59 #define SCROLLBAR_X_WIDGET(i) (SCROLLBAR_X_DATA (i)->widget) | 60 #define SCROLLBAR_X_WIDGET(i) (SCROLLBAR_X_DATA (i)->widget) |
60 | 61 |
61 #if defined (LWLIB_SCROLLBARS_MOTIF) || defined (LWLIB_SCROLLBARS_LUCID) | 62 #if defined (LWLIB_SCROLLBARS_MOTIF) || defined (LWLIB_SCROLLBARS_LUCID) || \ |
63 defined (LWLIB_SCROLLBARS_ATHENA3D) | |
62 #define SCROLLBAR_X_VDRAG_ORIG_VALUE(i) \ | 64 #define SCROLLBAR_X_VDRAG_ORIG_VALUE(i) \ |
63 (SCROLLBAR_X_DATA (i)->vdrag_orig_value) | 65 (SCROLLBAR_X_DATA (i)->vdrag_orig_value) |
64 #define SCROLLBAR_X_VDRAG_ORIG_WINDOW_START(i) \ | 66 #define SCROLLBAR_X_VDRAG_ORIG_WINDOW_START(i) \ |
65 (SCROLLBAR_X_DATA (i)->vdrag_orig_window_start) | 67 (SCROLLBAR_X_DATA (i)->vdrag_orig_window_start) |
66 #endif | 68 #endif |