~ubuntu-branches/debian/jessie/eso-midas/jessie

« back to all changes in this revision

Viewing changes to gui/GraphLib/libsrc/uimxR5/include/UxPushB.h

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-04-22 14:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20140422144458-okiwi1assxkkiz39
Tags: upstream-13.09pl1.2+dfsg
ImportĀ upstreamĀ versionĀ 13.09pl1.2+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* @(#)UxPushB.h        17.1 (ESO-IPG) 01/25/02 17:26:01 */
 
2
#ifndef UXPushButton_INCLUDED
 
3
#define UXPushButton_INCLUDED
 
4
 
 
5
#include "Xm/PushB.h"
 
6
 
 
7
#ifdef DESIGN_TIME
 
8
#include "UxLabel.h"
 
9
 
 
10
#ifndef UxGetShowAsDefault
 
11
extern binptr UxP_PushButtonRD_showAsDefault;
 
12
#define UxGetShowAsDefault(sw) \
 
13
        UxGET_int(sw,UxP_PushButtonRD_showAsDefault,"showAsDefault")
 
14
#define UxPutShowAsDefault(sw,val) \
 
15
        UxPUT_int(sw,UxP_PushButtonRD_showAsDefault,"showAsDefault",val)
 
16
#endif
 
17
 
 
18
#ifndef UxGetMultiClick
 
19
extern binptr UxP_PushButtonRD_multiClick;
 
20
#define UxGetMultiClick(sw) \
 
21
        UxGET_string(sw,UxP_PushButtonRD_multiClick,"multiClick")
 
22
#define UxPutMultiClick(sw,val) \
 
23
        UxPUT_string(sw,UxP_PushButtonRD_multiClick,"multiClick",val)
 
24
#endif
 
25
 
 
26
#ifndef UxGetFillOnArm
 
27
extern binptr UxP_PushButtonRD_fillOnArm;
 
28
#define UxGetFillOnArm(sw) \
 
29
        UxGET_string(sw,UxP_PushButtonRD_fillOnArm,"fillOnArm")
 
30
#define UxPutFillOnArm(sw,val) \
 
31
        UxPUT_string(sw,UxP_PushButtonRD_fillOnArm,"fillOnArm",val)
 
32
#endif
 
33
 
 
34
#ifndef UxGetDefaultButtonShadowThickness
 
35
extern binptr UxP_PushButtonRD_defaultButtonShadowThickness;
 
36
#define UxGetDefaultButtonShadowThickness(sw) \
 
37
        UxGET_int(sw,UxP_PushButtonRD_defaultButtonShadowThickness,"defaultButtonShadowThickness")
 
38
#define UxPutDefaultButtonShadowThickness(sw,val) \
 
39
        UxPUT_int(sw,UxP_PushButtonRD_defaultButtonShadowThickness,"defaultButtonShadowThickness",val)
 
40
#endif
 
41
 
 
42
#ifndef UxGetArmPixmap
 
43
extern binptr UxP_PushButtonRD_armPixmap;
 
44
#define UxGetArmPixmap(sw) \
 
45
        UxGET_string(sw,UxP_PushButtonRD_armPixmap,"armPixmap")
 
46
#define UxPutArmPixmap(sw,val) \
 
47
        UxPUT_string(sw,UxP_PushButtonRD_armPixmap,"armPixmap",val)
 
48
#endif
 
49
 
 
50
#ifndef UxGetArmColor
 
51
extern binptr UxP_PushButtonRD_armColor;
 
52
#define UxGetArmColor(sw) \
 
53
        UxGET_string(sw,UxP_PushButtonRD_armColor,"armColor")
 
54
#define UxPutArmColor(sw,val) \
 
55
        UxPUT_string(sw,UxP_PushButtonRD_armColor,"armColor",val)
 
56
#endif
 
57
 
 
58
extern Class_t UxC_pushButton;
 
59
#define UxCreatePushButton(name,parent) \
 
60
        UxCreateSwidget(UxC_pushButton,name,parent)
 
61
#else
 
62
#define UxCreatePushButton(name,parent) \
 
63
        UxCreateSwidget(name,xmPushButtonWidgetClass,parent)
 
64
#endif
 
65
#endif