mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
native: Make gtk_native_get_surface_transform public
This api is needed to translate between surface and widget coordinates.
This commit is contained in:
parent
c0faf0c6b6
commit
93d4253c93
@ -6617,6 +6617,7 @@ gtk_native_get_for_surface
|
|||||||
gtk_native_get_surface
|
gtk_native_get_surface
|
||||||
gtk_native_get_renderer
|
gtk_native_get_renderer
|
||||||
gtk_native_check_resize
|
gtk_native_check_resize
|
||||||
|
gtk_native_get_surface_transform
|
||||||
|
|
||||||
<SUBSECTION Private>
|
<SUBSECTION Private>
|
||||||
gtk_native_get_type
|
gtk_native_get_type
|
||||||
|
@ -67,6 +67,11 @@ GdkSurface *gtk_native_get_surface (GtkNative *self);
|
|||||||
GDK_AVAILABLE_IN_ALL
|
GDK_AVAILABLE_IN_ALL
|
||||||
GskRenderer *gtk_native_get_renderer (GtkNative *self);
|
GskRenderer *gtk_native_get_renderer (GtkNative *self);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
|
void gtk_native_get_surface_transform (GtkNative *self,
|
||||||
|
int *x,
|
||||||
|
int *y);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __GTK_NATIVE_H__ */
|
#endif /* __GTK_NATIVE_H__ */
|
||||||
|
@ -5,10 +5,6 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
void gtk_native_get_surface_transform (GtkNative *self,
|
|
||||||
int *x,
|
|
||||||
int *y);
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __GTK_NATIVE_PRIVATE_H__ */
|
#endif /* __GTK_NATIVE_PRIVATE_H__ */
|
||||||
|
Loading…
Reference in New Issue
Block a user