Subversion Repositories tendra.SVN

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
/*
2
    COPYRIGHT NOTICE
3
 
4
    This program is the proprietary property of the Secretary of State
5
    for Defence (United Kingdom) acting through the Defence Research
6
    Agency (DRA).  Use, reproduction, production of amended versions
7
    and/or transfer of this program is permitted PROVIDED THAT:
8
 
9
    (a)	 This legend be preserved on any such reproduction and amended
10
	 version.
11
 
12
    (b)	 Any amended version of this program be clearly marked to show
13
	 the nature of the amendment and the name of the amending
14
	 organisation.
15
 
16
    (c)	 Any recipient of such reproduction or amended version accept
17
	 the conditions set out in this legend.
18
 
19
    The DRA accepts no liability whatsoever in relation to any use to
20
    which this program may be put and gives no warranty as to the
21
    program's suitability for any purpose.
22
 
23
    All rights reserved.
24
 
25
    Crown Copyright (c) 1994.
26
*/
27
 
28
/*
29
    COPYRIGHT NOTICE
30
 
31
    This program contains amendments to Motif 1.1 API headers in
32
    order to represent the Motif 1.2 API. These amendments are the
33
    property of IXI Ltd, a subsidiary of the Santa Cruz Operation (SCO).
34
    Use, reproduction, production of amended versions and/or transfer of
35
    this program is permitted PROVIDED THAT:
36
 
37
    (a)  This legend be preserved on any such reproduction and amended
38
         version.
39
 
40
    (b)  Any recipient of such reproduction or amended version accept
41
         the conditions set out in this legend.
42
 
43
    IXI accepts no liability whatsoever in relation to any use to
44
    which this program may be put and gives no warranty as to the
45
    program's suitability for any purpose.
46
 
47
    All rights reserved.
48
 
49
    Copyright (c) 1995, 1996
50
*/
51
 
52
 
53
/* SCO CID (IXI) MwmUtil.h,v 1.1 1996/08/08 14:13:08 wendland Exp */
54
 
55
/* for String and Window definitions */
56
+USE "x5/t", "X11/Intrinsic.h";
57
 
58
+FIELD (struct) MotifWmHints := {
59
 
60
    int	flags;
61
    int	functions;
62
    int	decorations;
63
    int	input_mode;
64
};
65
 
66
+TYPEDEF MotifWmHints MwmHints;
67
 
68
+CONST int MWM_HINTS_FUNCTIONS;
69
+CONST int MWM_HINTS_DECORATIONS;
70
+CONST int MWM_HINTS_INPUT_MODE;
71
+CONST int MWM_HINTS_STATUS;
72
 
73
+CONST int MWM_FUNC_ALL;
74
+CONST int MWM_FUNC_RESIZE;
75
+CONST int MWM_FUNC_MOVE;
76
+CONST int MWM_FUNC_MINIMIZE;
77
+CONST int MWM_FUNC_MAXIMIZE;
78
+CONST int MWM_FUNC_CLOSE;
79
 
80
+CONST int MWM_DECOR_ALL;
81
+CONST int MWM_DECOR_BORDER;
82
+CONST int MWM_DECOR_RESIZEH;
83
+CONST int MWM_DECOR_TITLE;
84
+CONST int MWM_DECOR_MENU;
85
+CONST int MWM_DECOR_MINIMIZE;
86
+CONST int MWM_DECOR_MAXIMIZE;
87
 
88
+CONST int MWM_INPUT_MODELESS;
89
+CONST int MWM_INPUT_PRIMARY_APPLICATION_MODAL;
90
+CONST int MWM_INPUT_SYSTEM_MODAL;
91
+CONST int MWM_INPUT_FULL_APPLICATION_MODAL;
92
/* OBSOLETE */
93
+CONST int MWM_INPUT_APPLICATION_MODAL;
94
 
95
 
96
+FIELD (struct) MotifWmInfo := { 
97
 
98
    long	flags;
99
    Window	wm_window;
100
};
101
 
102
+TYPEDEF MotifWmInfo MwmInfo;
103
 
104
+CONST int MWM_INFO_STARTUP_STANDARD;
105
+CONST int MWM_INFO_STARTUP_CUSTOM;
106
 
107
 
108
+FIELD (struct) PropMotifWmHints := {
109
 
110
    	unsigned long	flags;
111
    	unsigned long	functions;
112
    	unsigned long	decorations;
113
    	long		inputMode;
114
	unsigned long	status;
115
};
116
 
117
+TYPEDEF PropMotifWmHints PropMotifMwmHints;
118
+TYPEDEF PropMotifWmHints PropMwmHints;
119
 
120
 
121
+CONST int PROP_MOTIF_WM_HINTS_ELEMENTS;
122
+CONST int PROP_MWM_HINTS_ELEMENTS;
123
 
124
+CONST String _XA_MOTIF_WM_HINTS;
125
+CONST String _XA_MWM_HINTS;
126
+CONST String _XA_MOTIF_WM_MESSAGES;
127
+CONST String _XA_MWM_MESSAGES;
128
+CONST String _XA_MOTIF_WM_OFFSET;
129
+CONST String  _XA_MOTIF_WM_MENU;
130
+CONST String  _XA_MWM_MENU;
131
 
132
 
133
+FIELD (struct) PropMotifWmInfo  :={ 
134
 
135
    long 	flags;
136
    Window 	wmWindow;
137
};
138
 
139
+TYPEDEF PropMotifWmInfo PropMwmInfo;
140
 
141
+CONST int PROP_MOTIF_WM_INFO_ELEMENTS;
142
+CONST int PROP_MWM_INFO_ELEMENTS;
143
 
144
+CONST String _XA_MOTIF_WM_INFO;
145
+CONST String _XA_MWM_INFO;
146
 
147
+CONST char * _XA_MOTIF_BINDINGS;
148