Ardour  9.0-pre0-350-gf17a656217
gdkprivate-quartz.h File Reference
#include <gdk/gdkprivate.h>
#include <gdk/quartz/gdkpixmap-quartz.h>
#include <gdk/quartz/gdkwindow-quartz.h>
#include <gdk/gdkquartz.h>
#include <gdk/gdk.h>
#include "gdkinternals.h"
#include "config.h"
Include dependency graph for gdkprivate-quartz.h:

Go to the source code of this file.

Classes

struct  _GdkGCQuartz
 
struct  _GdkGCQuartzClass
 
struct  _GdkVisualClass
 
struct  _GdkCursorPrivate
 
struct  _GdkDragContextPrivate
 

Macros

#define GDK_QUARTZ_ALLOC_POOL   NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]
 
#define GDK_QUARTZ_RELEASE_POOL   [pool release]
 
#define GDK_TYPE_GC_QUARTZ   (_gdk_gc_quartz_get_type ())
 
#define GDK_GC_QUARTZ(object)   (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_GC_QUARTZ, GdkGCQuartz))
 
#define GDK_GC_QUARTZ_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_GC_QUARTZ, GdkGCQuartzClass))
 
#define GDK_IS_GC_QUARTZ(object)   (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_GC_QUARTZ))
 
#define GDK_IS_GC_QUARTZ_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_GC_QUARTZ))
 
#define GDK_GC_QUARTZ_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_GC_QUARTZ, GdkGCQuartzClass))
 
#define GDK_DRAG_CONTEXT_PRIVATE(context)   ((GdkDragContextPrivate *) GDK_DRAG_CONTEXT (context)->windowing_data)
 
#define GDK_WINDOW_IS_QUARTZ(win)   (GDK_IS_WINDOW_IMPL_QUARTZ (((GdkWindowObject *)win)->impl))
 

Typedefs

typedef struct _GdkCursorPrivate GdkCursorPrivate
 
typedef struct _GdkGCQuartz GdkGCQuartz
 
typedef struct _GdkGCQuartzClass GdkGCQuartzClass
 
typedef struct _GdkDragContextPrivate GdkDragContextPrivate
 

Enumerations

enum  GdkQuartzContextValuesMask { GDK_QUARTZ_CONTEXT_STROKE = 1 << 0 , GDK_QUARTZ_CONTEXT_FILL = 1 << 1 , GDK_QUARTZ_CONTEXT_TEXT = 1 << 2 }
 
enum  GdkQuartzEventSubType { GDK_QUARTZ_EVENT_SUBTYPE_EVENTLOOP }
 

Functions

void _gdk_windowing_update_window_sizes (GdkScreen *screen)
 
void _gdk_windowing_window_init (void)
 
void _gdk_events_init (void)
 
void _gdk_visual_init (void)
 
void _gdk_input_init (void)
 
void _gdk_quartz_event_loop_init (void)
 
GType _gdk_gc_quartz_get_type (void)
 
GdkGC_gdk_quartz_gc_new (GdkDrawable *drawable, GdkGCValues *values, GdkGCValuesMask values_mask)
 
gboolean _gdk_quartz_gc_update_cg_context (GdkGC *gc, GdkDrawable *drawable, CGContextRef context, GdkQuartzContextValuesMask mask)
 
CGColorRef _gdk_quartz_colormap_get_cgcolor_from_pixel (GdkDrawable *drawable, guint32 pixel)
 
gboolean _gdk_quartz_window_is_ancestor (GdkWindow *ancestor, GdkWindow *window)
 
void _gdk_quartz_window_gdk_xy_to_xy (gint gdk_x, gint gdk_y, gint *ns_x, gint *ns_y)
 
void _gdk_quartz_window_xy_to_gdk_xy (gint ns_x, gint ns_y, gint *gdk_x, gint *gdk_y)
 
void _gdk_quartz_window_nspoint_to_gdk_xy (NSPoint point, gint *x, gint *y)
 
GdkWindow_gdk_quartz_window_find_child (GdkWindow *window, gint x, gint y)
 
