| 1 |
/* @(#)UxLabelG.h 17.1 (ESO-IPG) 01/25/02 17:26:00 */ |
| 2 |
#ifndef UXLabelGadget_INCLUDED |
| 3 |
#define UXLabelGadget_INCLUDED |
| 4 |
|
| 5 |
#include "Xm/LabelG.h" |
| 6 |
|
| 7 |
#ifdef DESIGN_TIME |
| 8 |
#include "UxGadget.h" |
| 9 |
|
| 10 |
#ifndef UxGetStringDirection |
| 11 |
extern binptr UxP_LabelGadgetRD_stringDirection; |
| 12 |
#define UxGetStringDirection(sw) \ |
| 13 |
UxGET_string(sw,UxP_LabelGadgetRD_stringDirection,"stringDirection") |
| 14 |
#define UxPutStringDirection(sw,val) \ |
| 15 |
UxPUT_string(sw,UxP_LabelGadgetRD_stringDirection,"stringDirection",val) |
| 16 |
#endif |
| 17 |
|
| 18 |
#ifndef UxGetRecomputeSize |
| 19 |
extern binptr UxP_LabelGadgetRD_recomputeSize; |
| 20 |
#define UxGetRecomputeSize(sw) \ |
| 21 |
UxGET_string(sw,UxP_LabelGadgetRD_recomputeSize,"recomputeSize") |
| 22 |
#define UxPutRecomputeSize(sw,val) \ |
| 23 |
UxPUT_string(sw,UxP_LabelGadgetRD_recomputeSize,"recomputeSize",val) |
| 24 |
#endif |
| 25 |
|
| 26 |
#ifndef UxGetMnemonicCharSet |
| 27 |
extern binptr UxP_LabelGadgetRD_mnemonicCharSet; |
| 28 |
#define UxGetMnemonicCharSet(sw) \ |
| 29 |
UxGET_string(sw,UxP_LabelGadgetRD_mnemonicCharSet,"mnemonicCharSet") |
| 30 |
#define UxPutMnemonicCharSet(sw,val) \ |
| 31 |
UxPUT_string(sw,UxP_LabelGadgetRD_mnemonicCharSet,"mnemonicCharSet",val) |
| 32 |
#endif |
| 33 |
|
| 34 |
#ifndef UxGetMnemonic |
| 35 |
extern binptr UxP_LabelGadgetRD_mnemonic; |
| 36 |
#define UxGetMnemonic(sw) \ |
| 37 |
UxGET_string(sw,UxP_LabelGadgetRD_mnemonic,"mnemonic") |
| 38 |
#define UxPutMnemonic(sw,val) \ |
| 39 |
UxPUT_string(sw,UxP_LabelGadgetRD_mnemonic,"mnemonic",val) |
| 40 |
#endif |
| 41 |
|
| 42 |
#ifndef UxGetMarginWidth |
| 43 |
extern binptr UxP_LabelGadgetRD_marginWidth; |
| 44 |
#define UxGetMarginWidth(sw) \ |
| 45 |
UxGET_int(sw,UxP_LabelGadgetRD_marginWidth,"marginWidth") |
| 46 |
#define UxPutMarginWidth(sw,val) \ |
| 47 |
UxPUT_int(sw,UxP_LabelGadgetRD_marginWidth,"marginWidth",val) |
| 48 |
#endif |
| 49 |
|
| 50 |
#ifndef UxGetMarginTop |
| 51 |
extern binptr UxP_LabelGadgetRD_marginTop; |
| 52 |
#define UxGetMarginTop(sw) \ |
| 53 |
UxGET_int(sw,UxP_LabelGadgetRD_marginTop,"marginTop") |
| 54 |
#define UxPutMarginTop(sw,val) \ |
| 55 |
UxPUT_int(sw,UxP_LabelGadgetRD_marginTop,"marginTop",val) |
| 56 |
#endif |
| 57 |
|
| 58 |
#ifndef UxGetMarginRight |
| 59 |
extern binptr UxP_LabelGadgetRD_marginRight; |
| 60 |
#define UxGetMarginRight(sw) \ |
| 61 |
UxGET_int(sw,UxP_LabelGadgetRD_marginRight,"marginRight") |
| 62 |
#define UxPutMarginRight(sw,val) \ |
| 63 |
UxPUT_int(sw,UxP_LabelGadgetRD_marginRight,"marginRight",val) |
| 64 |
#endif |
| 65 |
|
| 66 |
#ifndef UxGetMarginLeft |
| 67 |
extern binptr UxP_LabelGadgetRD_marginLeft; |
| 68 |
#define UxGetMarginLeft(sw) \ |
| 69 |
UxGET_int(sw,UxP_LabelGadgetRD_marginLeft,"marginLeft") |
| 70 |
#define UxPutMarginLeft(sw,val) \ |
| 71 |
UxPUT_int(sw,UxP_LabelGadgetRD_marginLeft,"marginLeft",val) |
| 72 |
#endif |
| 73 |
|
| 74 |
#ifndef UxGetMarginHeight |
| 75 |
extern binptr UxP_LabelGadgetRD_marginHeight; |
| 76 |
#define UxGetMarginHeight(sw) \ |
| 77 |
UxGET_int(sw,UxP_LabelGadgetRD_marginHeight,"marginHeight") |
| 78 |
#define UxPutMarginHeight(sw,val) \ |
| 79 |
UxPUT_int(sw,UxP_LabelGadgetRD_marginHeight,"marginHeight",val) |
| 80 |
#endif |
| 81 |
|
| 82 |
#ifndef UxGetMarginBottom |
| 83 |
extern binptr UxP_LabelGadgetRD_marginBottom; |
| 84 |
#define UxGetMarginBottom(sw) \ |
| 85 |
UxGET_int(sw,UxP_LabelGadgetRD_marginBottom,"marginBottom") |
| 86 |
#define UxPutMarginBottom(sw,val) \ |
| 87 |
UxPUT_int(sw,UxP_LabelGadgetRD_marginBottom,"marginBottom",val) |
| 88 |
#endif |
| 89 |
|
| 90 |
#ifndef UxGetLabelType |
| 91 |
extern binptr UxP_LabelGadgetRD_labelType; |
| 92 |
#define UxGetLabelType(sw) \ |
| 93 |
UxGET_string(sw,UxP_LabelGadgetRD_labelType,"labelType") |
| 94 |
#define UxPutLabelType(sw,val) \ |
| 95 |
UxPUT_string(sw,UxP_LabelGadgetRD_labelType,"labelType",val) |
| 96 |
#endif |
| 97 |
|
| 98 |
#ifndef UxGetLabelString |
| 99 |
extern binptr UxP_LabelGadgetRD_labelString; |
| 100 |
#define UxGetLabelString(sw) \ |
| 101 |
UxGET_string(sw,UxP_LabelGadgetRD_labelString,"labelString") |
| 102 |
#define UxPutLabelString(sw,val) \ |
| 103 |
UxPUT_string(sw,UxP_LabelGadgetRD_labelString,"labelString",val) |
| 104 |
#endif |
| 105 |
|
| 106 |
#ifndef UxGetLabelPixmap |
| 107 |
extern binptr UxP_LabelGadgetRD_labelPixmap; |
| 108 |
#define UxGetLabelPixmap(sw) \ |
| 109 |
UxGET_string(sw,UxP_LabelGadgetRD_labelPixmap,"labelPixmap") |
| 110 |
#define UxPutLabelPixmap(sw,val) \ |
| 111 |
UxPUT_string(sw,UxP_LabelGadgetRD_labelPixmap,"labelPixmap",val) |
| 112 |
#endif |
| 113 |
|
| 114 |
#ifndef UxGetLabelInsensitivePixmap |
| 115 |
extern binptr UxP_LabelGadgetRD_labelInsensitivePixmap; |
| 116 |
#define UxGetLabelInsensitivePixmap(sw) \ |
| 117 |
UxGET_string(sw,UxP_LabelGadgetRD_labelInsensitivePixmap,"labelInsensitivePixmap") |
| 118 |
#define UxPutLabelInsensitivePixmap(sw,val) \ |
| 119 |
UxPUT_string(sw,UxP_LabelGadgetRD_labelInsensitivePixmap,"labelInsensitivePixmap",val) |
| 120 |
#endif |
| 121 |
|
| 122 |
#ifndef UxGetFontList |
| 123 |
extern binptr UxP_LabelGadgetRD_fontList; |
| 124 |
#define UxGetFontList(sw) \ |
| 125 |
UxGET_string(sw,UxP_LabelGadgetRD_fontList,"fontList") |
| 126 |
#define UxPutFontList(sw,val) \ |
| 127 |
UxPUT_string(sw,UxP_LabelGadgetRD_fontList,"fontList",val) |
| 128 |
#endif |
| 129 |
|
| 130 |
#ifndef UxGetAlignment |
| 131 |
extern binptr UxP_LabelGadgetRD_alignment; |
| 132 |
#define UxGetAlignment(sw) \ |
| 133 |
UxGET_string(sw,UxP_LabelGadgetRD_alignment,"alignment") |
| 134 |
#define UxPutAlignment(sw,val) \ |
| 135 |
UxPUT_string(sw,UxP_LabelGadgetRD_alignment,"alignment",val) |
| 136 |
#endif |
| 137 |
|
| 138 |
#ifndef UxGetAcceleratorText |
| 139 |
extern binptr UxP_LabelGadgetRD_acceleratorText; |
| 140 |
#define UxGetAcceleratorText(sw) \ |
| 141 |
UxGET_string(sw,UxP_LabelGadgetRD_acceleratorText,"acceleratorText") |
| 142 |
#define UxPutAcceleratorText(sw,val) \ |
| 143 |
UxPUT_string(sw,UxP_LabelGadgetRD_acceleratorText,"acceleratorText",val) |
| 144 |
#endif |
| 145 |
|
| 146 |
#ifndef UxGetAccelerator |
| 147 |
extern binptr UxP_LabelGadgetRD_accelerator; |
| 148 |
#define UxGetAccelerator(sw) \ |
| 149 |
UxGET_string(sw,UxP_LabelGadgetRD_accelerator,"accelerator") |
| 150 |
#define UxPutAccelerator(sw,val) \ |
| 151 |
UxPUT_string(sw,UxP_LabelGadgetRD_accelerator,"accelerator",val) |
| 152 |
#endif |
| 153 |
|
| 154 |
extern Class_t UxC_labelGadget; |
| 155 |
#define UxCreateLabelGadget(name,parent) \ |
| 156 |
UxCreateSwidget(UxC_labelGadget,name,parent) |
| 157 |
#else |
| 158 |
#define UxCreateLabelGadget(name,parent) \ |
| 159 |
UxCreateSwidget(name,xmLabelGadgetClass,parent) |
| 160 |
#endif |
| 161 |
#endif |