| 1 |
/* @(#)UxRectO.h 17.1 (ESO-IPG) 01/25/02 17:26:01 */ |
| 2 |
#ifndef UXRectObject_INCLUDED |
| 3 |
#define UXRectObject_INCLUDED |
| 4 |
|
| 5 |
#include "Xm/Xm.h" |
| 6 |
|
| 7 |
#ifdef DESIGN_TIME |
| 8 |
#include "UxSwidget.h" |
| 9 |
|
| 10 |
#ifndef UxGetY |
| 11 |
extern binptr UxP_RectObjectRD_y; |
| 12 |
#define UxGetY(sw) \ |
| 13 |
UxGET_int(sw,UxP_RectObjectRD_y,"y") |
| 14 |
#define UxPutY(sw,val) \ |
| 15 |
UxPUT_int(sw,UxP_RectObjectRD_y,"y",val) |
| 16 |
#endif |
| 17 |
|
| 18 |
#ifndef UxGetX |
| 19 |
extern binptr UxP_RectObjectRD_x; |
| 20 |
#define UxGetX(sw) \ |
| 21 |
UxGET_int(sw,UxP_RectObjectRD_x,"x") |
| 22 |
#define UxPutX(sw,val) \ |
| 23 |
UxPUT_int(sw,UxP_RectObjectRD_x,"x",val) |
| 24 |
#endif |
| 25 |
|
| 26 |
#ifndef UxGetWidth |
| 27 |
extern binptr UxP_RectObjectRD_width; |
| 28 |
#define UxGetWidth(sw) \ |
| 29 |
UxGET_int(sw,UxP_RectObjectRD_width,"width") |
| 30 |
#define UxPutWidth(sw,val) \ |
| 31 |
UxPUT_int(sw,UxP_RectObjectRD_width,"width",val) |
| 32 |
#endif |
| 33 |
|
| 34 |
#ifndef UxGetSensitive |
| 35 |
extern binptr UxP_RectObjectRD_sensitive; |
| 36 |
#define UxGetSensitive(sw) \ |
| 37 |
UxGET_string(sw,UxP_RectObjectRD_sensitive,"sensitive") |
| 38 |
#define UxPutSensitive(sw,val) \ |
| 39 |
UxPUT_string(sw,UxP_RectObjectRD_sensitive,"sensitive",val) |
| 40 |
#endif |
| 41 |
|
| 42 |
#ifndef UxGetHeight |
| 43 |
extern binptr UxP_RectObjectRD_height; |
| 44 |
#define UxGetHeight(sw) \ |
| 45 |
UxGET_int(sw,UxP_RectObjectRD_height,"height") |
| 46 |
#define UxPutHeight(sw,val) \ |
| 47 |
UxPUT_int(sw,UxP_RectObjectRD_height,"height",val) |
| 48 |
#endif |
| 49 |
|
| 50 |
#ifndef UxGetBorderWidth |
| 51 |
extern binptr UxP_RectObjectRD_borderWidth; |
| 52 |
#define UxGetBorderWidth(sw) \ |
| 53 |
UxGET_int(sw,UxP_RectObjectRD_borderWidth,"borderWidth") |
| 54 |
#define UxPutBorderWidth(sw,val) \ |
| 55 |
UxPUT_int(sw,UxP_RectObjectRD_borderWidth,"borderWidth",val) |
| 56 |
#endif |
| 57 |
|
| 58 |
#ifndef UxGetAncestorSensitive |
| 59 |
extern binptr UxP_RectObjectRD_ancestorSensitive; |
| 60 |
#define UxGetAncestorSensitive(sw) \ |
| 61 |
UxGET_string(sw,UxP_RectObjectRD_ancestorSensitive,"ancestorSensitive") |
| 62 |
#define UxPutAncestorSensitive(sw,val) \ |
| 63 |
UxPUT_string(sw,UxP_RectObjectRD_ancestorSensitive,"ancestorSensitive",val) |
| 64 |
#endif |
| 65 |
|
| 66 |
extern Class_t UxC_RectObject; |
| 67 |
#define UxCreateRectObject(name,parent) \ |
| 68 |
UxCreateSwidget(UxC_RectObject,name,parent) |
| 69 |
#else |
| 70 |
#define UxCreateRectObject(name,parent) \ |
| 71 |
UxCreateSwidget(name,rectObjClass,parent) |
| 72 |
#endif |
| 73 |
#endif |