void _gdk_quartz_window_attach_to_parent (GdkWindow *window)
 
void _gdk_quartz_window_detach_from_parent (GdkWindow *window)
 
void _gdk_quartz_window_did_become_main (GdkWindow *window)
 
void _gdk_quartz_window_did_resign_main (GdkWindow *window)
 
void _gdk_quartz_window_debug_highlight (GdkWindow *window, gint number)
 
void _gdk_quartz_window_set_needs_display_in_rect (GdkWindow *window, GdkRectangle *rect)
 
void _gdk_quartz_window_set_needs_display_in_region (GdkWindow *window, GdkRegion *region)
 
void _gdk_quartz_window_update_position (GdkWindow *window)
 
void _gdk_quartz_events_update_focus_window (GdkWindow *new_window, gboolean got_focus)
 
void _gdk_quartz_events_send_map_event (GdkWindow *window)
 
GdkEventMask _gdk_quartz_events_get_current_event_mask (void)
 
GdkModifierType _gdk_quartz_events_get_current_keyboard_modifiers (void)
 
GdkModifierType _gdk_quartz_events_get_current_mouse_modifiers (void)
 
void _gdk_quartz_events_break_all_grabs (guint32 time)
 
gboolean _gdk_quartz_event_loop_check_pending (void)
 
NSEvent * _gdk_quartz_event_loop_get_pending (void)
 
void _gdk_quartz_event_loop_release_event (NSEvent *event)
 
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)
 
GdkEventType _gdk_quartz_keys_event_type (NSEvent *event)
 
gboolean _gdk_quartz_keys_is_modifier (guint keycode)
 
void _gdk_quartz_synthesize_null_key_event (GdkWindow *window)
 
void _gdk_quartz_drawable_finish (GdkDrawable *drawable)
 
void _gdk_quartz_window_scroll (GdkWindow *window, gint dx, gint dy)
 
void _gdk_quartz_window_queue_translation (GdkWindow *window, GdkGC *gc, GdkRegion *area, gint dx, gint dy)
 
gboolean _gdk_quartz_window_queue_antiexpose (GdkWindow *window, GdkRegion *area)
 
CGImageRef _gdk_pixmap_get_cgimage (GdkPixmap *pixmap)
 

Variables

GdkDisplay_gdk_display
 
GdkScreen_gdk_screen
 
GdkWindow_gdk_root
 
GdkDragContext_gdk_quartz_drag_source_context
 

Macro Definition Documentation

◆ GDK_DRAG_CONTEXT_PRIVATE

#define GDK_DRAG_CONTEXT_PRIVATE (   context)    ((GdkDragContextPrivate *) GDK_DRAG_CONTEXT (context)->windowing_data)

Definition at line 45 of file gdkprivate-quartz.h.

◆ GDK_GC_QUARTZ

#define GDK_GC_QUARTZ (   object)    (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_GC_QUARTZ, GdkGCQuartz))

Definition at line 39 of file gdkprivate-quartz.h.

◆ GDK_GC_QUARTZ_CLASS

#define GDK_GC_QUARTZ_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_GC_QUARTZ, GdkGCQuartzClass))

Definition at line 40 of file gdkprivate-quartz.h.

◆ GDK_GC_QUARTZ_GET_CLASS

#define GDK_GC_QUARTZ_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_GC_QUARTZ, GdkGCQuartzClass))

Definition at line 43 of file gdkprivate-quartz.h.

◆ GDK_IS_GC_QUARTZ

#define GDK_IS_GC_QUARTZ (   object)    (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_GC_QUARTZ))

Definition at line 41 of file gdkprivate-quartz.h.

◆ GDK_IS_GC_QUARTZ_CLASS

#define GDK_IS_GC_QUARTZ_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_GC_QUARTZ))

Definition at line 42 of file gdkprivate-quartz.h.

◆ GDK_QUARTZ_ALLOC_POOL

#define GDK_QUARTZ_ALLOC_POOL   NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]

Definition at line 24 of file gdkprivate-quartz.h.

