| 1 |
/* @(#)UxCore.h 17.1 (ESO-IPG) 01/25/02 17:25:59 */ |
| 2 |
#ifndef UXCore_INCLUDED |
| 3 |
#define UXCore_INCLUDED |
| 4 |
|
| 5 |
#include "Xm/Xm.h" |
| 6 |
|
| 7 |
#ifdef DESIGN_TIME |
| 8 |
#include "UxRectO.h" |
| 9 |
|
| 10 |
#ifndef UxGetTranslations |
| 11 |
extern binptr UxP_CoreRD_translations; |
| 12 |
#define UxGetTranslations(sw) \ |
| 13 |
UxGET_string(sw,UxP_CoreRD_translations,"translations") |
| 14 |
#define UxPutTranslations(sw,val) \ |
| 15 |
UxPUT_string(sw,UxP_CoreRD_translations,"translations",val) |
| 16 |
#endif |
| 17 |
|
| 18 |
#ifndef UxGetMappedWhenManaged |
| 19 |
extern binptr UxP_CoreRD_mappedWhenManaged; |
| 20 |
#define UxGetMappedWhenManaged(sw) \ |
| 21 |
UxGET_string(sw,UxP_CoreRD_mappedWhenManaged,"mappedWhenManaged") |
| 22 |
#define UxPutMappedWhenManaged(sw,val) \ |
| 23 |
UxPUT_string(sw,UxP_CoreRD_mappedWhenManaged,"mappedWhenManaged",val) |
| 24 |
#endif |
| 25 |
|
| 26 |
#ifndef UxGetColormap |
| 27 |
extern binptr UxP_CoreRD_colormap; |
| 28 |
#define UxGetColormap(sw) \ |
| 29 |
UxGET_long(sw,UxP_CoreRD_colormap,"colormap") |
| 30 |
#define UxPutColormap(sw,val) \ |
| 31 |
UxPUT_long(sw,UxP_CoreRD_colormap,"colormap",val) |
| 32 |
#endif |
| 33 |
|
| 34 |
#ifndef UxGetBorderPixmap |
| 35 |
extern binptr UxP_CoreRD_borderPixmap; |
| 36 |
#define UxGetBorderPixmap(sw) \ |
| 37 |
UxGET_string(sw,UxP_CoreRD_borderPixmap,"borderPixmap") |
| 38 |
#define UxPutBorderPixmap(sw,val) \ |
| 39 |
UxPUT_string(sw,UxP_CoreRD_borderPixmap,"borderPixmap",val) |
| 40 |
#endif |
| 41 |
|
| 42 |
#ifndef UxGetBorderColor |
| 43 |
extern binptr UxP_CoreRD_borderColor; |
| 44 |
#define UxGetBorderColor(sw) \ |
| 45 |
UxGET_string(sw,UxP_CoreRD_borderColor,"borderColor") |
| 46 |
#define UxPutBorderColor(sw,val) \ |
| 47 |
UxPUT_string(sw,UxP_CoreRD_borderColor,"borderColor",val) |
| 48 |
#endif |
| 49 |
|
| 50 |
#ifndef UxGetBackgroundPixmap |
| 51 |
extern binptr UxP_CoreRD_backgroundPixmap; |
| 52 |
#define UxGetBackgroundPixmap(sw) \ |
| 53 |
UxGET_string(sw,UxP_CoreRD_backgroundPixmap,"backgroundPixmap") |
| 54 |
#define UxPutBackgroundPixmap(sw,val) \ |
| 55 |
UxPUT_string(sw,UxP_CoreRD_backgroundPixmap,"backgroundPixmap",val) |
| 56 |
#endif |
| 57 |
|
| 58 |
#ifndef UxGetBackground |
| 59 |
extern binptr UxP_CoreRD_background; |
| 60 |
#define UxGetBackground(sw) \ |
| 61 |
UxGET_string(sw,UxP_CoreRD_background,"background") |
| 62 |
#define UxPutBackground(sw,val) \ |
| 63 |
UxPUT_string(sw,UxP_CoreRD_background,"background",val) |
| 64 |
#endif |
| 65 |
|
| 66 |
#ifndef UxGetAccelerators |
| 67 |
extern binptr UxP_CoreRD_accelerators; |
| 68 |
#define UxGetAccelerators(sw) \ |
| 69 |
UxGET_string(sw,UxP_CoreRD_accelerators,"accelerators") |
| 70 |
#define UxPutAccelerators(sw,val) \ |
| 71 |
UxPUT_string(sw,UxP_CoreRD_accelerators,"accelerators",val) |
| 72 |
#endif |
| 73 |
|
| 74 |
extern Class_t UxC_Core; |
| 75 |
#define UxCreateCore(name,parent) \ |
| 76 |
UxCreateSwidget(UxC_Core,name,parent) |
| 77 |
#else |
| 78 |
#define UxCreateCore(name,parent) \ |
| 79 |
UxCreateSwidget(name,widgetClass,parent) |
| 80 |
#endif |
| 81 |
#endif |