API
0.9.7
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
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
@class CPWindow
27
*/
28
CPBorderlessWindowMask
= 0;
29
/*
30
Titled window mask option.
31
@global
32
@class CPWindow
33
*/
34
CPTitledWindowMask
= 1 << 0;
35
/*
36
Closeable window mask option.
37
@global
38
@class CPWindow
39
*/
40
CPClosableWindowMask
= 1 << 1;
41
/*
42
Miniaturizabe window mask option.
43
@global
44
@class CPWindow
45
*/
46
CPMiniaturizableWindowMask
= 1 << 2;
47
/*
48
Resizable window mask option.
49
@global
50
@class CPWindow
51
*/
52
CPResizableWindowMask
= 1 << 3;
53
/*
54
Textured window mask option.
55
@global
56
@class CPWindow
57
*/
58
CPTexturedBackgroundWindowMask
= 1 << 8;
59
/*
60
@global
61
@class CPWindow
62
*/
63
CPBorderlessBridgeWindowMask
= 1 << 20;
64
/*
65
@global
66
@class CPWindow
67
*/
68
CPHUDBackgroundWindowMask
= 1 << 21;
69
74
_CPModalWindowMask = 1 << 22;
75
76
CPWindowNotSizable
= 0;
77
CPWindowMinXMargin
= 1;
78
CPWindowWidthSizable
= 2;
79
CPWindowMaxXMargin
= 4;
80
CPWindowMinYMargin
= 8;
81
CPWindowHeightSizable
= 16;
82
CPWindowMaxYMargin
= 32;
83
84
CPBackgroundWindowLevel
= -1;
85
/*
86
Default level for windows
87
@group CPWindowLevel
88
@global
89
*/
90
CPNormalWindowLevel
= 0;
91
/*
92
Floating palette type window
93
@group CPWindowLevel
94
@global
95
*/
96
CPFloatingWindowLevel
= 3;
97
/*
98
Submenu type window
99
@group CPWindowLevel
100
@global
101
*/
102
CPSubmenuWindowLevel
= 3;
103
/*
104
For a torn-off menu
105
@group CPWindowLevel
106
@global
107
*/
108
CPTornOffMenuWindowLevel
= 3;
109
/*
110
For the application's main menu
111
@group CPWindowLevel
112
@global
113
*/
114
CPMainMenuWindowLevel
= 24;
115
/*
116
Status window level
117
@group CPWindowLevel
118
@global
119
*/
120
CPStatusWindowLevel
= 25;
121
/*
122
Level for a modal panel
123
@group CPWindowLevel
124
@global
125
*/
126
CPModalPanelWindowLevel
= 8;
127
/*
128
Level for a pop up menu
129
@group CPWindowLevel
130
@global
131
*/
132
CPPopUpMenuWindowLevel
= 101;
133
/*
134
Level for a window being dragged
135
@group CPWindowLevel
136
@global
137
*/
138
CPDraggingWindowLevel
= 500;
139
/*
140
Level for the screens saver
141
@group CPWindowLevel
142
@global
143
*/
144
CPScreenSaverWindowLevel
= 1000;
145
146
/*
147
The receiver is placed directly in front of the window specified.
148
@global
149
@class CPWindowOrderingMode
150
*/
151
CPWindowAbove
= 1;
152
/*
153
The receiver is placed directly behind the window specified.
154
@global
155
@class CPWindowOrderingMode
156
*/
157
CPWindowBelow
= -1;
158
/*
159
The receiver is removed from the screen list and hidden.
160
@global
161
@class CPWindowOrderingMode
162
*/
163
CPWindowOut
= 0;
164
165
CPWindowWillCloseNotification
=
@"CPWindowWillCloseNotification"
;
166
CPWindowDidBecomeMainNotification
=
@"CPWindowDidBecomeMainNotification"
;
167
CPWindowDidResignMainNotification
=
@"CPWindowDidResignMainNotification"
;
168
CPWindowDidBecomeKeyNotification
=
@"CPWindowDidBecomeKeyNotification"
;
169
CPWindowDidResignKeyNotification
=
@"CPWindowDidResignKeyNotification"
;
170
CPWindowDidResizeNotification
=
@"CPWindowDidResizeNotification"
;
171
CPWindowDidMoveNotification
=
@"CPWindowDidMoveNotification"
;
172
CPWindowWillBeginSheetNotification
=
@"CPWindowWillBeginSheetNotification"
;
173
CPWindowDidEndSheetNotification
=
@"CPWindowDidEndSheetNotification"
;
174
CPWindowDidMiniaturizeNotification
=
@"CPWindowDidMiniaturizeNotification"
;
175
CPWindowWillMiniaturizeNotification
=
@"CPWindowWillMiniaturizeNotification"
;
176
CPWindowDidDeminiaturizeNotification
=
@"CPWindowDidDeminiaturizeNotification"
;
177
178
_CPWindowDidChangeFirstResponderNotification =
@"_CPWindowDidChangeFirstResponderNotification"
;
179
180
CPWindowShadowStyleStandard
= 0;
181
CPWindowShadowStyleMenu
= 1;
182
CPWindowShadowStylePanel
= 2;
183
184
CPWindowResizeStyleModern
= 0;
185
CPWindowResizeStyleLegacy
= 1;
186
CPWindowResizeStyle
=
CPWindowResizeStyleModern
;
187
188
CPWindowPositionFlexibleRight
= 1 << 19;
189
CPWindowPositionFlexibleLeft
= 1 << 20;
190
CPWindowPositionFlexibleBottom
= 1 << 21;
191
CPWindowPositionFlexibleTop
= 1 << 22;
192
193
CPStandardWindowShadowStyle
= 0;
194
CPMenuWindowShadowStyle
= 1;
195
CPPanelWindowShadowStyle
= 2;
196
CPCustomWindowShadowStyle
= 3;
197
198
CPWindowConstrainToScreen
= YES;
AppKit
CPWindow
CPWindow_Constants.j
Generated on Thu Nov 28 2013 20:43:43 for API by
1.8.4