◆ GDK_QUARTZ_RELEASE_POOL

#define GDK_QUARTZ_RELEASE_POOL   [pool release]

Definition at line 25 of file gdkprivate-quartz.h.

◆ GDK_TYPE_GC_QUARTZ

#define GDK_TYPE_GC_QUARTZ   (_gdk_gc_quartz_get_type ())

Definition at line 38 of file gdkprivate-quartz.h.

◆ GDK_WINDOW_IS_QUARTZ

#define GDK_WINDOW_IS_QUARTZ (   win)    (GDK_IS_WINDOW_IMPL_QUARTZ (((GdkWindowObject *)win)->impl))

Definition at line 107 of file gdkprivate-quartz.h.

Typedef Documentation

◆ GdkCursorPrivate

Definition at line 1 of file gdkprivate-quartz.h.

◆ GdkDragContextPrivate

Definition at line 1 of file gdkprivate-quartz.h.

◆ GdkGCQuartz

typedef struct _GdkGCQuartz GdkGCQuartz

Definition at line 1 of file gdkprivate-quartz.h.

◆ GdkGCQuartzClass

Definition at line 1 of file gdkprivate-quartz.h.

Enumeration Type Documentation

◆ GdkQuartzContextValuesMask

Enumerator
GDK_QUARTZ_CONTEXT_STROKE 
GDK_QUARTZ_CONTEXT_FILL 
GDK_QUARTZ_CONTEXT_TEXT 

Definition at line 118 of file gdkprivate-quartz.h.

◆ GdkQuartzEventSubType

Enumerator
GDK_QUARTZ_EVENT_SUBTYPE_EVENTLOOP 

Definition at line 169 of file gdkprivate-quartz.h.

Function Documentation

◆ _gdk_events_init()

void _gdk_events_init ( void  )

◆ _gdk_gc_quartz_get_type()

GType _gdk_gc_quartz_get_type ( void  )

◆ _gdk_input_init()

void _gdk_input_init ( void  )

◆ _gdk_pixmap_get_cgimage()

CGImageRef _gdk_pixmap_get_cgimage ( GdkPixmap pixmap)

◆ _gdk_quartz_colormap_get_cgcolor_from_pixel()

CGColorRef _gdk_quartz_colormap_get_cgcolor_from_pixel ( GdkDrawable drawable,
guint32  pixel 
)

◆ _gdk_quartz_drawable_finish()

void _gdk_quartz_drawable_finish ( GdkDrawable drawable)

◆ _gdk_quartz_event_loop_check_pending()

gboolean _gdk_quartz_event_loop_check_pending ( void  )

◆ _gdk_quartz_event_loop_get_pending()

NSEvent* _gdk_quartz_event_loop_get_pending ( void  )

◆ _gdk_quartz_event_loop_init()

void _gdk_quartz_event_loop_init ( void  )

◆ _gdk_quartz_event_loop_release_event()

void _gdk_quartz_event_loop_release_event ( NSEvent *  event)

◆ _gdk_quartz_events_break_all_grabs()

void _gdk_quartz_events_break_all_grabs ( guint32  time)

◆ _gdk_quartz_events_get_current_event_mask()

GdkEventMask _gdk_quartz_events_get_current_event_mask ( void  )

◆ _gdk_quartz_events_get_current_keyboard_modifiers()

GdkModifierType _gdk_quartz_events_get_current_keyboard_modifiers ( void  )

◆ _gdk_quartz_events_get_current_mouse_modifiers()

GdkModifierType _gdk_quartz_events_get_current_mouse_modifiers ( void  )

◆ _gdk_quartz_events_send_map_event()

void _gdk_quartz_events_send_map_event ( GdkWindow window)

◆ _gdk_quartz_events_update_focus_window()

void _gdk_quartz_events_update_focus_window ( GdkWindow new_window,
gboolean  got_focus 
)

◆ _gdk_quartz_gc_new()

GdkGC* _gdk_quartz_gc_new ( GdkDrawable drawable,
GdkGCValues values,
GdkGCValuesMask  values_mask 
)

