diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2016-04-28 22:36:47 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2016-04-28 22:38:24 +0200 |
commit | 82f0f7afdefe4197b36707f7b06368c60b3e4867 (patch) | |
tree | 91ca942d2f19c1bab4a58bbf00412eaebc08e00c | |
parent | d82f4a8b4707cb14b9297ec943d0e930c0bed81d (diff) | |
download | vala-82f0f7afdefe4197b36707f7b06368c60b3e4867.tar.gz |
vapi: Add gsk-3.0wip/gsk
-rw-r--r-- | vapi/Makefile.am | 6 | ||||
-rw-r--r-- | vapi/gsk-3.0.deps | 3 | ||||
-rw-r--r-- | vapi/gsk-3.0.vapi | 161 |
3 files changed, 170 insertions, 0 deletions
diff --git a/vapi/Makefile.am b/vapi/Makefile.am index 614feb367..a1e28e7ac 100644 --- a/vapi/Makefile.am +++ b/vapi/Makefile.am @@ -90,6 +90,8 @@ dist_vapi_DATA = \ goocanvas.vapi \ graphene-1.0.deps \ graphene-1.0.vapi \ + gsk-3.0.deps \ + gsk-3.0.vapi \ gsl.vapi \ gstreamer-0.10.deps \ gstreamer-0.10.vapi \ @@ -416,6 +418,7 @@ GIR_BINDINGS = \ gio-2.0 \ gobject-introspection-1.0 \ graphene-1.0 \ + gsk-3.0 \ gudev-1.0 \ json-glib-1.0 \ libgdata \ @@ -558,6 +561,9 @@ goocanvas: graphene-1.0: $(GENVAPI) --library $(srcdir)/graphene-1.0 --pkg gobject-2.0 --metadatadir $(METADATADIR) $(GIRDIR)/Graphene-1.0.gir +gsk-3.0: + $(GENVAPI) --library $(srcdir)/gsk-3.0 --pkg gio-2.0 --metadatadir $(METADATADIR) $(GIRDIR)/Gsk-3.0.gir + gstreamer-0.10: $(GENVAPI) --library $(srcdir)/gstreamer-0.10 $(PACKAGESDIR)/gstreamer-0.10/gstreamer-0.10-custom.vala $(PACKAGESDIR)/gstreamer-0.10/gstreamer-0.10.gi diff --git a/vapi/gsk-3.0.deps b/vapi/gsk-3.0.deps new file mode 100644 index 000000000..07d4cda5c --- /dev/null +++ b/vapi/gsk-3.0.deps @@ -0,0 +1,3 @@ +cairo +gdk-3.0 +graphene-1.0 diff --git a/vapi/gsk-3.0.vapi b/vapi/gsk-3.0.vapi new file mode 100644 index 000000000..39f235c71 --- /dev/null +++ b/vapi/gsk-3.0.vapi @@ -0,0 +1,161 @@ +/* gsk-3.0.vapi generated by vapigen, do not modify. */ + +[CCode (cprefix = "Gsk", gir_namespace = "Gsk", gir_version = "3.0", lower_case_cprefix = "gsk_")] +namespace Gsk { + [CCode (cheader_filename = "gsk/gsk.h", type_id = "gsk_render_node_get_type ()")] + public class RenderNode : GLib.Object { + [CCode (has_construct_function = false)] + [Version (since = "3.22")] + public RenderNode (); + [Version (since = "3.22")] + public bool contains (Gsk.RenderNode descendant); + [Version (since = "3.22")] + public Cairo.Context get_draw_context (); + [Version (since = "3.22")] + public unowned Gsk.RenderNode get_first_child (); + [Version (since = "3.22")] + public unowned Gsk.RenderNode get_last_child (); + [Version (since = "3.22")] + public uint get_n_children (); + [Version (since = "3.22")] + public unowned Gsk.RenderNode get_next_sibling (); + [Version (since = "3.22")] + public unowned Gsk.RenderNode get_parent (); + [Version (since = "3.22")] + public unowned Gsk.RenderNode get_previous_sibling (); + [Version (since = "3.22")] + public unowned Gsk.RenderNode insert_child_after (Gsk.RenderNode child, Gsk.RenderNode? sibling); + [Version (since = "3.22")] + public unowned Gsk.RenderNode insert_child_at_pos (Gsk.RenderNode child, int index_); + [Version (since = "3.22")] + public unowned Gsk.RenderNode insert_child_before (Gsk.RenderNode child, Gsk.RenderNode? sibling); + [Version (since = "3.22")] + public bool is_hidden (); + [Version (since = "3.22")] + public bool is_opaque (); + [Version (since = "3.22")] + public unowned Gsk.RenderNode remove_all_children (); + public unowned Gsk.RenderNode remove_child (Gsk.RenderNode child); + [Version (since = "3.22")] + public unowned Gsk.RenderNode replace_child (Gsk.RenderNode new_child, Gsk.RenderNode old_child); + [Version (since = "3.22")] + public void set_bounds (Graphene.Rect? bounds); + [Version (since = "3.22")] + public void set_child_transform (Graphene.Matrix? transform); + [Version (since = "3.22")] + public void set_hidden (bool hidden); + [Version (since = "3.22")] + public void set_name (string? name); + [Version (since = "3.22")] + public void set_opacity (double opacity); + [Version (since = "3.22")] + public void set_opaque (bool opaque); + [Version (since = "3.22")] + public void set_surface (Cairo.Surface? surface); + [Version (since = "3.22")] + public void set_transform (Graphene.Matrix? transform); + } + [CCode (cheader_filename = "gsk/gsk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gsk_render_node_iter_get_type ()")] + [Compact] + public class RenderNodeIter { + [CCode (has_construct_function = false)] + [Version (since = "3.22")] + public RenderNodeIter (); + [Version (since = "3.22")] + public void free (); + [Version (since = "3.22")] + public void init (Gsk.RenderNode node); + [Version (since = "3.22")] + public bool is_valid (); + [Version (since = "3.22")] + public bool next (out unowned Gsk.RenderNode child); + [Version (since = "3.22")] + public bool prev (out unowned Gsk.RenderNode child); + [Version (since = "3.22")] + public void remove (); + } + [CCode (cheader_filename = "gsk/gsk.h", type_id = "gsk_renderer_get_type ()")] + public abstract class Renderer : GLib.Object { + [CCode (has_construct_function = false)] + protected Renderer (); + [Version (since = "3.22")] + public bool get_auto_clear (); + [Version (since = "3.22")] + public unowned Gdk.Display get_display (); + public Cairo.Context get_draw_context (); + [Version (since = "3.22")] + public static Gsk.Renderer get_for_display (Gdk.Display display); + [Version (since = "3.22")] + public Graphene.Matrix get_modelview (); + [Version (since = "3.22")] + public Graphene.Matrix get_projection (); + [Version (since = "3.22")] + public unowned Gsk.RenderNode? get_root_node (); + [Version (since = "3.22")] + public void get_scaling_filters (out Gsk.ScalingFilter? min_filter, out Gsk.ScalingFilter? mag_filter); + [Version (since = "3.22")] + public unowned Cairo.Surface? get_surface (); + [Version (since = "3.22")] + public bool get_use_alpha (); + [Version (since = "3.22")] + public Graphene.Rect get_viewport (); + [Version (since = "3.22")] + public unowned Gdk.Window? get_window (); + [Version (since = "3.22")] + public bool realize (); + [Version (since = "3.22")] + public void render (); + [Version (since = "3.22")] + public void set_auto_clear (bool clear); + public void set_draw_context (Cairo.Context cr); + [Version (since = "3.22")] + public void set_modelview (Graphene.Matrix modelview); + [Version (since = "3.22")] + public void set_projection (Graphene.Matrix projection); + [Version (since = "3.22")] + public void set_root_node (Gsk.RenderNode? root); + [Version (since = "3.22")] + public void set_scaling_filters (Gsk.ScalingFilter min_filter, Gsk.ScalingFilter mag_filter); + [Version (since = "3.22")] + public void set_surface (Cairo.Surface? surface); + [Version (since = "3.22")] + public void set_use_alpha (bool use_alpha); + [Version (since = "3.22")] + public void set_viewport (Graphene.Rect? viewport); + [Version (since = "3.22")] + public void set_window (Gdk.Window? window); + [Version (since = "3.22")] + public void unrealize (); + [Version (since = "3.22")] + public bool auto_clear { get; set; } + [Version (since = "3.22")] + public Gdk.Display display { get; construct; } + [NoAccessorMethod] + [Version (since = "3.22")] + public Gsk.ScalingFilter magnification_filter { get; set; } + [NoAccessorMethod] + [Version (since = "3.22")] + public Gsk.ScalingFilter minification_filter { get; set; } + [Version (since = "3.22")] + public Graphene.Matrix modelview { get; set; } + [Version (since = "3.22")] + public Graphene.Matrix projection { get; set; } + [Version (since = "3.22")] + public Gsk.RenderNode root_node { get; set; } + [Version (since = "3.22")] + public Cairo.Surface surface { get; set; } + [Version (since = "3.22")] + public bool use_alpha { get; set; } + [Version (since = "3.22")] + public Graphene.Rect viewport { get; set; } + [Version (since = "3.22")] + public Gdk.Window window { get; set; } + } + [CCode (cheader_filename = "gsk/gsk.h", cprefix = "GSK_SCALING_FILTER_", type_id = "gsk_scaling_filter_get_type ()")] + [Version (since = "3.22")] + public enum ScalingFilter { + LINEAR, + NEAREST, + TRILINEAR + } +} |