2020-11-17 14:11:52 +03:00
|
|
|
namespace Clutter {
|
|
|
|
|
2021-04-23 19:56:53 +03:00
|
|
|
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);
|
|
|
|
}
|
2020-11-17 14:11:52 +03:00
|
|
|
|
2021-04-23 19:56:53 +03:00
|
|
|
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 ();
|
|
|
|
}
|
2020-11-17 14:11:52 +03:00
|
|
|
|
2021-04-23 19:56:53 +03:00
|
|
|
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);
|
|
|
|
}
|
2020-11-17 14:11:52 +03:00
|
|
|
|
2021-04-23 19:56:53 +03:00
|
|
|
[CCode (cheader_filename = "clutter/clutter.h", has_copy_function = false, has_destroy_function = false, has_type_id = false)]
|
|
|
|
public struct Capture {
|
|
|
|
}
|
2020-11-17 14:11:52 +03:00
|
|
|
}
|