| 1 |
/* @(#)UxSep.h 17.1 (ESO-IPG) 01/25/02 17:26:02 */ |
| 2 |
#ifndef UXSeparator_INCLUDED |
| 3 |
#define UXSeparator_INCLUDED |
| 4 |
|
| 5 |
#include "Xm/Separator.h" |
| 6 |
|
| 7 |
#ifdef DESIGN_TIME |
| 8 |
#include "UxPrim.h" |
| 9 |
|
| 10 |
#ifndef UxGetSeparatorType |
| 11 |
extern binptr UxP_SeparatorRD_separatorType; |
| 12 |
#define UxGetSeparatorType(sw) \ |
| 13 |
UxGET_string(sw,UxP_SeparatorRD_separatorType,"separatorType") |
| 14 |
#define UxPutSeparatorType(sw,val) \ |
| 15 |
UxPUT_string(sw,UxP_SeparatorRD_separatorType,"separatorType",val) |
| 16 |
#endif |
| 17 |
|
| 18 |
#ifndef UxGetOrientation |
| 19 |
extern binptr UxP_SeparatorRD_orientation; |
| 20 |
#define UxGetOrientation(sw) \ |
| 21 |
UxGET_string(sw,UxP_SeparatorRD_orientation,"orientation") |
| 22 |
#define UxPutOrientation(sw,val) \ |
| 23 |
UxPUT_string(sw,UxP_SeparatorRD_orientation,"orientation",val) |
| 24 |
#endif |
| 25 |
|
| 26 |
#ifndef UxGetMargin |
| 27 |
extern binptr UxP_SeparatorRD_margin; |
| 28 |
#define UxGetMargin(sw) \ |
| 29 |
UxGET_int(sw,UxP_SeparatorRD_margin,"margin") |
| 30 |
#define UxPutMargin(sw,val) \ |
| 31 |
UxPUT_int(sw,UxP_SeparatorRD_margin,"margin",val) |
| 32 |
#endif |
| 33 |
|
| 34 |
extern Class_t UxC_separator; |
| 35 |
#define UxCreateSeparator(name,parent) \ |
| 36 |
UxCreateSwidget(UxC_separator,name,parent) |
| 37 |
#else |
| 38 |
#define UxCreateSeparator(name,parent) \ |
| 39 |
UxCreateSwidget(name,xmSeparatorWidgetClass,parent) |
| 40 |
#endif |
| 41 |
#endif |