File indexing completed on 2025-01-18 10:15:22
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029 #ifndef _XmAccessColorsT_H
0030 #define _XmAccessColorsT_H
0031
0032 #include <Xm/Xm.h>
0033 #include <X11/Xresource.h>
0034
0035 #ifdef __cplusplus
0036 extern "C" {
0037 #endif
0038
0039 externalref XrmQuark XmQTaccessColors;
0040
0041
0042 typedef struct _XmAccessColorDataRec {
0043 Mask valueMask ;
0044 Pixel foreground ;
0045 Pixel background ;
0046 Pixel highlight_color ;
0047 Pixel top_shadow_color ;
0048 Pixel bottom_shadow_color ;
0049 Pixel select_color ;
0050 } XmAccessColorDataRec, *XmAccessColorData;
0051
0052 typedef void (*XmAccessColorsGetProc)(Widget widget,
0053 XmAccessColorData color_data);
0054 typedef void (*XmAccessColorsSetProc)(Widget widget,
0055 XmAccessColorData color_data);
0056
0057
0058
0059
0060
0061 typedef struct _XmAccessColorsTraitRec {
0062 int version;
0063 XmAccessColorsGetProc getColors;
0064 XmAccessColorsGetProc setColors;
0065 } XmAccessColorsTraitRec, *XmAccessColorsTrait;
0066
0067 #define AccessColorInvalid 0L
0068 #define AccessForeground (1L<<0)
0069 #define AccessBackgroundPixel (1L<<1)
0070 #define AccessHighlightColor (1L<<2)
0071 #define AccessTopShadowColor (1L<<3)
0072 #define AccessBottomShadowColor (1L<<4)
0073 #define AccessSelectColor (1L<<5)
0074
0075 #ifdef __cplusplus
0076 }
0077 #endif
0078
0079
0080
0081
0082
0083
0084
0085
0086
0087 #endif