2005-11-22 10:03:32 +00:00
|
|
|
/* GdkQuartzWindow.h
|
|
|
|
*
|
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
|
|
|
|
* License along with this library; if not, write to the
|
|
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
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
|
|
|
|
|
|
|
@interface GdkQuartzWindow : NSWindow {
|
2008-01-10 19:35:53 +00:00
|
|
|
BOOL inMove;
|
|
|
|
BOOL inShowOrHide;
|
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;
|
|
|
|
-(void)beginManualResize;
|
|
|
|
-(BOOL)trackManualResize;
|
2008-01-10 19:35:53 +00:00
|
|
|
-(void)showAndMakeKey:(BOOL)makeKey;
|
|
|
|
-(void)hide;
|
2007-06-16 15:41:27 +00:00
|
|
|
|
2005-11-22 10:03:32 +00:00
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|