| 1 |
/* @(#)UxFrame.h 17.1 (ESO-IPG) 01/25/02 17:25:59 */ |
| 2 |
#ifndef UXFrame_INCLUDED |
| 3 |
#define UXFrame_INCLUDED |
| 4 |
|
| 5 |
#include "Xm/Frame.h" |
| 6 |
|
| 7 |
#ifdef DESIGN_TIME |
| 8 |
#include "UxMgr.h" |
| 9 |
|
| 10 |
#ifndef UxGetChildVerticalAlignment |
| 11 |
extern binptr UxP_FrameRD_childVerticalAlignment; |
| 12 |
#define UxGetChildVerticalAlignment(sw) \ |
| 13 |
UxGET_string(sw,UxP_FrameRD_childVerticalAlignment,"childVerticalAlignment") |
| 14 |
#define UxPutChildVerticalAlignment(sw,val) \ |
| 15 |
UxPUT_string(sw,UxP_FrameRD_childVerticalAlignment,"childVerticalAlignment",val) |
| 16 |
#endif |
| 17 |
|
| 18 |
#ifndef UxGetChildHorizontalSpacing |
| 19 |
extern binptr UxP_FrameRD_childHorizontalSpacing; |
| 20 |
#define UxGetChildHorizontalSpacing(sw) \ |
| 21 |
UxGET_int(sw,UxP_FrameRD_childHorizontalSpacing,"childHorizontalSpacing") |
| 22 |
#define UxPutChildHorizontalSpacing(sw,val) \ |
| 23 |
UxPUT_int(sw,UxP_FrameRD_childHorizontalSpacing,"childHorizontalSpacing",val) |
| 24 |
#endif |
| 25 |
|
| 26 |
#ifndef UxGetChildHorizontalAlignment |
| 27 |
extern binptr UxP_FrameRD_childHorizontalAlignment; |
| 28 |
#define UxGetChildHorizontalAlignment(sw) \ |
| 29 |
UxGET_string(sw,UxP_FrameRD_childHorizontalAlignment,"childHorizontalAlignment") |
| 30 |
#define UxPutChildHorizontalAlignment(sw,val) \ |
| 31 |
UxPUT_string(sw,UxP_FrameRD_childHorizontalAlignment,"childHorizontalAlignment",val) |
| 32 |
#endif |
| 33 |
|
| 34 |
#ifndef UxGetChildType |
| 35 |
extern binptr UxP_FrameRD_childType; |
| 36 |
#define UxGetChildType(sw) \ |
| 37 |
UxGET_string(sw,UxP_FrameRD_childType,"childType") |
| 38 |
#define UxPutChildType(sw,val) \ |
| 39 |
UxPUT_string(sw,UxP_FrameRD_childType,"childType",val) |
| 40 |
#endif |
| 41 |
|
| 42 |
#ifndef UxGetShadowType |
| 43 |
extern binptr UxP_FrameRD_shadowType; |
| 44 |
#define UxGetShadowType(sw) \ |
| 45 |
UxGET_string(sw,UxP_FrameRD_shadowType,"shadowType") |
| 46 |
#define UxPutShadowType(sw,val) \ |
| 47 |
UxPUT_string(sw,UxP_FrameRD_shadowType,"shadowType",val) |
| 48 |
#endif |
| 49 |
|
| 50 |
#ifndef UxGetMarginWidth |
| 51 |
extern binptr UxP_FrameRD_marginWidth; |
| 52 |
#define UxGetMarginWidth(sw) \ |
| 53 |
UxGET_int(sw,UxP_FrameRD_marginWidth,"marginWidth") |
| 54 |
#define UxPutMarginWidth(sw,val) \ |
| 55 |
UxPUT_int(sw,UxP_FrameRD_marginWidth,"marginWidth",val) |
| 56 |
#endif |
| 57 |
|
| 58 |
#ifndef UxGetMarginHeight |
| 59 |
extern binptr UxP_FrameRD_marginHeight; |
| 60 |
#define UxGetMarginHeight(sw) \ |
| 61 |
UxGET_int(sw,UxP_FrameRD_marginHeight,"marginHeight") |
| 62 |
#define UxPutMarginHeight(sw,val) \ |
| 63 |
UxPUT_int(sw,UxP_FrameRD_marginHeight,"marginHeight",val) |
| 64 |
#endif |
| 65 |
|
| 66 |
extern Class_t UxC_frame; |
| 67 |
#define UxCreateFrame(name,parent) \ |
| 68 |
UxCreateSwidget(UxC_frame,name,parent) |
| 69 |
#else |
| 70 |
#define UxCreateFrame(name,parent) \ |
| 71 |
UxCreateSwidget(name,xmFrameWidgetClass,parent) |
| 72 |
#endif |
| 73 |
#endif |