Debian Codegraph @

gdk/quartz/GdkQuartzNSWindow.h

raw
1 /* GdkQuartzNSWindow.h
2 *
3 * Copyright (C) 2005-2007 Imendio AB
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 #import <AppKit/AppKit.h>
20 #import <Foundation/Foundation.h>
21 #include <glib.h>
22 #include <gdk.h>
23
24 @interface GdkQuartzNSWindow : NSWindow {
25 BOOL inMove;
26 BOOL inShowOrHide;
27 BOOL initialPositionKnown;
28
29 /* Manually triggered move/resize (not by the window manager) */
30 BOOL inManualMove;
31 BOOL inManualResize;
32 BOOL inTrackManualResize;
33 NSPoint initialMoveLocation;
34 NSPoint initialResizeLocation;
35 NSRect initialResizeFrame;
36 GdkWindowEdge resizeEdge;
37
38 NSRect lastUnmaximizedFrame;
39 NSRect lastMaximizedFrame;
40 NSRect lastUnfullscreenFrame;
41 BOOL inMaximizeTransition;
42 }
43
44 -(BOOL)isInMove;
45 -(void)beginManualMove;
46 -(BOOL)trackManualMove;
47 -(BOOL)isInManualResizeOrMove;
48 -(void)beginManualResize:(GdkWindowEdge)edge;
49 -(BOOL)trackManualResize;
50 -(void)showAndMakeKey:(BOOL)makeKey;
51 -(void)hide;
52
53 #ifdef AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER
54 -(void)setStyleMask:(NSUInteger)styleMask;
55 #endif
56 - (NSPoint)convertPointToScreen:(NSPoint)point;
57 - (NSPoint)convertPointFromScreen:(NSPoint)point;
58 @end
59
60
61
62