| 1 |
/* @(#)UxWmSh.h 17.1 (ESO-IPG) 01/25/02 17:26:03 */ |
| 2 |
#ifndef UXWMShell_INCLUDED |
| 3 |
#define UXWMShell_INCLUDED |
| 4 |
|
| 5 |
#include "X11/Shell.h" |
| 6 |
|
| 7 |
#ifdef DESIGN_TIME |
| 8 |
#include "UxShell.h" |
| 9 |
|
| 10 |
#ifndef UxGetWmTimeout |
| 11 |
extern binptr UxP_WMShellRD_wmTimeout; |
| 12 |
#define UxGetWmTimeout(sw) \ |
| 13 |
UxGET_int(sw,UxP_WMShellRD_wmTimeout,"wmTimeout") |
| 14 |
#define UxPutWmTimeout(sw,val) \ |
| 15 |
UxPUT_int(sw,UxP_WMShellRD_wmTimeout,"wmTimeout",val) |
| 16 |
#endif |
| 17 |
|
| 18 |
#ifndef UxGetWinGravity |
| 19 |
extern binptr UxP_WMShellRD_winGravity; |
| 20 |
#define UxGetWinGravity(sw) \ |
| 21 |
UxGET_string(sw,UxP_WMShellRD_winGravity,"winGravity") |
| 22 |
#define UxPutWinGravity(sw,val) \ |
| 23 |
UxPUT_string(sw,UxP_WMShellRD_winGravity,"winGravity",val) |
| 24 |
#endif |
| 25 |
|
| 26 |
#ifndef UxGetWindowGroup |
| 27 |
extern binptr UxP_WMShellRD_windowGroup; |
| 28 |
#define UxGetWindowGroup(sw) \ |
| 29 |
UxGET_string(sw,UxP_WMShellRD_windowGroup,"windowGroup") |
| 30 |
#define UxPutWindowGroup(sw,val) \ |
| 31 |
UxPUT_string(sw,UxP_WMShellRD_windowGroup,"windowGroup",val) |
| 32 |
#endif |
| 33 |
|
| 34 |
#ifndef UxGetWidthInc |
| 35 |
extern binptr UxP_WMShellRD_widthInc; |
| 36 |
#define UxGetWidthInc(sw) \ |
| 37 |
UxGET_int(sw,UxP_WMShellRD_widthInc,"widthInc") |
| 38 |
#define UxPutWidthInc(sw,val) \ |
| 39 |
UxPUT_int(sw,UxP_WMShellRD_widthInc,"widthInc",val) |
| 40 |
#endif |
| 41 |
|
| 42 |
#ifndef UxGetWaitForWm |
| 43 |
extern binptr UxP_WMShellRD_waitForWm; |
| 44 |
#define UxGetWaitForWm(sw) \ |
| 45 |
UxGET_string(sw,UxP_WMShellRD_waitForWm,"waitForWm") |
| 46 |
#define UxPutWaitForWm(sw,val) \ |
| 47 |
UxPUT_string(sw,UxP_WMShellRD_waitForWm,"waitForWm",val) |
| 48 |
#endif |
| 49 |
|
| 50 |
#ifndef UxGetTransient |
| 51 |
extern binptr UxP_WMShellRD_transient; |
| 52 |
#define UxGetTransient(sw) \ |
| 53 |
UxGET_string(sw,UxP_WMShellRD_transient,"transient") |
| 54 |
#define UxPutTransient(sw,val) \ |
| 55 |
UxPUT_string(sw,UxP_WMShellRD_transient,"transient",val) |
| 56 |
#endif |
| 57 |
|
| 58 |
#ifndef UxGetTitleEncoding |
| 59 |
extern binptr UxP_WMShellRD_titleEncoding; |
| 60 |
#define UxGetTitleEncoding(sw) \ |
| 61 |
UxGET_string(sw,UxP_WMShellRD_titleEncoding,"titleEncoding") |
| 62 |
#define UxPutTitleEncoding(sw,val) \ |
| 63 |
UxPUT_string(sw,UxP_WMShellRD_titleEncoding,"titleEncoding",val) |
| 64 |
#endif |
| 65 |
|
| 66 |
#ifndef UxGetTitle |
| 67 |
extern binptr UxP_WMShellRD_title; |
| 68 |
#define UxGetTitle(sw) \ |
| 69 |
UxGET_string(sw,UxP_WMShellRD_title,"title") |
| 70 |
#define UxPutTitle(sw,val) \ |
| 71 |
UxPUT_string(sw,UxP_WMShellRD_title,"title",val) |
| 72 |
#endif |
| 73 |
|
| 74 |
#ifndef UxGetMinWidth |
| 75 |
extern binptr UxP_WMShellRD_minWidth; |
| 76 |
#define UxGetMinWidth(sw) \ |
| 77 |
UxGET_int(sw,UxP_WMShellRD_minWidth,"minWidth") |
| 78 |
#define UxPutMinWidth(sw,val) \ |
| 79 |
UxPUT_int(sw,UxP_WMShellRD_minWidth,"minWidth",val) |
| 80 |
#endif |
| 81 |
|
| 82 |
#ifndef UxGetMinHeight |
| 83 |
extern binptr UxP_WMShellRD_minHeight; |
| 84 |
#define UxGetMinHeight(sw) \ |
| 85 |
UxGET_int(sw,UxP_WMShellRD_minHeight,"minHeight") |
| 86 |
#define UxPutMinHeight(sw,val) \ |
| 87 |
UxPUT_int(sw,UxP_WMShellRD_minHeight,"minHeight",val) |
| 88 |
#endif |
| 89 |
|
| 90 |
#ifndef UxGetMinAspectY |
| 91 |
extern binptr UxP_WMShellRD_minAspectY; |
| 92 |
#define UxGetMinAspectY(sw) \ |
| 93 |
UxGET_int(sw,UxP_WMShellRD_minAspectY,"minAspectY") |
| 94 |
#define UxPutMinAspectY(sw,val) \ |
| 95 |
UxPUT_int(sw,UxP_WMShellRD_minAspectY,"minAspectY",val) |
| 96 |
#endif |
| 97 |
|
| 98 |
#ifndef UxGetMinAspectX |
| 99 |
extern binptr UxP_WMShellRD_minAspectX; |
| 100 |
#define UxGetMinAspectX(sw) \ |
| 101 |
UxGET_int(sw,UxP_WMShellRD_minAspectX,"minAspectX") |
| 102 |
#define UxPutMinAspectX(sw,val) \ |
| 103 |
UxPUT_int(sw,UxP_WMShellRD_minAspectX,"minAspectX",val) |
| 104 |
#endif |
| 105 |
|
| 106 |
#ifndef UxGetMaxWidth |
| 107 |
extern binptr UxP_WMShellRD_maxWidth; |
| 108 |
#define UxGetMaxWidth(sw) \ |
| 109 |
UxGET_int(sw,UxP_WMShellRD_maxWidth,"maxWidth") |
| 110 |
#define UxPutMaxWidth(sw,val) \ |
| 111 |
UxPUT_int(sw,UxP_WMShellRD_maxWidth,"maxWidth",val) |
| 112 |
#endif |
| 113 |
|
| 114 |
#ifndef UxGetMaxHeight |
| 115 |
extern binptr UxP_WMShellRD_maxHeight; |
| 116 |
#define UxGetMaxHeight(sw) \ |
| 117 |
UxGET_int(sw,UxP_WMShellRD_maxHeight,"maxHeight") |
| 118 |
#define UxPutMaxHeight(sw,val) \ |
| 119 |
UxPUT_int(sw,UxP_WMShellRD_maxHeight,"maxHeight",val) |
| 120 |
#endif |
| 121 |
|
| 122 |
#ifndef UxGetMaxAspectY |
| 123 |
extern binptr UxP_WMShellRD_maxAspectY; |
| 124 |
#define UxGetMaxAspectY(sw) \ |
| 125 |
UxGET_int(sw,UxP_WMShellRD_maxAspectY,"maxAspectY") |
| 126 |
#define UxPutMaxAspectY(sw,val) \ |
| 127 |
UxPUT_int(sw,UxP_WMShellRD_maxAspectY,"maxAspectY",val) |
| 128 |
#endif |
| 129 |
|
| 130 |
#ifndef UxGetMaxAspectX |
| 131 |
extern binptr UxP_WMShellRD_maxAspectX; |
| 132 |
#define UxGetMaxAspectX(sw) \ |
| 133 |
UxGET_int(sw,UxP_WMShellRD_maxAspectX,"maxAspectX") |
| 134 |
#define UxPutMaxAspectX(sw,val) \ |
| 135 |
UxPUT_int(sw,UxP_WMShellRD_maxAspectX,"maxAspectX",val) |
| 136 |
#endif |
| 137 |
|
| 138 |
#ifndef UxGetInput |
| 139 |
extern binptr UxP_WMShellRD_input; |
| 140 |
#define UxGetInput(sw) \ |
| 141 |
UxGET_string(sw,UxP_WMShellRD_input,"input") |
| 142 |
#define UxPutInput(sw,val) \ |
| 143 |
UxPUT_string(sw,UxP_WMShellRD_input,"input",val) |
| 144 |
#endif |
| 145 |
|
| 146 |
#ifndef UxGetInitialState |
| 147 |
extern binptr UxP_WMShellRD_initialState; |
| 148 |
#define UxGetInitialState(sw) \ |
| 149 |
UxGET_string(sw,UxP_WMShellRD_initialState,"initialState") |
| 150 |
#define UxPutInitialState(sw,val) \ |
| 151 |
UxPUT_string(sw,UxP_WMShellRD_initialState,"initialState",val) |
| 152 |
#endif |
| 153 |
|
| 154 |
#ifndef UxGetIconY |
| 155 |
extern binptr UxP_WMShellRD_iconY; |
| 156 |
#define UxGetIconY(sw) \ |
| 157 |
UxGET_int(sw,UxP_WMShellRD_iconY,"iconY") |
| 158 |
#define UxPutIconY(sw,val) \ |
| 159 |
UxPUT_int(sw,UxP_WMShellRD_iconY,"iconY",val) |
| 160 |
#endif |
| 161 |
|
| 162 |
#ifndef UxGetIconX |
| 163 |
extern binptr UxP_WMShellRD_iconX; |
| 164 |
#define UxGetIconX(sw) \ |
| 165 |
UxGET_int(sw,UxP_WMShellRD_iconX,"iconX") |
| 166 |
#define UxPutIconX(sw,val) \ |
| 167 |
UxPUT_int(sw,UxP_WMShellRD_iconX,"iconX",val) |
| 168 |
#endif |
| 169 |
|
| 170 |
#ifndef UxGetIconWindow |
| 171 |
extern binptr UxP_WMShellRD_iconWindow; |
| 172 |
#define UxGetIconWindow(sw) \ |
| 173 |
UxGET_string(sw,UxP_WMShellRD_iconWindow,"iconWindow") |
| 174 |
#define UxPutIconWindow(sw,val) \ |
| 175 |
UxPUT_string(sw,UxP_WMShellRD_iconWindow,"iconWindow",val) |
| 176 |
#endif |
| 177 |
|
| 178 |
#ifndef UxGetIconPixmap |
| 179 |
extern binptr UxP_WMShellRD_iconPixmap; |
| 180 |
#define UxGetIconPixmap(sw) \ |
| 181 |
UxGET_string(sw,UxP_WMShellRD_iconPixmap,"iconPixmap") |
| 182 |
#define UxPutIconPixmap(sw,val) \ |
| 183 |
UxPUT_string(sw,UxP_WMShellRD_iconPixmap,"iconPixmap",val) |
| 184 |
#endif |
| 185 |
|
| 186 |
#ifndef UxGetIconMask |
| 187 |
extern binptr UxP_WMShellRD_iconMask; |
| 188 |
#define UxGetIconMask(sw) \ |
| 189 |
UxGET_string(sw,UxP_WMShellRD_iconMask,"iconMask") |
| 190 |
#define UxPutIconMask(sw,val) \ |
| 191 |
UxPUT_string(sw,UxP_WMShellRD_iconMask,"iconMask",val) |
| 192 |
#endif |
| 193 |
|
| 194 |
#ifndef UxGetHeightInc |
| 195 |
extern binptr UxP_WMShellRD_heightInc; |
| 196 |
#define UxGetHeightInc(sw) \ |
| 197 |
UxGET_int(sw,UxP_WMShellRD_heightInc,"heightInc") |
| 198 |
#define UxPutHeightInc(sw,val) \ |
| 199 |
UxPUT_int(sw,UxP_WMShellRD_heightInc,"heightInc",val) |
| 200 |
#endif |
| 201 |
|
| 202 |
#ifndef UxGetBaseWidth |
| 203 |
extern binptr UxP_WMShellRD_baseWidth; |
| 204 |
#define UxGetBaseWidth(sw) \ |
| 205 |
UxGET_int(sw,UxP_WMShellRD_baseWidth,"baseWidth") |
| 206 |
#define UxPutBaseWidth(sw,val) \ |
| 207 |
UxPUT_int(sw,UxP_WMShellRD_baseWidth,"baseWidth",val) |
| 208 |
#endif |
| 209 |
|
| 210 |
#ifndef UxGetBaseHeight |
| 211 |
extern binptr UxP_WMShellRD_baseHeight; |
| 212 |
#define UxGetBaseHeight(sw) \ |
| 213 |
UxGET_int(sw,UxP_WMShellRD_baseHeight,"baseHeight") |
| 214 |
#define UxPutBaseHeight(sw,val) \ |
| 215 |
UxPUT_int(sw,UxP_WMShellRD_baseHeight,"baseHeight",val) |
| 216 |
#endif |
| 217 |
|
| 218 |
extern Class_t UxC_wMShell; |
| 219 |
#define UxCreateWMShell(name,parent) \ |
| 220 |
UxCreateSwidget(UxC_wMShell,name,parent) |
| 221 |
#else |
| 222 |
#define UxCreateWMShell(name,parent) \ |
| 223 |
UxCreateSwidget(name,wmShellWidgetClass,parent) |
| 224 |
#endif |
| 225 |
#endif |