◆ _gdk_quartz_gc_update_cg_context()

gboolean _gdk_quartz_gc_update_cg_context ( GdkGC gc,
GdkDrawable drawable,
CGContextRef  context,
GdkQuartzContextValuesMask  mask 
)

◆ _gdk_quartz_image_copy_to_image()

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 
)

◆ _gdk_quartz_keys_event_type()

GdkEventType _gdk_quartz_keys_event_type ( NSEvent *  event)

◆ _gdk_quartz_keys_is_modifier()

gboolean _gdk_quartz_keys_is_modifier ( guint  keycode)

◆ _gdk_quartz_synthesize_null_key_event()

void _gdk_quartz_synthesize_null_key_event ( GdkWindow window)

◆ _gdk_quartz_window_attach_to_parent()

void _gdk_quartz_window_attach_to_parent ( GdkWindow window)

◆ _gdk_quartz_window_debug_highlight()

void _gdk_quartz_window_debug_highlight ( GdkWindow window,
gint  number 
)

◆ _gdk_quartz_window_detach_from_parent()

void _gdk_quartz_window_detach_from_parent ( GdkWindow window)

◆ _gdk_quartz_window_did_become_main()

void _gdk_quartz_window_did_become_main ( GdkWindow window)

◆ _gdk_quartz_window_did_resign_main()

void _gdk_quartz_window_did_resign_main ( GdkWindow window)

◆ _gdk_quartz_window_find_child()

GdkWindow* _gdk_quartz_window_find_child ( GdkWindow window,
gint  x,
gint  y 
)

◆ _gdk_quartz_window_gdk_xy_to_xy()

void _gdk_quartz_window_gdk_xy_to_xy ( gint  gdk_x,
gint  gdk_y,
gint *  ns_x,
gint *  ns_y 
)

◆ _gdk_quartz_window_is_ancestor()

gboolean _gdk_quartz_window_is_ancestor ( GdkWindow ancestor,
GdkWindow window 
)

◆ _gdk_quartz_window_nspoint_to_gdk_xy()

void _gdk_quartz_window_nspoint_to_gdk_xy ( NSPoint  point,
gint *  x,
gint *  y 
)

◆ _gdk_quartz_window_queue_antiexpose()

gboolean _gdk_quartz_window_queue_antiexpose ( GdkWindow window,
GdkRegion area 
)

◆ _gdk_quartz_window_queue_translation()

void _gdk_quartz_window_queue_translation ( GdkWindow window,
GdkGC gc,
GdkRegion area,
gint  dx,
gint  dy 
)

◆ _gdk_quartz_window_scroll()

void _gdk_quartz_window_scroll ( GdkWindow window,
gint  dx,
gint  dy 
)

◆ _gdk_quartz_window_set_needs_display_in_rect()

void _gdk_quartz_window_set_needs_display_in_rect ( GdkWindow window,
GdkRectangle rect 
)

◆ _gdk_quartz_window_set_needs_display_in_region()

void _gdk_quartz_window_set_needs_display_in_region ( GdkWindow window,
GdkRegion region 
)

◆ _gdk_quartz_window_update_position()

void _gdk_quartz_window_update_position ( GdkWindow window)

◆ _gdk_quartz_window_xy_to_gdk_xy()

void _gdk_quartz_window_xy_to_gdk_xy ( gint  ns_x,
gint  ns_y,
gint *  gdk_x,
gint *  gdk_y 
)

◆ _gdk_visual_init()

void _gdk_visual_init ( void  )

◆ _gdk_windowing_update_window_sizes()

void _gdk_windowing_update_window_sizes ( GdkScreen screen)

◆ _gdk_windowing_window_init()

void _gdk_windowing_window_init ( void  )

Variable Documentation

◆ _gdk_display

GdkDisplay* _gdk_display
extern

◆ _gdk_quartz_drag_source_context

GdkDragContext* _gdk_quartz_drag_source_context
extern

◆ _gdk_root

GdkWindow* _gdk_root
extern

◆ _gdk_screen

GdkScreen* _gdk_screen
extern