Blame gdk/quartz/GdkQuartzView.h

Packit Service fb6fa5
/* GdkQuartzView.h
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * Copyright (C) 2005 Imendio AB
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * This library is free software; you can redistribute it and/or
Packit Service fb6fa5
 * modify it under the terms of the GNU Lesser General Public
Packit Service fb6fa5
 * License as published by the Free Software Foundation; either
Packit Service fb6fa5
 * version 2 of the License, or (at your option) any later version.
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * This library is distributed in the hope that it will be useful,
Packit Service fb6fa5
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service fb6fa5
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service fb6fa5
 * Lesser General Public License for more details.
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * You should have received a copy of the GNU Lesser General Public
Packit Service fb6fa5
 * License along with this library; if not, write to the
Packit Service fb6fa5
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Packit Service fb6fa5
 * Boston, MA 02111-1307, USA.
Packit Service fb6fa5
 */
Packit Service fb6fa5
Packit Service fb6fa5
#import <AppKit/AppKit.h>
Packit Service fb6fa5
#include "gdk/gdk.h"
Packit Service fb6fa5
Packit Service fb6fa5
/* Text Input Client */
Packit Service fb6fa5
#define TIC_MARKED_TEXT "tic-marked-text"
Packit Service fb6fa5
#define TIC_SELECTED_POS  "tic-selected-pos"
Packit Service fb6fa5
#define TIC_SELECTED_LEN  "tic-selected-len"
Packit Service fb6fa5
#define TIC_INSERT_TEXT "tic-insert-text"
Packit Service fb6fa5
#define TIC_IN_KEY_DOWN "tic-in-key-down"
Packit Service fb6fa5
Packit Service fb6fa5
/* GtkIMContext */
Packit Service fb6fa5
#define GIC_CURSOR_RECT  "gic-cursor-rect"
Packit Service fb6fa5
#define GIC_FILTER_KEY   "gic-filter-key"
Packit Service fb6fa5
#define GIC_FILTER_PASSTHRU	0
Packit Service fb6fa5
#define GIC_FILTER_FILTERED	1
Packit Service fb6fa5
Packit Service fb6fa5
@interface GdkQuartzView : NSView <NSTextInputClient>
Packit Service fb6fa5
{
Packit Service fb6fa5
  GdkWindow *gdk_window;
Packit Service fb6fa5
  NSTrackingRectTag trackingRect;
Packit Service fb6fa5
  BOOL needsInvalidateShadow;
Packit Service fb6fa5
  NSRange markedRange;
Packit Service fb6fa5
  NSRange selectedRange;
Packit Service fb6fa5
}
Packit Service fb6fa5
Packit Service fb6fa5
- (void)setGdkWindow: (GdkWindow *)window;
Packit Service fb6fa5
- (GdkWindow *)gdkWindow;
Packit Service fb6fa5
- (NSTrackingRectTag)trackingRect;
Packit Service fb6fa5
- (void)setNeedsInvalidateShadow: (BOOL)invalidate;
Packit Service fb6fa5
Packit Service fb6fa5
@end