mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 06:51:10 +00:00
0932e4be38
2007-06-20 Richard Hult <richard@imendio.com> * gdk/quartz/gdkwindow-quartz.c (gdk_window_new): * gdk/quartz/GdkQuartzWindow.c (windowDidResize): Don't create or update the tracking rect in the window, move it to the view where it belongs. * gdk/quartz/GdkQuartzView.c (updateTrackingRect) (viewDidMoveToWindow, viewWillMoveToWindow) (setFrame, setBounds): Create and update the tracking rect here. svn path=/trunk/; revision=18197
37 lines
1.0 KiB
Objective-C
37 lines
1.0 KiB
Objective-C
/* GdkQuartzView.h
|
|
*
|
|
* Copyright (C) 2005 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>
|
|
#include "gdkwindow.h"
|
|
|
|
@interface GdkQuartzView : NSView {
|
|
GdkWindow *gdk_window;
|
|
NSTrackingRectTag trackingRect;
|
|
}
|
|
|
|
-(void)setGdkWindow:(GdkWindow *)window;
|
|
-(GdkWindow *)gdkWindow;
|
|
|
|
@end
|
|
|
|
|
|
|
|
|