| 1 |
/* @(#)UxSelBox.h 17.1 (ESO-IPG) 01/25/02 17:26:02 */ |
| 2 |
#ifndef UXSelectionBox_INCLUDED |
| 3 |
#define UXSelectionBox_INCLUDED |
| 4 |
|
| 5 |
#include "Xm/SelectioB.h" |
| 6 |
|
| 7 |
#ifdef DESIGN_TIME |
| 8 |
#include "UxBboard.h" |
| 9 |
|
| 10 |
#ifndef UxGetTextString |
| 11 |
extern binptr UxP_SelectionBoxRD_textString; |
| 12 |
#define UxGetTextString(sw) \ |
| 13 |
UxGET_string(sw,UxP_SelectionBoxRD_textString,"textString") |
| 14 |
#define UxPutTextString(sw,val) \ |
| 15 |
UxPUT_string(sw,UxP_SelectionBoxRD_textString,"textString",val) |
| 16 |
#endif |
| 17 |
|
| 18 |
#ifndef UxGetTextColumns |
| 19 |
extern binptr UxP_SelectionBoxRD_textColumns; |
| 20 |
#define UxGetTextColumns(sw) \ |
| 21 |
UxGET_short(sw,UxP_SelectionBoxRD_textColumns,"textColumns") |
| 22 |
#define UxPutTextColumns(sw,val) \ |
| 23 |
UxPUT_short(sw,UxP_SelectionBoxRD_textColumns,"textColumns",val) |
| 24 |
#endif |
| 25 |
|
| 26 |
#ifndef UxPutTextAccelerators |
| 27 |
extern binptr UxP_SelectionBoxRD_textAccelerators; |
| 28 |
#define UxPutTextAccelerators(sw,val) \ |
| 29 |
UxPUT_string(sw,UxP_SelectionBoxRD_textAccelerators,"textAccelerators",val) |
| 30 |
#endif |
| 31 |
|
| 32 |
#ifndef UxGetSelectionLabelString |
| 33 |
extern binptr UxP_SelectionBoxRD_selectionLabelString; |
| 34 |
#define UxGetSelectionLabelString(sw) \ |
| 35 |
UxGET_string(sw,UxP_SelectionBoxRD_selectionLabelString,"selectionLabelString") |
| 36 |
#define UxPutSelectionLabelString(sw,val) \ |
| 37 |
UxPUT_string(sw,UxP_SelectionBoxRD_selectionLabelString,"selectionLabelString",val) |
| 38 |
#endif |
| 39 |
|
| 40 |
#ifndef UxGetOkLabelString |
| 41 |
extern binptr UxP_SelectionBoxRD_okLabelString; |
| 42 |
#define UxGetOkLabelString(sw) \ |
| 43 |
UxGET_string(sw,UxP_SelectionBoxRD_okLabelString,"okLabelString") |
| 44 |
#define UxPutOkLabelString(sw,val) \ |
| 45 |
UxPUT_string(sw,UxP_SelectionBoxRD_okLabelString,"okLabelString",val) |
| 46 |
#endif |
| 47 |
|
| 48 |
#ifndef UxGetMustMatch |
| 49 |
extern binptr UxP_SelectionBoxRD_mustMatch; |
| 50 |
#define UxGetMustMatch(sw) \ |
| 51 |
UxGET_string(sw,UxP_SelectionBoxRD_mustMatch,"mustMatch") |
| 52 |
#define UxPutMustMatch(sw,val) \ |
| 53 |
UxPUT_string(sw,UxP_SelectionBoxRD_mustMatch,"mustMatch",val) |
| 54 |
#endif |
| 55 |
|
| 56 |
#ifndef UxGetMinimizeButtons |
| 57 |
extern binptr UxP_SelectionBoxRD_minimizeButtons; |
| 58 |
#define UxGetMinimizeButtons(sw) \ |
| 59 |
UxGET_string(sw,UxP_SelectionBoxRD_minimizeButtons,"minimizeButtons") |
| 60 |
#define UxPutMinimizeButtons(sw,val) \ |
| 61 |
UxPUT_string(sw,UxP_SelectionBoxRD_minimizeButtons,"minimizeButtons",val) |
| 62 |
#endif |
| 63 |
|
| 64 |
#ifndef UxGetListVisibleItemCount |
| 65 |
extern binptr UxP_SelectionBoxRD_listVisibleItemCount; |
| 66 |
#define UxGetListVisibleItemCount(sw) \ |
| 67 |
UxGET_int(sw,UxP_SelectionBoxRD_listVisibleItemCount,"listVisibleItemCount") |
| 68 |
#define UxPutListVisibleItemCount(sw,val) \ |
| 69 |
UxPUT_int(sw,UxP_SelectionBoxRD_listVisibleItemCount,"listVisibleItemCount",val) |
| 70 |
#endif |
| 71 |
|
| 72 |
#ifndef UxGetListLabelString |
| 73 |
extern binptr UxP_SelectionBoxRD_listLabelString; |
| 74 |
#define UxGetListLabelString(sw) \ |
| 75 |
UxGET_string(sw,UxP_SelectionBoxRD_listLabelString,"listLabelString") |
| 76 |
#define UxPutListLabelString(sw,val) \ |
| 77 |
UxPUT_string(sw,UxP_SelectionBoxRD_listLabelString,"listLabelString",val) |
| 78 |
#endif |
| 79 |
|
| 80 |
#ifndef UxGetListItemCount |
| 81 |
extern binptr UxP_SelectionBoxRD_listItemCount; |
| 82 |
#define UxGetListItemCount(sw) \ |
| 83 |
UxGET_int(sw,UxP_SelectionBoxRD_listItemCount,"listItemCount") |
| 84 |
#define UxPutListItemCount(sw,val) \ |
| 85 |
UxPUT_int(sw,UxP_SelectionBoxRD_listItemCount,"listItemCount",val) |
| 86 |
#endif |
| 87 |
|
| 88 |
#ifndef UxGetListItems |
| 89 |
extern binptr UxP_SelectionBoxRD_listItems; |
| 90 |
#define UxGetListItems(sw) \ |
| 91 |
UxGET_string(sw,UxP_SelectionBoxRD_listItems,"listItems") |
| 92 |
#define UxPutListItems(sw,val) \ |
| 93 |
UxPUT_string(sw,UxP_SelectionBoxRD_listItems,"listItems",val) |
| 94 |
#endif |
| 95 |
|
| 96 |
#ifndef UxGetHelpLabelString |
| 97 |
extern binptr UxP_SelectionBoxRD_helpLabelString; |
| 98 |
#define UxGetHelpLabelString(sw) \ |
| 99 |
UxGET_string(sw,UxP_SelectionBoxRD_helpLabelString,"helpLabelString") |
| 100 |
#define UxPutHelpLabelString(sw,val) \ |
| 101 |
UxPUT_string(sw,UxP_SelectionBoxRD_helpLabelString,"helpLabelString",val) |
| 102 |
#endif |
| 103 |
|
| 104 |
#ifndef UxGetDialogType |
| 105 |
extern binptr UxP_SelectionBoxRD_dialogType; |
| 106 |
#define UxGetDialogType(sw) \ |
| 107 |
UxGET_string(sw,UxP_SelectionBoxRD_dialogType,"dialogType") |
| 108 |
#define UxPutDialogType(sw,val) \ |
| 109 |
UxPUT_string(sw,UxP_SelectionBoxRD_dialogType,"dialogType",val) |
| 110 |
#endif |
| 111 |
|
| 112 |
#ifndef UxGetChildPlacement |
| 113 |
extern binptr UxP_SelectionBoxRD_childPlacement; |
| 114 |
#define UxGetChildPlacement(sw) \ |
| 115 |
UxGET_string(sw,UxP_SelectionBoxRD_childPlacement,"childPlacement") |
| 116 |
#define UxPutChildPlacement(sw,val) \ |
| 117 |
UxPUT_string(sw,UxP_SelectionBoxRD_childPlacement,"childPlacement",val) |
| 118 |
#endif |
| 119 |
|
| 120 |
#ifndef UxGetCancelLabelString |
| 121 |
extern binptr UxP_SelectionBoxRD_cancelLabelString; |
| 122 |
#define UxGetCancelLabelString(sw) \ |
| 123 |
UxGET_string(sw,UxP_SelectionBoxRD_cancelLabelString,"cancelLabelString") |
| 124 |
#define UxPutCancelLabelString(sw,val) \ |
| 125 |
UxPUT_string(sw,UxP_SelectionBoxRD_cancelLabelString,"cancelLabelString",val) |
| 126 |
#endif |
| 127 |
|
| 128 |
#ifndef UxGetApplyLabelString |
| 129 |
extern binptr UxP_SelectionBoxRD_applyLabelString; |
| 130 |
#define UxGetApplyLabelString(sw) \ |
| 131 |
UxGET_string(sw,UxP_SelectionBoxRD_applyLabelString,"applyLabelString") |
| 132 |
#define UxPutApplyLabelString(sw,val) \ |
| 133 |
UxPUT_string(sw,UxP_SelectionBoxRD_applyLabelString,"applyLabelString",val) |
| 134 |
#endif |
| 135 |
|
| 136 |
extern Class_t UxC_selectionBox; |
| 137 |
#define UxCreateSelectionBox(name,parent) \ |
| 138 |
UxCreateSwidget(UxC_selectionBox,name,parent) |
| 139 |
#else |
| 140 |
#define UxCreateSelectionBox(name,parent) \ |
| 141 |
UxCreateSwidget(name,xmSelectionBoxWidgetClass,parent) |
| 142 |
#endif |
| 143 |
#endif |