Debian Codegraph @

gui/GraphLib/libsrc/uimxR5/include/UxMgr.h

raw
1 /* @(#)UxMgr.h 17.1 (ESO-IPG) 01/25/02 17:26:00 */
2 #ifndef UXManager_INCLUDED
3 #define UXManager_INCLUDED
4
5 #include "Xm/Xm.h"
6
7 #ifdef DESIGN_TIME
8 #include "UxComp.h"
9
10 #ifndef UxGetUserData
11 extern binptr UxP_ManagerRD_userData;
12 #define UxGetUserData(sw) \
13 UxGET_string(sw,UxP_ManagerRD_userData,"userData")
14 #define UxPutUserData(sw,val) \
15 UxPUT_string(sw,UxP_ManagerRD_userData,"userData",val)
16 #endif
17
18 #ifndef UxGetUnitType
19 extern binptr UxP_ManagerRD_unitType;
20 #define UxGetUnitType(sw) \
21 UxGET_string(sw,UxP_ManagerRD_unitType,"unitType")
22 #define UxPutUnitType(sw,val) \
23 UxPUT_string(sw,UxP_ManagerRD_unitType,"unitType",val)
24 #endif
25
26 #ifndef UxGetTraversalOn
27 extern binptr UxP_ManagerRD_traversalOn;
28 #define UxGetTraversalOn(sw) \
29 UxGET_string(sw,UxP_ManagerRD_traversalOn,"traversalOn")
30 #define UxPutTraversalOn(sw,val) \
31 UxPUT_string(sw,UxP_ManagerRD_traversalOn,"traversalOn",val)
32 #endif
33
34 #ifndef UxGetTopShadowPixmap
35 extern binptr UxP_ManagerRD_topShadowPixmap;
36 #define UxGetTopShadowPixmap(sw) \
37 UxGET_string(sw,UxP_ManagerRD_topShadowPixmap,"topShadowPixmap")
38 #define UxPutTopShadowPixmap(sw,val) \
39 UxPUT_string(sw,UxP_ManagerRD_topShadowPixmap,"topShadowPixmap",val)
40 #endif
41
42 #ifndef UxGetTopShadowColor
43 extern binptr UxP_ManagerRD_topShadowColor;
44 #define UxGetTopShadowColor(sw) \
45 UxGET_string(sw,UxP_ManagerRD_topShadowColor,"topShadowColor")
46 #define UxPutTopShadowColor(sw,val) \
47 UxPUT_string(sw,UxP_ManagerRD_topShadowColor,"topShadowColor",val)
48 #endif
49
50 #ifndef UxGetStringDirection
51 extern binptr UxP_ManagerRD_stringDirection;
52 #define UxGetStringDirection(sw) \
53 UxGET_string(sw,UxP_ManagerRD_stringDirection,"stringDirection")
54 #define UxPutStringDirection(sw,val) \
55 UxPUT_string(sw,UxP_ManagerRD_stringDirection,"stringDirection",val)
56 #endif
57
58 #ifndef UxGetShadowThickness
59 extern binptr UxP_ManagerRD_shadowThickness;
60 #define UxGetShadowThickness(sw) \
61 UxGET_int(sw,UxP_ManagerRD_shadowThickness,"shadowThickness")
62 #define UxPutShadowThickness(sw,val) \
63 UxPUT_int(sw,UxP_ManagerRD_shadowThickness,"shadowThickness",val)
64 #endif
65
66 #ifndef UxGetNavigationType
67 extern binptr UxP_ManagerRD_navigationType;
68 #define UxGetNavigationType(sw) \
69 UxGET_string(sw,UxP_ManagerRD_navigationType,"navigationType")
70 #define UxPutNavigationType(sw,val) \
71 UxPUT_string(sw,UxP_ManagerRD_navigationType,"navigationType",val)
72 #endif
73
74 #ifndef UxGetInitialFocus
75 extern binptr UxP_ManagerRD_initialFocus;
76 #define UxGetInitialFocus(sw) \
77 UxGET_string(sw,UxP_ManagerRD_initialFocus,"initialFocus")
78 #define UxPutInitialFocus(sw,val) \
79 UxPUT_string(sw,UxP_ManagerRD_initialFocus,"initialFocus",val)
80 #endif
81
82 #ifndef UxGetHighlightPixmap
83 extern binptr UxP_ManagerRD_highlightPixmap;
84 #define UxGetHighlightPixmap(sw) \
85 UxGET_string(sw,UxP_ManagerRD_highlightPixmap,"highlightPixmap")
86 #define UxPutHighlightPixmap(sw,val) \
87 UxPUT_string(sw,UxP_ManagerRD_highlightPixmap,"highlightPixmap",val)
88 #endif
89
90 #ifndef UxGetHighlightColor
91 extern binptr UxP_ManagerRD_highlightColor;
92 #define UxGetHighlightColor(sw) \
93 UxGET_string(sw,UxP_ManagerRD_highlightColor,"highlightColor")
94 #define UxPutHighlightColor(sw,val) \
95 UxPUT_string(sw,UxP_ManagerRD_highlightColor,"highlightColor",val)
96 #endif
97
98 #ifndef UxGetForeground
99 extern binptr UxP_ManagerRD_foreground;
100 #define UxGetForeground(sw) \
101 UxGET_string(sw,UxP_ManagerRD_foreground,"foreground")
102 #define UxPutForeground(sw,val) \
103 UxPUT_string(sw,UxP_ManagerRD_foreground,"foreground",val)
104 #endif
105
106 #ifndef UxGetBottomShadowPixmap
107 extern binptr UxP_ManagerRD_bottomShadowPixmap;
108 #define UxGetBottomShadowPixmap(sw) \
109 UxGET_string(sw,UxP_ManagerRD_bottomShadowPixmap,"bottomShadowPixmap")
110 #define UxPutBottomShadowPixmap(sw,val) \
111 UxPUT_string(sw,UxP_ManagerRD_bottomShadowPixmap,"bottomShadowPixmap",val)
112 #endif
113
114 #ifndef UxGetBottomShadowColor
115 extern binptr UxP_ManagerRD_bottomShadowColor;
116 #define UxGetBottomShadowColor(sw) \
117 UxGET_string(sw,UxP_ManagerRD_bottomShadowColor,"bottomShadowColor")
118 #define UxPutBottomShadowColor(sw,val) \
119 UxPUT_string(sw,UxP_ManagerRD_bottomShadowColor,"bottomShadowColor",val)
120 #endif
121
122 #ifndef UxGetAllowShellResize
123 extern binptr UxP_ManagerRD_allowShellResize;
124 #define UxGetAllowShellResize(sw) \
125 UxGET_string(sw,UxP_ManagerRD_allowShellResize,"allowShellResize")
126 #define UxPutAllowShellResize(sw,val) \
127 UxPUT_string(sw,UxP_ManagerRD_allowShellResize,"allowShellResize",val)
128 #endif
129
130 extern Class_t UxC_manager;
131 #define UxCreateManager(name,parent) \
132 UxCreateSwidget(UxC_manager,name,parent)
133 #else
134 #define UxCreateManager(name,parent) \
135 UxCreateSwidget(name,xmManagerWidgetClass,parent)
136 #endif
137 #endif