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