gala/vapi/mutter-cogl-pango-6.vapi
Corentin Noël 381e1d6474
Initial support for mutter-7 (#854)
* meson: Add support for libmutter-7 in the build system

This commit only adds support within the build system, no further attempt to make it build has been tried.

* mutter: Update the .vapi for libmutter-7

* Fix vapi syntax

* Make it work with mutter-7

* Re-enable PIP plugin

* Fix screenshot code

* Fix type

* Cleanup workspaces sooner

So we don't see the workspace removed animation on login

Co-authored-by: Cassidy James Blaede <cassidy@elementary.io>
Co-authored-by: David Hewitt <davidmhewitt@gmail.com>
2020-11-17 12:11:52 +01:00

39 lines
1.4 KiB
Vala

/* mutter-cogl-pango-6.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "CoglPango", gir_namespace = "CoglPango", gir_version = "6", lower_case_cprefix = "cogl_pango_")]
namespace CoglPango {
#if HAS_MUTTER338
[CCode (cheader_filename = "cogl-pango.h")]
public interface FontMap : Pango.CairoFontMap, GLib.Object {
#else
[CCode (cheader_filename = "cogl-pango.h", type_id = "pango_font_map_get_type ()")]
public class FontMap : Pango.FontMap {
[CCode (has_construct_function = false)]
protected FontMap ();
#endif
[Version (since = "1.0")]
public void clear_glyph_cache ();
public Pango.Context create_context ();
[Version (since = "1.0")]
public unowned Pango.Renderer get_renderer ();
[Version (since = "1.0")]
public bool get_use_mipmapping ();
[Version (since = "1.14")]
public static Pango.FontMap @new ();
[Version (since = "1.14")]
public void set_resolution (double dpi);
[Version (since = "1.0")]
public void set_use_mipmapping (bool value);
}
[CCode (cheader_filename = "cogl-pango.h", type_id = "cogl_pango_renderer_get_type ()")]
public class Renderer : Pango.Renderer {
[CCode (has_construct_function = false)]
protected Renderer ();
[NoAccessorMethod]
public void* context { construct; }
}
[CCode (cheader_filename = "cogl-pango.h")]
[Version (since = "1.0")]
public static void ensure_glyph_cache_for_layout (Pango.Layout layout);
}