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

« back to all changes in this revision

Viewing changes to gui/GraphLib/libsrc/uimxR5/include/UxMsgBox.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
/* @(#)UxMsgBox.h       17.1 (ESO-IPG) 01/25/02 17:26:01 */
 
2
#ifndef UXMessageBox_INCLUDED
 
3
#define UXMessageBox_INCLUDED
 
4
 
 
5
#include "Xm/MessageB.h"
 
6
 
 
7
#ifdef DESIGN_TIME
 
8
#include "UxBboard.h"
 
9
 
 
10
#ifndef UxGetSymbolPixmap
 
11
extern binptr UxP_MessageBoxRD_symbolPixmap;
 
12
#define UxGetSymbolPixmap(sw) \
 
13
        UxGET_string(sw,UxP_MessageBoxRD_symbolPixmap,"symbolPixmap")
 
14
#define UxPutSymbolPixmap(sw,val) \
 
15
        UxPUT_string(sw,UxP_MessageBoxRD_symbolPixmap,"symbolPixmap",val)
 
16
#endif
 
17
 
 
18
#ifndef UxGetOkLabelString
 
19
extern binptr UxP_MessageBoxRD_okLabelString;
 
20
#define UxGetOkLabelString(sw) \
 
21
        UxGET_string(sw,UxP_MessageBoxRD_okLabelString,"okLabelString")
 
22
#define UxPutOkLabelString(sw,val) \
 
23
        UxPUT_string(sw,UxP_MessageBoxRD_okLabelString,"okLabelString",val)
 
24
#endif
 
25
 
 
26
#ifndef UxGetMinimizeButtons
 
27
extern binptr UxP_MessageBoxRD_minimizeButtons;
 
28
#define UxGetMinimizeButtons(sw) \
 
29
        UxGET_string(sw,UxP_MessageBoxRD_minimizeButtons,"minimizeButtons")
 
30
#define UxPutMinimizeButtons(sw,val) \
 
31
        UxPUT_string(sw,UxP_MessageBoxRD_minimizeButtons,"minimizeButtons",val)
 
32
#endif
 
33
 
 
34
#ifndef UxGetMessageString
 
35
extern binptr UxP_MessageBoxRD_messageString;
 
36
#define UxGetMessageString(sw) \
 
37
        UxGET_string(sw,UxP_MessageBoxRD_messageString,"messageString")
 
38
#define UxPutMessageString(sw,val) \
 
39
        UxPUT_string(sw,UxP_MessageBoxRD_messageString,"messageString",val)
 
40
#endif
 
41
 
 
42
#ifndef UxGetMessageAlignment
 
43
extern binptr UxP_MessageBoxRD_messageAlignment;
 
44
#define UxGetMessageAlignment(sw) \
 
45
        UxGET_string(sw,UxP_MessageBoxRD_messageAlignment,"messageAlignment")
 
46
#define UxPutMessageAlignment(sw,val) \
 
47
        UxPUT_string(sw,UxP_MessageBoxRD_messageAlignment,"messageAlignment",val)
 
48
#endif
 
49
 
 
50
#ifndef UxGetHelpLabelString
 
51
extern binptr UxP_MessageBoxRD_helpLabelString;
 
52
#define UxGetHelpLabelString(sw) \
 
53
        UxGET_string(sw,UxP_MessageBoxRD_helpLabelString,"helpLabelString")
 
54
#define UxPutHelpLabelString(sw,val) \
 
55
        UxPUT_string(sw,UxP_MessageBoxRD_helpLabelString,"helpLabelString",val)
 
56
#endif
 
57
 
 
58
#ifndef UxGetMsgDialogType
 
59
extern binptr UxP_MessageBoxRD_msgDialogType;
 
60
#define UxGetMsgDialogType(sw) \
 
61
        UxGET_string(sw,UxP_MessageBoxRD_msgDialogType,"msgDialogType")
 
62
#define UxPutMsgDialogType(sw,val) \
 
63
        UxPUT_string(sw,UxP_MessageBoxRD_msgDialogType,"msgDialogType",val)
 
64
#endif
 
65
 
 
66
#ifndef UxGetDefaultButtonType
 
67
extern binptr UxP_MessageBoxRD_defaultButtonType;
 
68
#define UxGetDefaultButtonType(sw) \
 
69
        UxGET_string(sw,UxP_MessageBoxRD_defaultButtonType,"defaultButtonType")
 
70
#define UxPutDefaultButtonType(sw,val) \
 
71
        UxPUT_string(sw,UxP_MessageBoxRD_defaultButtonType,"defaultButtonType",val)
 
72
#endif
 
73
 
 
74
#ifndef UxGetCancelLabelString
 
75
extern binptr UxP_MessageBoxRD_cancelLabelString;
 
76
#define UxGetCancelLabelString(sw) \
 
77
        UxGET_string(sw,UxP_MessageBoxRD_cancelLabelString,"cancelLabelString")
 
78
#define UxPutCancelLabelString(sw,val) \
 
79
        UxPUT_string(sw,UxP_MessageBoxRD_cancelLabelString,"cancelLabelString",val)
 
80
#endif
 
81
 
 
82
extern Class_t UxC_messageBox;
 
83
#define UxCreateMessageBox(name,parent) \
 
84
        UxCreateSwidget(UxC_messageBox,name,parent)
 
85
#else
 
86
#define UxCreateMessageBox(name,parent) \
 
87
        UxCreateSwidget(name,xmMessageBoxWidgetClass,parent)
 
88
#endif
 
89
#endif