Ardour  9.0-pre0-582-g084a23a80d
GdkQuartzView.h
Go to the documentation of this file.
1 /* GdkQuartzView.h
2  *
3  * Copyright (C) 2005 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, write to the
17  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18  * Boston, MA 02111-1307, USA.
19  */
20 
21 #import <AppKit/AppKit.h>
22 #include "gdk/gdk.h"
23 
24 /* Text Input Client */
25 #define TIC_MARKED_TEXT "tic-marked-text"
26 #define TIC_SELECTED_POS "tic-selected-pos"
27 #define TIC_SELECTED_LEN "tic-selected-len"
28 #define TIC_INSERT_TEXT "tic-insert-text"
29 #define TIC_IN_KEY_DOWN "tic-in-key-down"
30 
31 /* GtkIMContext */
32 #define GIC_CURSOR_RECT "gic-cursor-rect"
33 #define GIC_FILTER_KEY "gic-filter-key"
34 #define GIC_FILTER_PASSTHRU 0
35 #define GIC_FILTER_FILTERED 1
36 
37 @interface GdkQuartzView : NSView <NSTextInputClient>
38 {
40  NSTrackingRectTag trackingRect;
42  NSRange markedRange;
43  NSRange selectedRange;
44 }
45 
46 - (void)setGdkWindow: (GdkWindow *)window;
47 - (GdkWindow *)gdkWindow;
48 - (NSTrackingRectTag)trackingRect;
49 - (void)setNeedsInvalidateShadow: (BOOL)invalidate;
50 
51 @end
BOOL needsInvalidateShadow
Definition: GdkQuartzView.h:42
NSRange markedRange
Definition: GdkQuartzView.h:43
NSRange selectedRange
Definition: GdkQuartzView.h:44
NSTrackingRectTag trackingRect
Definition: GdkQuartzView.h:41
GdkWindow * gdk_window
Definition: GdkQuartzView.h:40