21 #ifndef __GDK_PRIVATE_QUARTZ_H__
22 #define __GDK_PRIVATE_QUARTZ_H__
24 #define GDK_QUARTZ_ALLOC_POOL NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]
25 #define GDK_QUARTZ_RELEASE_POOL [pool release]
30 #include <gdk/gdkquartz.h>
38 #define GDK_TYPE_GC_QUARTZ (_gdk_gc_quartz_get_type ())
39 #define GDK_GC_QUARTZ(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_GC_QUARTZ, GdkGCQuartz))
40 #define GDK_GC_QUARTZ_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_GC_QUARTZ, GdkGCQuartzClass))
41 #define GDK_IS_GC_QUARTZ(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_GC_QUARTZ))
42 #define GDK_IS_GC_QUARTZ_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_GC_QUARTZ))
43 #define GDK_GC_QUARTZ_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_GC_QUARTZ, GdkGCQuartzClass))
45 #define GDK_DRAG_CONTEXT_PRIVATE(context) ((GdkDragContextPrivate *) GDK_DRAG_CONTEXT (context)->windowing_data)
107 #define GDK_WINDOW_IS_QUARTZ(win) (GDK_IS_WINDOW_IMPL_QUARTZ (((GdkWindowObject *)win)->impl))
130 CGContextRef context,
typedefG_BEGIN_DECLS struct _GdkDragContext GdkDragContext
typedefG_BEGIN_DECLS struct _GdkGCValues GdkGCValues
GdkDragContext * _gdk_quartz_drag_source_context
void _gdk_windowing_update_window_sizes(GdkScreen *screen)
gboolean _gdk_quartz_gc_update_cg_context(GdkGC *gc, GdkDrawable *drawable, CGContextRef context, GdkQuartzContextValuesMask mask)
void _gdk_quartz_window_gdk_xy_to_xy(gint gdk_x, gint gdk_y, gint *ns_x, gint *ns_y)
void _gdk_events_init(void)
CGColorRef _gdk_quartz_colormap_get_cgcolor_from_pixel(GdkDrawable *drawable, guint32 pixel)
NSEvent * _gdk_quartz_event_loop_get_pending(void)
void _gdk_quartz_window_queue_translation(GdkWindow *window, GdkGC *gc, GdkRegion *area, gint dx, gint dy)
GType _gdk_gc_quartz_get_type(void)
void _gdk_quartz_event_loop_init(void)
void _gdk_quartz_events_update_focus_window(GdkWindow *new_window, gboolean got_focus)
GdkWindow * _gdk_quartz_window_find_child(GdkWindow *window, gint x, gint y)
void _gdk_quartz_drawable_finish(GdkDrawable *drawable)
void _gdk_quartz_window_set_needs_display_in_region(GdkWindow *window, GdkRegion *region)
void _gdk_quartz_window_xy_to_gdk_xy(gint ns_x, gint ns_y, gint *gdk_x, gint *gdk_y)
GdkQuartzContextValuesMask
@ GDK_QUARTZ_CONTEXT_STROKE
@ GDK_QUARTZ_CONTEXT_FILL
@ GDK_QUARTZ_CONTEXT_TEXT
void _gdk_quartz_window_scroll(GdkWindow *window, gint dx, gint dy)
void _gdk_quartz_window_update_position(GdkWindow *window)
GdkModifierType _gdk_quartz_events_get_current_mouse_modifiers(void)
void _gdk_quartz_event_loop_release_event(NSEvent *event)
void _gdk_visual_init(void)
void _gdk_quartz_window_did_resign_main(GdkWindow *window)
void _gdk_quartz_window_did_become_main(GdkWindow *window)
GdkEventMask _gdk_quartz_events_get_current_event_mask(void)
void _gdk_input_init(void)
GdkDisplay * _gdk_display
GdkEventType _gdk_quartz_keys_event_type(NSEvent *event)
GdkGC * _gdk_quartz_gc_new(GdkDrawable *drawable, GdkGCValues *values, GdkGCValuesMask values_mask)
void _gdk_quartz_events_break_all_grabs(guint32 time)
void _gdk_quartz_window_nspoint_to_gdk_xy(NSPoint point, gint *x, gint *y)
gboolean _gdk_quartz_event_loop_check_pending(void)
void _gdk_quartz_synthesize_null_key_event(GdkWindow *window)
void _gdk_quartz_events_send_map_event(GdkWindow *window)
void _gdk_quartz_window_attach_to_parent(GdkWindow *window)
void _gdk_quartz_window_debug_highlight(GdkWindow *window, gint number)
gboolean _gdk_quartz_window_queue_antiexpose(GdkWindow *window, GdkRegion *area)
@ GDK_QUARTZ_EVENT_SUBTYPE_EVENTLOOP
void _gdk_quartz_window_set_needs_display_in_rect(GdkWindow *window, GdkRectangle *rect)
CGImageRef _gdk_pixmap_get_cgimage(GdkPixmap *pixmap)
void _gdk_windowing_window_init(void)
GdkImage * _gdk_quartz_image_copy_to_image(GdkDrawable *drawable, GdkImage *image, gint src_x, gint src_y, gint dest_x, gint dest_y, gint width, gint height)
gboolean _gdk_quartz_keys_is_modifier(guint keycode)
GdkModifierType _gdk_quartz_events_get_current_keyboard_modifiers(void)
gboolean _gdk_quartz_window_is_ancestor(GdkWindow *ancestor, GdkWindow *window)
void _gdk_quartz_window_detach_from_parent(GdkWindow *window)
GtkImagePixmapData pixmap
PBD::PropertyDescriptor< bool > region
id< NSDraggingInfo > dragging_info
gboolean have_clip_region
gboolean graphics_exposures
GdkSubwindowMode subwindow_mode
GObjectClass parent_class