Add stubs for input shape functions.

2006-02-20  Anders Carlsson  <andersca@imendio.com>

        * gdk/quartz/gdkdisplay-quartz.c:
        (gdk_display_supports_shapes):
        (gdk_display_supports_input_shapes):
        * gdk/quartz/gdkwindow-quartz.c:
        (gdk_display_warp_pointer):
        (gdk_window_input_shape_combine_mask):
        (gdk_window_input_shape_combine_region):
        (gdk_window_set_child_input_shapes):
        (gdk_window_set_accept_focus):
        (gdk_window_merge_child_input_shapes):
        Add stubs for input shape functions.
This commit is contained in:
Anders Carlsson 2006-02-20 11:57:12 +00:00 committed by Anders Carlsson
parent cae6c15d65
commit ba8e91b9fc
4 changed files with 83 additions and 2 deletions

View File

@ -1,4 +1,18 @@
2006-02-20 Anders Carlsson <andersca@mac.com>
2006-02-20 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/gdkdisplay-quartz.c:
(gdk_display_supports_shapes):
(gdk_display_supports_input_shapes):
* gdk/quartz/gdkwindow-quartz.c:
(gdk_display_warp_pointer):
(gdk_window_input_shape_combine_mask):
(gdk_window_input_shape_combine_region):
(gdk_window_set_child_input_shapes):
(gdk_window_set_accept_focus):
(gdk_window_merge_child_input_shapes):
Add stubs for input shape functions.
2006-02-20 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/gdkevents-quartz.c:
(get_keyboard_modifiers_from_nsevent):

View File

@ -1,4 +1,18 @@
2006-02-20 Anders Carlsson <andersca@mac.com>
2006-02-20 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/gdkdisplay-quartz.c:
(gdk_display_supports_shapes):
(gdk_display_supports_input_shapes):
* gdk/quartz/gdkwindow-quartz.c:
(gdk_display_warp_pointer):
(gdk_window_input_shape_combine_mask):
(gdk_window_input_shape_combine_region):
(gdk_window_set_child_input_shapes):
(gdk_window_set_accept_focus):
(gdk_window_merge_child_input_shapes):
Add stubs for input shape functions.
2006-02-20 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/gdkevents-quartz.c:
(get_keyboard_modifiers_from_nsevent):

View File

@ -124,6 +124,20 @@ gdk_display_supports_clipboard_persistence (GdkDisplay *display)
return FALSE;
}
gboolean
gdk_display_supports_shapes (GdkDisplay *display)
{
/* FIXME: Implement */
return FALSE;
}
gboolean
gdk_display_supports_input_shapes (GdkDisplay *display)
{
/* FIXME: Implement */
return FALSE;
}
void
gdk_display_store_clipboard (GdkDisplay *display,
GdkWindow *clipboard_window,

View File

@ -873,6 +873,15 @@ _gdk_windowing_window_get_pointer (GdkDisplay *display,
return NULL;
}
void
gdk_display_warp_pointer (GdkDisplay *display,
GdkScreen *screen,
gint x,
gint y)
{
CGDisplayMoveCursorToPoint (CGMainDisplayID (), CGPointMake (x, y));
}
GdkWindow *
_gdk_windowing_window_at_pointer (GdkDisplay *display,
gint *win_x,
@ -973,6 +982,30 @@ gdk_window_shape_combine_mask (GdkWindow *window,
/* FIXME: Implement */
}
void
gdk_window_input_shape_combine_mask (GdkWindow *window,
GdkBitmap *mask,
gint x,
gint y)
{
/* FIXME: Implement */
}
void
gdk_window_input_shape_combine_region (GdkWindow *window,
GdkRegion *shape_region,
gint offset_x,
gint offset_y)
{
/* FIXME: Implement */
}
void
gdk_window_set_child_input_shapes (GdkWindow *window)
{
/* FIXME: IMplement */
}
void
gdk_window_set_accept_focus (GdkWindow *window,
gboolean accept_focus)
@ -980,6 +1013,12 @@ gdk_window_set_accept_focus (GdkWindow *window,
/* FIXME: Implement */
}
void
gdk_window_merge_child_input_shapes (GdkWindow *window)
{
/* FIXME: Implement */
}
void
gdk_window_set_focus_on_map (GdkWindow *window,
gboolean focus_on_map)