summaryrefslogtreecommitdiff
path: root/gdk/quartz/GdkQuartzNSWindow.h
diff options
context:
space:
mode:
authorJohn Ralls <jralls@ceridwen.us>2010-12-24 11:25:40 -0800
committerJohn Ralls <jralls@ceridwen.us>2010-12-24 11:29:08 -0800
commit806b6dfa08db0cdaa7d0489e085337b143896ea4 (patch)
treef86fab7f846f98a476da0187c0dc0a880470631b /gdk/quartz/GdkQuartzNSWindow.h
parent0f0512aee3f18d4a160a87ec1ad9934aa459cbe1 (diff)
downloadgtk+-806b6dfa08db0cdaa7d0489e085337b143896ea4.tar.gz
Rename GdkQuartzWindow.h and .c to GdkQuartzNSWindow.h and .c
Normally HFS+ (the MacOSX file system) isn't case-sensitive, so having both GtkQuartzWindow.h and gtkquartzwindow.h causes the latter to overwrite the former during git pull, breaking the build.
Diffstat (limited to 'gdk/quartz/GdkQuartzNSWindow.h')
-rw-r--r--gdk/quartz/GdkQuartzNSWindow.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/gdk/quartz/GdkQuartzNSWindow.h b/gdk/quartz/GdkQuartzNSWindow.h
new file mode 100644
index 0000000000..676c48a9e6
--- /dev/null
+++ b/gdk/quartz/GdkQuartzNSWindow.h
@@ -0,0 +1,50 @@
+/* GdkQuartzNSWindow.h
+ *
+ * Copyright (C) 2005-2007 Imendio AB
+ *
+ * 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.
+ */
+
+#import <AppKit/AppKit.h>
+#import <Foundation/Foundation.h>
+#include <glib.h>
+
+@interface GdkQuartzNSWindow : NSWindow {
+ BOOL inMove;
+ BOOL inShowOrHide;
+
+ /* Manually triggered move/resize (not by the window manager) */
+ BOOL inManualMove;
+ BOOL inManualResize;
+ BOOL inTrackManualResize;
+ NSPoint initialMoveLocation;
+ NSPoint initialResizeLocation;
+ NSRect initialResizeFrame;
+}
+
+-(BOOL)isInMove;
+-(void)beginManualMove;
+-(BOOL)trackManualMove;
+-(void)beginManualResize;
+-(BOOL)trackManualResize;
+-(void)showAndMakeKey:(BOOL)makeKey;
+-(void)hide;
+
+@end
+
+
+
+