blob: 4685a215bbcf527d5911849614aeb514ba1ed71d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
{%MainUnit ../gdk2x.pas}
{$IFDEF read_interface_rest}
type
PMotifWmHints = ^TMotifWmHints;
TMotifWmHints = record
flags : dword;
functions : dword;
decorations : dword;
input_mode : longint;
status : dword;
end;
TMwmHints = TMotifWmHints;
PMwmHints = ^TMwmHints;
const
MWM_HINTS_FUNCTIONS = 1 shl 0;
MWM_HINTS_DECORATIONS = 1 shl 1;
MWM_HINTS_INPUT_MODE = 1 shl 2;
MWM_HINTS_STATUS = 1 shl 3;
MWM_FUNC_ALL = 1 shl 0;
MWM_FUNC_RESIZE = 1 shl 1;
MWM_FUNC_MOVE = 1 shl 2;
MWM_FUNC_MINIMIZE = 1 shl 3;
MWM_FUNC_MAXIMIZE = 1 shl 4;
MWM_FUNC_CLOSE = 1 shl 5;
MWM_DECOR_ALL = 1 shl 0;
MWM_DECOR_BORDER = 1 shl 1;
MWM_DECOR_RESIZEH = 1 shl 2;
MWM_DECOR_TITLE = 1 shl 3;
MWM_DECOR_MENU = 1 shl 4;
MWM_DECOR_MINIMIZE = 1 shl 5;
MWM_DECOR_MAXIMIZE = 1 shl 6;
MWM_INPUT_MODELESS = 0;
MWM_INPUT_PRIMARY_APPLICATION_MODAL = 1;
MWM_INPUT_SYSTEM_MODAL = 2;
MWM_INPUT_FULL_APPLICATION_MODAL = 3;
MWM_INPUT_APPLICATION_MODAL = MWM_INPUT_PRIMARY_APPLICATION_MODAL;
MWM_TEAROFF_WINDOW = 1 shl 0;
{ atoms}
_XA_MOTIF_BINDINGS = '_MOTIF_BINDINGS';
_XA_MOTIF_WM_HINTS = '_MOTIF_WM_HINTS';
_XA_MOTIF_WM_MESSAGES = '_MOTIF_WM_MESSAGES';
_XA_MOTIF_WM_OFFSET = '_MOTIF_WM_OFFSET';
_XA_MOTIF_WM_MENU = '_MOTIF_WM_MENU';
_XA_MOTIF_WM_INFO = '_MOTIF_WM_INFO';
_XA_MWM_HINTS = _XA_MOTIF_WM_HINTS;
_XA_MWM_MESSAGES = _XA_MOTIF_WM_MESSAGES;
_XA_MWM_MENU = _XA_MOTIF_WM_MENU;
_XA_MWM_INFO = _XA_MOTIF_WM_INFO;
{ _MWM_INFO property }
type
PMotifWmInfo = ^TMotifWmInfo;
TMotifWmInfo = record
flags : longint;
wm_window : TWindow;
end;
PMwmInfo = ^TMwmInfo;
TMwmInfo = TMotifWmInfo;
const
MWM_INFO_STARTUP_STANDARD = 1 shl 0;
MWM_INFO_STARTUP_CUSTOM = 1 shl 1;
{ _MWM_HINTS property }
type
PPropMotifWmHints = ^TPropMotifWmHints;
TPropMotifWmHints = record
flags : dword;
functions : dword;
decorations : dword;
inputMode : longint;
status : dword;
end;
PPropMwmHints = ^TPropMwmHints;
TPropMwmHints = TPropMotifWmHints;
const
PROP_MOTIF_WM_HINTS_ELEMENTS = 5;
PROP_MWM_HINTS_ELEMENTS = PROP_MOTIF_WM_HINTS_ELEMENTS;
{ _MWM_INFO property, slight return }
type
PPropMotifWmInfo = ^TPropMotifWmInfo;
TPropMotifWmInfo = record
flags : dword;
wmWindow : dword;
end;
PPropMwmInfo = ^TPropMwmInfo;
TPropMwmInfo = TPropMotifWmInfo;
const
PROP_MOTIF_WM_INFO_ELEMENTS = 2;
PROP_MWM_INFO_ELEMENTS = PROP_MOTIF_WM_INFO_ELEMENTS;
{$ENDIF read_interface_rest}
//------------------------------------------------------------------------------
{$IFDEF read_implementation}
{$ENDIF read_implementation}
|