2010-12-24 19:25:40 +00:00
|
|
|
/* GdkQuartzNSWindow.h
|
2005-11-22 10:03:32 +00:00
|
|
|
*
|
2007-06-16 15:41:27 +00:00
|
|
|
* Copyright (C) 2005-2007 Imendio AB
|
2005-11-22 10:03:32 +00:00
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2012-02-27 13:01:10 +00:00
|
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
2005-11-22 10:03:32 +00:00
|
|
|
*/
|
|
|
|
|
2007-11-01 08:45:30 +00:00
|
|
|
#import <AppKit/AppKit.h>
|
|
|
|
#import <Foundation/Foundation.h>
|
2007-06-16 15:41:27 +00:00
|
|
|
#include <glib.h>
|
2005-11-22 10:03:32 +00:00
|
|
|
|
2010-12-22 15:55:56 +00:00
|
|
|
@interface GdkQuartzNSWindow : NSWindow {
|
2008-01-10 19:35:53 +00:00
|
|
|
BOOL inMove;
|
|
|
|
BOOL inShowOrHide;
|
2012-11-20 09:28:58 +00:00
|
|
|
BOOL initialPositionKnown;
|
2007-10-31 11:01:56 +00:00
|
|
|
|
|
|
|
/* Manually triggered move/resize (not by the window manager) */
|
|
|
|
BOOL inManualMove;
|
|
|
|
BOOL inManualResize;
|
2007-12-20 13:25:37 +00:00
|
|
|
BOOL inTrackManualResize;
|
2007-10-31 11:01:56 +00:00
|
|
|
NSPoint initialMoveLocation;
|
|
|
|
NSPoint initialResizeLocation;
|
|
|
|
NSRect initialResizeFrame;
|
2005-11-22 10:03:32 +00:00
|
|
|
}
|
|
|
|
|
2007-06-16 15:41:27 +00:00
|
|
|
-(BOOL)isInMove;
|
2007-10-31 11:01:56 +00:00
|
|
|
-(void)beginManualMove;
|
|
|
|
-(BOOL)trackManualMove;
|
2013-12-13 01:18:01 +00:00
|
|
|
-(BOOL)isInManualResizeOrMove;
|
2007-10-31 11:01:56 +00:00
|
|
|
-(void)beginManualResize;
|
|
|
|
-(BOOL)trackManualResize;
|
2008-01-10 19:35:53 +00:00
|
|
|
-(void)showAndMakeKey:(BOOL)makeKey;
|
|
|
|
-(void)hide;
|
2014-08-23 14:04:46 +00:00
|
|
|
-(void)setStyleMask:(NSUInteger)styleMask;
|
2007-06-16 15:41:27 +00:00
|
|
|
|
2005-11-22 10:03:32 +00:00
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|