| 1 |
/* @(#)UxCascB.h 17.1 (ESO-IPG) 01/25/02 17:25:58 */ |
| 2 |
#ifndef UXCascadeButton_INCLUDED |
| 3 |
#define UXCascadeButton_INCLUDED |
| 4 |
|
| 5 |
#include "Xm/CascadeB.h" |
| 6 |
|
| 7 |
#ifdef DESIGN_TIME |
| 8 |
#include "UxLabel.h" |
| 9 |
|
| 10 |
#ifndef UxGetSubMenuId |
| 11 |
extern binptr UxP_CascadeButtonRD_subMenuId; |
| 12 |
#define UxGetSubMenuId(sw) \ |
| 13 |
UxGET_string(sw,UxP_CascadeButtonRD_subMenuId,"subMenuId") |
| 14 |
#define UxPutSubMenuId(sw,val) \ |
| 15 |
UxPUT_string(sw,UxP_CascadeButtonRD_subMenuId,"subMenuId",val) |
| 16 |
#endif |
| 17 |
|
| 18 |
#ifndef UxGetMappingDelay |
| 19 |
extern binptr UxP_CascadeButtonRD_mappingDelay; |
| 20 |
#define UxGetMappingDelay(sw) \ |
| 21 |
UxGET_int(sw,UxP_CascadeButtonRD_mappingDelay,"mappingDelay") |
| 22 |
#define UxPutMappingDelay(sw,val) \ |
| 23 |
UxPUT_int(sw,UxP_CascadeButtonRD_mappingDelay,"mappingDelay",val) |
| 24 |
#endif |
| 25 |
|
| 26 |
#ifndef UxGetCascadePixmap |
| 27 |
extern binptr UxP_CascadeButtonRD_cascadePixmap; |
| 28 |
#define UxGetCascadePixmap(sw) \ |
| 29 |
UxGET_string(sw,UxP_CascadeButtonRD_cascadePixmap,"cascadePixmap") |
| 30 |
#define UxPutCascadePixmap(sw,val) \ |
| 31 |
UxPUT_string(sw,UxP_CascadeButtonRD_cascadePixmap,"cascadePixmap",val) |
| 32 |
#endif |
| 33 |
|
| 34 |
extern Class_t UxC_cascadeButton; |
| 35 |
#define UxCreateCascadeButton(name,parent) \ |
| 36 |
UxCreateSwidget(UxC_cascadeButton,name,parent) |
| 37 |
#else |
| 38 |
#define UxCreateCascadeButton(name,parent) \ |
| 39 |
UxCreateSwidget(name,xmCascadeButtonWidgetClass,parent) |
| 40 |
#endif |
| 41 |
#endif |