mirror of
https://github.com/elementary/gala.git
synced 2024-12-26 10:44:46 +03:00
381e1d6474
* 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>
43 lines
1.6 KiB
Vala
43 lines
1.6 KiB
Vala
namespace Clutter {
|
|
|
|
public struct Color {
|
|
[CCode (cname = "clutter_color_from_hls")]
|
|
public Color.from_hls (float hue, float luminance, float saturation);
|
|
[CCode (cname = "clutter_color_from_pixel")]
|
|
public Color.from_pixel (uint32 pixel);
|
|
[CCode (cname = "clutter_color_from_string")]
|
|
public Color.from_string (string str);
|
|
[CCode (cname = "clutter_color_from_string")]
|
|
public bool parse_string (string str);
|
|
}
|
|
|
|
public interface Container : GLib.Object {
|
|
public void add (params Clutter.Actor[] actors);
|
|
[CCode (cname = "clutter_container_class_find_child_property")]
|
|
public class unowned GLib.ParamSpec find_child_property (string property_name);
|
|
[CCode (cname = "clutter_container_class_list_child_properties")]
|
|
public class unowned GLib.ParamSpec[] list_child_properties ();
|
|
}
|
|
|
|
public struct Units {
|
|
[CCode (cname = "clutter_units_from_cm")]
|
|
public Units.from_cm (float cm);
|
|
[CCode (cname = "clutter_units_from_em")]
|
|
public Units.from_em (float em);
|
|
[CCode (cname = "clutter_units_from_em_for_font")]
|
|
public Units.from_em_for_font (string font_name, float em);
|
|
[CCode (cname = "clutter_units_from_mm")]
|
|
public Units.from_mm (float mm);
|
|
[CCode (cname = "clutter_units_from_pixels")]
|
|
public Units.from_pixels (int px);
|
|
[CCode (cname = "clutter_units_from_pt")]
|
|
public Units.from_pt (float pt);
|
|
[CCode (cname = "clutter_units_from_string")]
|
|
public Units.from_string (string str);
|
|
}
|
|
|
|
[CCode (cheader_filename = "clutter/clutter.h", has_copy_function = false, has_destroy_function = false, has_type_id = false)]
|
|
public struct Capture {
|
|
}
|
|
}
|