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 */
28 /*
29  Titled window mask option.
30  @global
31 */
33 /*
34  Closeable window mask option.
35  @global
36 */
38 /*
39  Miniaturizabe window mask option.
40  @global
41 */
43 /*
44  Resizable window mask option.
45  @global
46 */
48 /*
49  Textured window mask option.
50  @global
51 */
53 /*
54  @global
55 */
57 /*
58  @global
59 */
61 
65 _CPModalWindowMask = 1 << 22;
66 
74 
75 @typedef CPWindowLevel
77 /*
78  Default level for windows
79  @group CPWindowLevel
80  @global
81 */
83 /*
84  Floating palette type window
85  @group CPWindowLevel
86  @global
87 */
89 /*
90  Submenu type window
91  @group CPWindowLevel
92  @global
93 */
95 /*
96  For a torn-off menu
97  @group CPWindowLevel
98  @global
99 */
101 /*
102  For the application's main menu
103  @group CPWindowLevel
104  @global
105 */
107 /*
108  Status window level
109  @group CPWindowLevel
110  @global
111 */
113 /*
114  Level for a modal panel
115  @group CPWindowLevel
116  @global
117 */
119 /*
120  Level for a pop up menu
121  @group CPWindowLevel
122  @global
123 */
125 /*
126  Level for a window being dragged
127  @group CPWindowLevel
128  @global
129 */
131 /*
132  Level for the screens saver
133  @group CPWindowLevel
134  @global
135 */
137 
138 @typedef CPWindowOrderingMode
139 /*
140  The receiver is placed directly in front of the window specified.
141  @global
142 */
144 /*
145  The receiver is placed directly behind the window specified.
146  @global
147 */
149 /*
150  The receiver is removed from the screen list and hidden.
151  @global
152 */
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 
175 
179 
184 
189