Cappuccino
1.0.0
All
Classes
Files
Functions
Variables
Typedefs
Macros
Groups
Pages
CPWindow_Constants.j
Go to the documentation of this file.
1
/*
2
* CPWindow_Constants.j
3
* AppKit
4
*
5
* Created by Francisco Tolmasky.
6
* Copyright 2008, 280 North, Inc.
7
*
8
* This library is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Lesser General Public
10
* License as published by the Free Software Foundation; either
11
* version 2.1 of the License, or (at your option) any later version.
12
*
13
* This library is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* Lesser General Public License for more details.
17
*
18
* You should have received a copy of the GNU Lesser General Public
19
* License along with this library; if not, write to the Free Software
20
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21
*/
22
23
/*
24
Borderless window mask option.
25
@global
26
*/
27
CPBorderlessWindowMask
= 0;
28
/*
29
Titled window mask option.
30
@global
31
*/
32
CPTitledWindowMask
= 1 << 0;
33
/*
34
Closeable window mask option.
35
@global
36
*/
37
CPClosableWindowMask
= 1 << 1;
38
/*
39
Miniaturizabe window mask option.
40
@global
41
*/
42
CPMiniaturizableWindowMask
= 1 << 2;
43
/*
44
Resizable window mask option.
45
@global
46
*/
47
CPResizableWindowMask
= 1 << 3;
48
/*
49
Textured window mask option.
50
@global
51
*/
52
CPTexturedBackgroundWindowMask
= 1 << 8;
53
/*
54
@global
55
*/
56
CPBorderlessBridgeWindowMask
= 1 << 20;
57
/*
58
@global
59
*/
60
CPHUDBackgroundWindowMask
= 1 << 21;
61
65
_CPModalWindowMask = 1 << 22;
66
67
CPWindowNotSizable
= 0;
68
CPWindowMinXMargin
= 1;
69
CPWindowWidthSizable
= 2;
70
CPWindowMaxXMargin
= 4;
71
CPWindowMinYMargin
= 8;
72
CPWindowHeightSizable
= 16;
73
CPWindowMaxYMargin
= 32;
74
75
@
typedef
CPWindowLevel
76
CPBackgroundWindowLevel
= -1;
77
/*
78
Default level for windows
79
@group CPWindowLevel
80
@global
81
*/
82
CPNormalWindowLevel
= 0;
83
/*
84
Floating palette type window
85
@group CPWindowLevel
86
@global
87
*/
88
CPFloatingWindowLevel
= 3;
89
/*
90
Submenu type window
91
@group CPWindowLevel
92
@global
93
*/
94
CPSubmenuWindowLevel
= 3;
95
/*
96
For a torn-off menu
97
@group CPWindowLevel
98
@global
99
*/
100
CPTornOffMenuWindowLevel
= 3;
101
/*
102
For the application's main menu
103
@group CPWindowLevel
104
@global
105
*/
106
CPMainMenuWindowLevel
= 24;
107
/*
108
Status window level
109
@group CPWindowLevel
110
@global
111
*/
112
CPStatusWindowLevel
= 25;
113
/*
114
Level for a modal panel
115
@group CPWindowLevel
116
@global
117
*/
118
CPModalPanelWindowLevel
= 8;
119
/*
120
Level for a pop up menu
121
@group CPWindowLevel
122
@global
123
*/
124
CPPopUpMenuWindowLevel
= 101;
125
/*
126
Level for a window being dragged
127
@group CPWindowLevel
128
@global
129
*/
130
CPDraggingWindowLevel
= 500;
131
/*
132
Level for the screens saver
133
@group CPWindowLevel
134
@global
135
*/
136
CPScreenSaverWindowLevel
= 1000;
137
138
@
typedef
CPWindowOrderingMode
139
/*
140
The receiver is placed directly in front of the window specified.
141
@global
142
*/
143
CPWindowAbove
= 1;
144
/*
145
The receiver is placed directly behind the window specified.
146
@global
147
*/
148
CPWindowBelow
= -1;
149
/*
150
The receiver is removed from the screen list and hidden.
151
@global
152
*/
153
CPWindowOut
= 0;
154
155
CPWindowWillCloseNotification
=
@"CPWindowWillCloseNotification"
;
156
CPWindowDidBecomeMainNotification
=
@"CPWindowDidBecomeMainNotification"
;
157
CPWindowDidResignMainNotification
=
@"CPWindowDidResignMainNotification"
;
158
CPWindowDidBecomeKeyNotification
=
@"CPWindowDidBecomeKeyNotification"
;
159
CPWindowDidResignKeyNotification
=
@"CPWindowDidResignKeyNotification"
;
160
CPWindowDidResizeNotification
=
@"CPWindowDidResizeNotification"
;
161
CPWindowDidMoveNotification
=
@"CPWindowDidMoveNotification"
;
162
CPWindowWillBeginSheetNotification
=
@"CPWindowWillBeginSheetNotification"
;
163
CPWindowDidEndSheetNotification
=
@"CPWindowDidEndSheetNotification"
;
164
CPWindowDidMiniaturizeNotification
=
@"CPWindowDidMiniaturizeNotification"
;
165
CPWindowWillMiniaturizeNotification
=
@"CPWindowWillMiniaturizeNotification"
;
166
CPWindowDidDeminiaturizeNotification
=
@"CPWindowDidDeminiaturizeNotification"
;
167
CPWindowWillStartLiveResizeNotification
=
@"CPWindowWillStartLiveResizeNotification"
;
168
CPWindowDidEndLiveResizeNotification
=
@"CPWindowDidEndLiveResizeNotification"
;
169
170
_CPWindowDidChangeFirstResponderNotification =
@"_CPWindowDidChangeFirstResponderNotification"
;
171
172
CPWindowShadowStyleStandard
= 0;
173
CPWindowShadowStyleMenu
= 1;
174
CPWindowShadowStylePanel
= 2;
175
176
CPWindowResizeStyleModern
= 0;
177
CPWindowResizeStyleLegacy
= 1;
178
CPWindowResizeStyle
=
CPWindowResizeStyleModern
;
179
180
CPWindowPositionFlexibleRight
= 1 << 19;
181
CPWindowPositionFlexibleLeft
= 1 << 20;
182
CPWindowPositionFlexibleBottom
= 1 << 21;
183
CPWindowPositionFlexibleTop
= 1 << 22;
184
185
CPStandardWindowShadowStyle
= 0;
186
CPMenuWindowShadowStyle
= 1;
187
CPPanelWindowShadowStyle
= 2;
188
CPCustomWindowShadowStyle
= 3;
189
190
CPWindowConstrainToScreen
= YES;
AppKit
CPWindow
CPWindow_Constants.j
Generated on Fri Sep 7 2018 11:26:15 for Cappuccino by
1.8.3