2 * liquidity/vapi/clutter-liquidity-0.6.vapi
4 * Copyright (c) 2008 OpenedHand, Patrick Walton
7 [CCode (cprefix = "Clutter", lower_case_cprefix = "clutter_")]
9 [CCode (cprefix = "CLUTTER_", cheader_filename = "clutter/clutter.h")]
10 public enum EventType {
25 [CCode (cprefix = "CLUTTER_GRAVITY_", cheader_filename = "clutter/clutter.h")]
38 [CCode (cprefix = "CLUTTER_INIT_", cheader_filename = "clutter/clutter.h")]
39 public enum InitError {
46 [CCode (cprefix = "CLUTTER_", cheader_filename = "clutter/clutter.h")]
47 public enum RotateAxis {
52 [CCode (cprefix = "CLUTTER_ROTATE_", cheader_filename = "clutter/clutter.h")]
53 public enum RotateDirection {
57 [CCode (cprefix = "CLUTTER_SCRIPT_ERROR_INVALID_", cheader_filename = "clutter/clutter.h")]
58 public enum ScriptError {
63 [CCode (cprefix = "CLUTTER_SCROLL_", cheader_filename = "clutter/clutter.h")]
64 public enum ScrollDirection {
70 [CCode (cprefix = "CLUTTER_SHADER_ERROR_", cheader_filename = "clutter/clutter.h")]
71 public enum ShaderError {
76 [CCode (cprefix = "CLUTTER_TEXTURE_ERROR_", cheader_filename = "clutter/clutter.h")]
77 public enum TextureError {
81 [CCode (cprefix = "CLUTTER_TIMELINE_", cheader_filename = "clutter/clutter.h")]
82 public enum TimelineDirection {
86 [CCode (cprefix = "CLUTTER_ACTOR_", cheader_filename = "clutter/clutter.h")]
88 public enum ActorFlags {
93 [CCode (cprefix = "CLUTTER_EVENT_FLAG_", cheader_filename = "clutter/clutter.h")]
95 public enum EventFlags {
98 [CCode (cprefix = "CLUTTER_FEATURE_", cheader_filename = "clutter/clutter.h")]
100 public enum FeatureFlags {
111 [CCode (cprefix = "CLUTTER_", cheader_filename = "clutter/clutter.h")]
113 public enum ModifierType {
128 [CCode (cprefix = "CLUTTER_STAGE_STATE_", cheader_filename = "clutter/clutter.h")]
130 public enum StageState {
135 [CCode (cprefix = "CLUTTER_TEXTURE_", cheader_filename = "clutter/clutter.h")]
137 public enum TextureFlags {
142 [CCode (cheader_filename = "clutter/clutter.h")]
143 public class Actor : GLib.InitiallyUnowned, Clutter.Scriptable {
145 // [CCode (cname = "CLUTTER_ACTOR_FLAGS")]
146 // public Clutter.ActorFlags get_flags ();
147 [CCode(cname="CLUTTER_ACTOR_IS_REALIZED")]
148 public bool is_realized();
149 [CCode (cname = "CLUTTER_ACTOR_SET_FLAGS")]
150 public void set_flags (Clutter.ActorFlags flags);
151 [CCode (cname = "CLUTTER_ACTOR_UNSET_FLAGS")]
152 public void unset_flags (Clutter.ActorFlags flags);
154 public void apply_relative_transform_to_point (Clutter.Actor ancestor, Clutter.Vertex point, Clutter.Vertex vertex);
155 public void apply_transform_to_point (Clutter.Vertex point, Clutter.Vertex vertex);
156 public void get_abs_position (out int x, out int y);
157 public void get_abs_size (out uint width, out uint height);
158 public void get_anchor_point (out int anchor_x, out int anchor_y);
159 public void get_anchor_pointu (out Clutter.Unit anchor_x, out Clutter.Unit anchor_y);
160 public void get_clip (out int xoff, out int yoff, out int width, out int height);
161 public void get_clipu (out Clutter.Unit xoff, out Clutter.Unit yoff, out Clutter.Unit width, out Clutter.Unit height);
162 public void get_coords (out int x_1, out int y_1, out int x_2, out int y_2);
163 public int get_depth ();
164 public Clutter.Unit get_depthu ();
165 public void get_geometry (Clutter.Geometry geometry);
166 public uint get_gid ();
167 public uint get_height ();
168 public Clutter.Unit get_heightu ();
169 public weak string get_name ();
170 public uchar get_opacity ();
171 public weak Clutter.Actor get_parent ();
172 public void get_position (out int x, out int y);
173 public void get_positionu (out Clutter.Unit x, out Clutter.Unit y);
174 public bool get_reactive ();
175 public void get_relative_vertices (Clutter.Actor ancestor, Clutter.Vertex[] verts);
176 public double get_rotation (Clutter.RotateAxis axis, out int x, out int y, out int z);
177 public Clutter.Fixed get_rotationx (Clutter.RotateAxis axis, int x, int y, int z);
178 public void get_scale (out double scale_x, out double scale_y);
179 public void get_scalex (Clutter.Fixed scale_x, Clutter.Fixed scale_y);
180 public weak Clutter.Shader get_shader ();
181 public void get_size (out uint width, out uint height);
182 public void get_sizeu (out Clutter.Unit width, out Clutter.Unit height);
183 public void get_vertices (out weak Clutter.Vertex[] verts);
184 public uint get_width ();
185 public Clutter.Unit get_widthu ();
187 public Clutter.Unit get_xu ();
189 public Clutter.Unit get_yu ();
190 [CCode (cname = "clutter_actor_has_clip")]
191 public bool get_has_clip ();
192 public bool is_rotated ();
193 public bool is_scaled ();
194 public void lower (Clutter.Actor above);
195 public void lower_bottom ();
196 public void move_anchor_point (int anchor_x, int anchor_y);
197 public void move_anchor_point_from_gravity (Clutter.Gravity gravity);
198 public void move_anchor_pointu (Clutter.Unit anchor_x, Clutter.Unit anchor_y);
199 public void move_by (int dx, int dy);
200 public void move_byu (Clutter.Unit dx, Clutter.Unit dy);
201 public void queue_redraw ();
202 public void raise (Clutter.Actor below);
203 public void raise_top ();
204 public void remove_clip ();
205 public void reparent (Clutter.Actor new_parent);
206 public void set_anchor_point (int anchor_x, int anchor_y);
207 public void set_anchor_point_from_gravity (Clutter.Gravity gravity);
208 public void set_anchor_pointu (Clutter.Unit anchor_x, Clutter.Unit anchor_y);
209 public void set_clip (int xoff, int yoff, int width, int height);
210 public void set_clipu (Clutter.Unit xoff, Clutter.Unit yoff, Clutter.Unit width, Clutter.Unit height);
211 public void set_depth (int depth);
212 public void set_depthu (Clutter.Unit depth);
213 public void set_geometry (Clutter.Geometry geometry);
214 public void set_height (uint height);
215 public void set_heightu (Clutter.Unit height);
216 public void set_name (string name);
217 public void set_opacity (uchar opacity);
218 public void set_parent (Clutter.Actor parent);
219 public void set_position (int x, int y);
220 public void set_positionu (Clutter.Unit x, Clutter.Unit y);
221 public void set_reactive (bool reactive);
222 public void set_rotation (Clutter.RotateAxis axis, double angle, int x, int y, int z);
223 public void set_rotationx (Clutter.RotateAxis axis, Clutter.Fixed angle, int x, int y, int z);
224 public void set_scale (double scale_x, double scale_y);
225 public void set_scalex (Clutter.Fixed scale_x, Clutter.Fixed scale_y);
226 public bool set_shader (Clutter.Shader shader);
227 public void set_shader_param (string param, float value);
228 public void set_size (int width, int height);
229 public void set_sizeu (Clutter.Unit width, Clutter.Unit height);
230 public void set_width (uint width);
231 public void set_widthu (Clutter.Unit width);
232 public void set_x (int x);
233 public void set_xu (Clutter.Unit x);
234 public void set_y (int y);
235 public void set_yu (Clutter.Unit y);
236 public bool should_pick_paint ();
237 public bool transform_stage_point (Clutter.Unit x, Clutter.Unit y, out Clutter.Unit x_out, out Clutter.Unit y_out);
238 public void unparent ();
239 public virtual void hide_all ();
240 public virtual void paint ();
241 public virtual void pick (Clutter.Color color);
242 public virtual void query_coords (Clutter.ActorBox box);
243 public virtual void realize ();
244 public virtual void request_coords (Clutter.ActorBox box);
245 public virtual void show_all ();
246 public virtual void unrealize ();
247 public weak Clutter.Geometry clip { get; set; }
248 public weak int depth { get; set; }
250 public weak bool has_clip { get; }
251 public weak int height { get; set; }
252 public weak string name { get; set; }
253 public weak uchar opacity { get; set; }
254 public weak bool reactive { get; set; }
256 public weak double rotation_angle_x { get; set; }
258 public weak double rotation_angle_y { get; set; }
260 public weak double rotation_angle_z { get; set; }
262 public weak Clutter.Vertex rotation_center_x { get; set; }
264 public weak Clutter.Vertex rotation_center_y { get; set; }
266 public weak Clutter.Vertex rotation_center_z { get; set; }
268 public weak double scale_x { get; set; }
270 public weak double scale_y { get; set; }
272 public weak bool visible { get; set; }
273 public weak int width { get; set; }
274 public weak int x { get; set; }
275 public weak int y { get; set; }
276 public signal bool button_press_event (Clutter.Event event);
277 public signal bool button_release_event (Clutter.Event event);
278 public signal bool captured_event (Clutter.Event event);
280 public signal void destroy ();
281 public signal bool enter_event (Clutter.Event event);
283 public signal bool event (Clutter.Event event);
284 public signal void focus_in ();
285 public signal void focus_out ();
287 public signal void hide ();
288 public signal bool key_press_event (Clutter.Event event);
289 public signal bool key_release_event (Clutter.Event event);
290 public signal bool leave_event (Clutter.Event event);
291 public signal bool motion_event (Clutter.Event event);
292 public signal void parent_set (Clutter.Actor old_parent);
293 public signal bool scroll_event (Clutter.Event event);
295 public signal void show ();
297 [CCode (cheader_filename = "clutter/clutter.h")]
298 public class BehaviourPath : Clutter.Behaviour, Clutter.Scriptable {
299 public BehaviourPath (Clutter.Alpha alpha, Clutter.Knot[] knots, uint n_knots);
300 public void append_knot (ref Clutter.Knot knot);
301 public void append_knots (...);
302 public void clear ();
303 public weak GLib.SList get_knots ();
304 public void insert_knot (uint offset, Clutter.Knot knot);
305 public void remove_knot (uint offset);
307 public weak Clutter.Knot knot { set; }
308 public signal void knot_reached (Clutter.Knot knot);
310 [CCode (cheader_filename = "clutter/clutter.h")]
311 public class BehaviourBspline : Clutter.Behaviour, Clutter.Scriptable {
312 public BehaviourBspline (Clutter.Alpha alpha, Clutter.Knot[] knots, uint n_knots);
313 public void adjust (uint offset, Clutter.Knot knot);
314 public void append_knot (ref Clutter.Knot knot);
315 public void append_knots (...);
316 public void clear ();
317 public void get_origin (out Clutter.Knot knot);
318 public void join (Clutter.BehaviourBspline bs2);
319 public void set_origin (Clutter.Knot knot);
320 public weak Clutter.Behaviour split (uint offset);
321 public void truncate (uint offset);
322 public signal void knot_reached (Clutter.Knot knot);
324 [CCode (cheader_filename = "clutter/clutter.h")]
325 public class COGLhandle {
327 [CCode (cheader_filename = "clutter/clutter.h")]
330 [CCode (cheader_filename = "clutter/clutter.h")]
331 public class AnyEvent {
332 public Clutter.EventType type;
334 public Clutter.EventFlags flags;
335 public weak Clutter.Actor source;
337 [CCode (cheader_filename = "clutter/clutter.h")]
338 public class ButtonEvent {
339 public Clutter.EventType type;
341 public Clutter.EventFlags flags;
342 public weak Clutter.Actor source;
345 public Clutter.ModifierType modifier_state;
347 public uint click_count;
349 public weak Clutter.InputDevice device;
350 [CCode (cname = "clutter_button_event_button")]
351 public uint get_button ();
353 [CCode (cheader_filename = "clutter/clutter.h")]
354 public class CrossingEvent {
355 public Clutter.EventType type;
357 public Clutter.EventFlags flags;
358 public weak Clutter.Actor source;
361 public weak Clutter.Actor related;
363 [CCode (cheader_filename = "clutter/clutter.h")]
364 public class InputDevice {
366 [CCode (cheader_filename = "clutter/clutter.h")]
367 public class KeyEvent {
368 public Clutter.EventType type;
370 public Clutter.EventFlags flags;
371 public weak Clutter.Actor source;
372 public Clutter.ModifierType modifier_state;
374 public ushort hardware_keycode;
375 public unichar unicode_value;
376 [CCode (cname = "clutter_key_event_code")]
377 public ushort get_code ();
378 [CCode (cname = "clutter_key_event_symbol")]
379 public uint get_symbol ();
380 [CCode (cname = "clutter_key_event_unicode")]
381 public uint get_unicode ();
383 [CCode (cheader_filename = "clutter/clutter.h")]
384 public class MotionEvent {
385 public Clutter.EventType type;
387 public Clutter.EventFlags flags;
388 public weak Clutter.Actor source;
391 public Clutter.ModifierType modifier_state;
393 public weak Clutter.InputDevice device;
395 [CCode (cheader_filename = "clutter/clutter.h")]
396 public class ScrollEvent {
397 public Clutter.EventType type;
399 public Clutter.EventFlags flags;
400 public weak Clutter.Actor source;
403 public Clutter.ScrollDirection direction;
404 public Clutter.ModifierType modifier_state;
406 public weak Clutter.InputDevice device;
408 [CCode (cheader_filename = "clutter/clutter.h")]
409 public class StageStateEvent {
410 public Clutter.EventType type;
412 public Clutter.EventFlags flags;
413 public weak Clutter.Actor source;
414 public Clutter.StageState changed_mask;
415 public Clutter.StageState new_state;
417 [CCode (cheader_filename = "clutter/clutter.h")]
418 public class TimeoutPool {
419 public uint add (uint interval, GLib.SourceFunc func, pointer data, GLib.DestroyNotify notify);
420 public TimeoutPool (int priority);
421 public void remove (uint id);
423 [CCode (copy_function = "clutter_event_copy", cheader_filename = "clutter/clutter.h")]
424 public class Event : GLib.Boxed {
425 public Clutter.EventType type;
426 public weak Clutter.AnyEvent any;
427 public weak Clutter.ButtonEvent button;
428 public weak Clutter.KeyEvent key;
429 public weak Clutter.MotionEvent motion;
430 public weak Clutter.ScrollEvent scroll;
431 public weak Clutter.StageStateEvent stage_state;
432 public weak Clutter.CrossingEvent crossing;
433 public weak Clutter.Event copy ();
434 public static weak Clutter.Event get ();
435 public void get_coords (out int x, out int y);
436 public weak Clutter.Actor get_source ();
437 public Clutter.ModifierType get_state ();
438 public uint get_time ();
439 public Event (Clutter.EventType type);
440 public static weak Clutter.Event peek ();
442 [CCode (cname = "clutter_event_type")]
443 public Clutter.EventType get_type ();
445 [CCode (cheader_filename = "clutter/clutter.h")]
446 public class Geometry : GLib.Boxed {
452 [CCode (cheader_filename = "clutter/clutter.h")]
453 public class Alpha : GLib.Object {
454 public uint get_alpha ();
455 public weak Clutter.Timeline get_timeline ();
457 public Alpha.full (Clutter.Timeline timeline, Clutter.AlphaFunc func, pointer data, GLib.DestroyNotify destroy);
458 public void set_func (Clutter.AlphaFunc func, pointer data, GLib.DestroyNotify destroy);
459 public void set_timeline (Clutter.Timeline timeline);
460 public weak uint alpha { get; }
461 public weak Clutter.Timeline timeline { get; set; }
463 [CCode (cheader_filename = "clutter/clutter.h")]
464 public class Backend : GLib.Object {
465 public uint get_double_click_distance ();
466 public uint get_double_click_time ();
467 public double get_resolution ();
468 public void set_double_click_distance (uint distance);
469 public void set_double_click_time (uint msec);
470 public void set_resolution (double dpi);
472 public virtual void add_options (GLib.OptionGroup group);
474 public virtual Clutter.FeatureFlags get_features ();
476 public virtual weak Clutter.Actor get_stage ();
478 public virtual void init_events ();
480 public virtual void init_features ();
482 public virtual bool init_stage () throws GLib.Error;
484 public virtual bool post_parse () throws GLib.Error;
486 public virtual bool pre_parse () throws GLib.Error;
488 public virtual void redraw ();
490 [CCode (cheader_filename = "clutter/clutter.h")]
491 public class Behaviour : GLib.Object {
492 public void actors_foreach (Clutter.BehaviourForeachFunc func, pointer data);
493 public void apply (Clutter.Actor actor);
494 public weak GLib.SList get_actors ();
495 public weak Clutter.Alpha get_alpha ();
496 public int get_n_actors ();
497 public weak Clutter.Actor get_nth_actor (int index_);
498 public bool is_applied (Clutter.Actor actor);
499 public void remove_all ();
500 public void set_alpha (Clutter.Alpha alpha);
502 public virtual void alpha_notify (uint alpha_value);
503 public weak Clutter.Alpha alpha { get; set; }
504 public signal void applied (Clutter.Actor actor);
505 public signal void removed (Clutter.Actor actor);
507 [CCode (cheader_filename = "clutter/clutter.h")]
508 public class BehaviourDepth : Clutter.Behaviour {
509 public void get_bounds (out int depth_start, out int depth_end);
510 public BehaviourDepth (Clutter.Alpha alpha, int depth_start, int depth_end);
511 public void set_bounds (int depth_start, int depth_end);
513 public weak int depth_end { get; set; }
515 public weak int depth_start { get; set; }
517 [CCode (cheader_filename = "clutter/clutter.h")]
518 public class BehaviourEllipse : Clutter.Behaviour {
519 public double get_angle_end ();
520 public Clutter.Fixed get_angle_endx ();
521 public double get_angle_start ();
522 public Clutter.Fixed get_angle_startx ();
523 public double get_angle_tilt (Clutter.RotateAxis axis);
524 public Clutter.Fixed get_angle_tiltx (Clutter.RotateAxis axis);
525 public void get_center (out int x, out int y);
526 public Clutter.RotateDirection get_direction ();
527 public int get_height ();
528 public void get_tilt (out double angle_tilt_x, out double angle_tilt_y, out double angle_tilt_z);
529 public void get_tiltx (Clutter.Fixed angle_tilt_x, Clutter.Fixed angle_tilt_y, Clutter.Fixed angle_tilt_z);
530 public int get_width ();
531 public BehaviourEllipse (Clutter.Alpha alpha, int x, int y, int width, int height, Clutter.RotateDirection direction, double start, double end);
532 [CCode (cname = "clutter_behaviour_ellipse_newx")]
533 public BehaviourEllipse.newx (Clutter.Alpha alpha, int x, int y, int width, int height, Clutter.RotateDirection direction, Clutter.Fixed start, Clutter.Fixed end);
534 public void set_angle_end (double angle_end);
535 public void set_angle_endx (Clutter.Fixed angle_end);
536 public void set_angle_start (double angle_start);
537 public void set_angle_startx (Clutter.Fixed angle_start);
538 public void set_angle_tilt (Clutter.RotateAxis axis, double angle_tilt);
539 public void set_angle_tiltx (Clutter.RotateAxis axis, Clutter.Fixed angle_tilt);
540 public void set_center (int x, int y);
541 public void set_direction (Clutter.RotateDirection direction);
542 public void set_height (int height);
543 public void set_tilt (double angle_tilt_x, double angle_tilt_y, double angle_tilt_z);
544 public void set_tiltx (Clutter.Fixed angle_tilt_x, Clutter.Fixed angle_tilt_y, Clutter.Fixed angle_tilt_z);
545 public void set_width (int width);
547 public virtual void knot_reached (Clutter.Knot knot);
548 public weak double angle_end { get; set; }
549 public weak double angle_start { get; set; }
551 public weak double angle_tilt_x { get; set; }
553 public weak double angle_tilt_y { get; set; }
555 public weak double angle_tilt_z { get; set; }
556 public weak Clutter.Knot center { get; set; }
557 public weak Clutter.RotateDirection direction { get; set; }
558 public weak int height { get; set; }
559 public weak int width { get; set; }
561 [CCode (cheader_filename = "clutter/clutter.h")]
562 public class BehaviourOpacity : Clutter.Behaviour {
563 public void get_bounds (out uchar opacity_start, out uchar opacity_end);
564 public BehaviourOpacity (Clutter.Alpha alpha, uchar opacity_start, uchar opacity_end);
565 public void set_bounds (uchar opacity_start, uchar opacity_end);
567 public weak uint opacity_end { get; set; }
569 public weak uint opacity_start { get; set; }
571 [CCode (cheader_filename = "clutter/clutter.h")]
572 public class BehaviourRotate : Clutter.Behaviour {
573 public Clutter.RotateAxis get_axis ();
574 public void get_bounds (out double angle_start, out double angle_end);
575 public void get_boundsx (Clutter.Fixed angle_start, Clutter.Fixed angle_end);
576 public void get_center (int x, int y, int z);
577 public Clutter.RotateDirection get_direction ();
578 public BehaviourRotate (Clutter.Alpha alpha, Clutter.RotateAxis axis, Clutter.RotateDirection direction, double angle_start, double angle_end);
579 [CCode (cname = "clutter_behaviour_rotate_newx")]
580 public BehaviourRotate.newx (Clutter.Alpha alpha, Clutter.RotateAxis axis, Clutter.RotateDirection direction, Clutter.Fixed angle_start, Clutter.Fixed angle_end);
581 public void set_axis (Clutter.RotateAxis axis);
582 public void set_bounds (double angle_start, double angle_end);
583 public void set_boundsx (Clutter.Fixed angle_start, Clutter.Fixed angle_end);
584 public void set_center (int x, int y, int z);
585 public void set_direction (Clutter.RotateDirection direction);
587 public weak double angle_end { get; set; }
589 public weak double angle_start { get; set; }
590 public weak Clutter.RotateAxis axis { get; set; }
592 public weak int center_x { get; set; }
594 public weak int center_y { get; set; }
596 public weak int center_z { get; set; }
597 public weak Clutter.RotateDirection direction { get; set; }
599 [CCode (cheader_filename = "clutter/clutter.h")]
600 public class BehaviourScale : Clutter.Behaviour {
601 public void get_bounds (out double x_scale_start, out double y_scale_start, out double x_scale_end, out double y_scale_end);
602 public void get_boundsx (Clutter.Fixed x_scale_start, Clutter.Fixed y_scale_start, Clutter.Fixed x_scale_end, Clutter.Fixed y_scale_end);
603 public BehaviourScale (Clutter.Alpha alpha, double x_scale_start, double y_scale_start, double x_scale_end, double y_scale_end);
604 [CCode (cname = "clutter_behaviour_scale_newx")]
605 public BehaviourScale.newx (Clutter.Alpha alpha, Clutter.Fixed x_scale_start, Clutter.Fixed y_scale_start, Clutter.Fixed x_scale_end, Clutter.Fixed y_scale_end);
606 public void set_bounds (double x_scale_start, double y_scale_start, double x_scale_end, double y_scale_end);
607 public void set_boundsx (Clutter.Fixed x_scale_start, Clutter.Fixed y_scale_start, Clutter.Fixed x_scale_end, Clutter.Fixed y_scale_end);
609 public weak double x_scale_end { get; set; }
611 public weak double x_scale_start { get; set; }
613 public weak double y_scale_end { get; set; }
615 public weak double y_scale_start { get; set; }
617 [CCode (cheader_filename = "clutter/clutter.h")]
618 public class CloneTexture : Clutter.Actor, Clutter.Scriptable {
619 public weak Clutter.Texture get_parent_texture ();
620 public CloneTexture (Clutter.Texture texture);
621 public void set_parent_texture (Clutter.Texture texture);
622 public weak Clutter.Texture parent_texture { get; set; }
624 [CCode (cheader_filename = "clutter/clutter.h")]
625 public class EffectTemplate : GLib.Object {
626 public void @construct (Clutter.Timeline timeline, Clutter.AlphaFunc alpha_func, pointer user_data, GLib.DestroyNotify notify);
627 public bool get_timeline_clone ();
628 public EffectTemplate (Clutter.Timeline timeline, Clutter.AlphaFunc alpha_func);
629 public EffectTemplate.for_duration (uint msecs, Clutter.AlphaFunc alpha_func);
630 public EffectTemplate.full (Clutter.Timeline timeline, Clutter.AlphaFunc alpha_func, pointer user_data, GLib.DestroyNotify notify);
631 public void set_timeline_clone (bool setting);
633 public weak bool clone { get; set; }
635 public weak Clutter.Timeline timeline { get; construct; }
637 [CCode (cheader_filename = "clutter/clutter.h")]
638 public class Entry : Clutter.Actor, Clutter.Scriptable {
639 public void delete_chars (uint len);
640 public void delete_text (long start_pos, long end_pos);
641 public Pango.Alignment get_alignment ();
642 public void get_color (Clutter.Color color);
643 public int get_cursor_position ();
644 public weak string get_font_name ();
645 public unichar get_invisible_char ();
646 public weak Pango.Layout get_layout ();
647 public int get_max_length ();
648 public weak string get_text ();
649 public bool get_visibility ();
650 public bool get_visible_cursor ();
651 public void handle_key_event (Clutter.KeyEvent kev);
652 public void insert_text (string text, long position);
653 public void insert_unichar (unichar wc);
655 public Entry.full (string font_name, string text, Clutter.Color color);
656 public Entry.with_text (string font_name, string text);
657 public void set_alignment (Pango.Alignment alignment);
658 public void set_color (Clutter.Color color);
659 public void set_cursor_position (int position);
660 public void set_font_name (string font_name);
661 public void set_invisible_char (unichar wc);
662 public void set_max_length (int max);
663 public void set_text (string text);
664 public void set_visibility (bool visible);
665 public void set_visible_cursor (bool visible);
667 public virtual void paint_cursor ();
668 public weak Pango.Alignment alignment { get; set; }
669 public weak Clutter.Color color { get; set; }
671 public weak bool cursor_visible { get; set; }
673 public weak uint entry_padding { get; set; }
674 public weak string font_name { get; set; }
675 public weak int max_length { get; set; }
677 public weak int position { get; set; }
678 public weak string text { get; set; }
680 public weak bool text_visible { get; set; }
682 public weak double x_align { get; set; }
683 public signal void activate ();
684 public signal void cursor_event (Clutter.Geometry geometry);
685 public signal void text_changed ();
687 [CCode (cheader_filename = "clutter/clutter.h")]
688 public class Group : Clutter.Actor, Clutter.Scriptable, Clutter.Container {
689 public int get_n_children ();
690 public weak Clutter.Actor get_nth_child (int index_);
692 public void remove_all ();
693 public signal void add (Clutter.Actor child);
694 public signal void remove (Clutter.Actor child);
696 [CCode (cheader_filename = "clutter/clutter.h")]
697 public class Label : Clutter.Actor, Clutter.Scriptable {
698 public Pango.Alignment get_alignment ();
699 public weak Pango.AttrList get_attributes ();
700 public void get_color (out Clutter.Color color);
701 public Pango.EllipsizeMode get_ellipsize ();
702 public weak string get_font_name ();
703 public bool get_justify ();
704 public weak Pango.Layout get_layout ();
705 public bool get_line_wrap ();
706 public Pango.WrapMode get_line_wrap_mode ();
707 public weak string get_text ();
708 public bool get_use_markup ();
710 public Label.full (string font_name, string text, Clutter.Color color);
711 public Label.with_text (string font_name, string text);
712 public void set_alignment (Pango.Alignment alignment);
713 public void set_attributes (Pango.AttrList attrs);
714 public void set_color (ref Clutter.Color color);
715 public void set_ellipsize (Pango.EllipsizeMode mode);
716 public void set_font_name (string font_name);
717 public void set_justify (bool justify);
718 public void set_line_wrap (bool wrap);
719 public void set_line_wrap_mode (Pango.WrapMode wrap_mode);
720 public void set_text (string text);
721 public void set_use_markup (bool setting);
722 public weak Pango.Alignment alignment { get; set; }
723 public weak Pango.AttrList attributes { get; set; }
724 public weak Clutter.Color color { get; set; }
725 public weak Pango.EllipsizeMode ellipsize { get; set; }
726 public weak string font_name { get; set; }
727 public weak bool justify { get; set; }
728 public weak string text { get; set; }
729 public weak bool use_markup { get; set; }
731 public weak bool wrap { get; set; }
733 public weak Pango.WrapMode wrap_mode { get; set; }
735 [CCode (cheader_filename = "clutter/clutter.h")]
736 public class ListModel : Clutter.Model {
737 public ListModel (uint n_columns);
738 [CCode (cname = "clutter_list_model_newv")]
739 public ListModel.newv (uint n_columns, GLib.Type[] types, string[] names);
741 [CCode (cheader_filename = "clutter/clutter.h")]
742 public class Model : GLib.Object {
743 public void append ();
744 public void appendv (uint n_columns, uint columns, GLib.Value values);
745 public bool filter_iter (Clutter.ModelIter iter);
746 public bool filter_row (uint row);
747 public void @foreach (Clutter.ModelForeachFunc func, pointer user_data);
748 public weak Clutter.ModelIter get_first_iter ();
749 public weak Clutter.ModelIter get_last_iter ();
750 public int get_sorting_column ();
751 public void insert (uint row);
752 public void insert_value (uint row, uint column, GLib.Value value);
753 public void insertv (uint row, uint n_columns, uint columns, GLib.Value values);
754 public void prepend ();
755 public void prependv (uint n_columns, uint columns, GLib.Value values);
756 public void remove (uint row);
757 public void set_filter (Clutter.ModelFilterFunc func, pointer user_data, GLib.DestroyNotify notify);
758 public void set_names (uint n_columns, string[] names);
759 public void set_sort (uint column, Clutter.ModelSortFunc func, pointer user_data, GLib.DestroyNotify notify);
760 public void set_sorting_column (int column);
761 public void set_types (uint n_columns, GLib.Type[] types);
762 public virtual weak string get_column_name (uint column);
763 public virtual GLib.Type get_column_type (uint column);
764 public virtual weak Clutter.ModelIter get_iter_at_row (uint row);
765 public virtual uint get_n_columns ();
766 public virtual uint get_n_rows ();
768 public virtual weak Clutter.ModelIter insert_row (int index_);
770 public virtual void remove_row (uint row);
771 public virtual void resort ();
772 public signal void filter_changed ();
773 public signal void row_added (Clutter.ModelIter iter);
774 public signal void row_changed (Clutter.ModelIter iter);
775 public signal void row_removed (Clutter.ModelIter iter);
776 public signal void sort_changed ();
778 [CCode (cheader_filename = "clutter/clutter.h")]
779 public class ModelIter : GLib.Object {
781 public void get_valist (pointer args);
783 public void set_valist (pointer args);
784 public virtual weak Clutter.Model get_model ();
785 public virtual uint get_row ();
786 public virtual void get_value (uint column, GLib.Value value);
787 public virtual bool is_first ();
788 public virtual bool is_last ();
789 public virtual weak Clutter.ModelIter next ();
790 public virtual weak Clutter.ModelIter prev ();
791 public virtual void set_value (uint column, GLib.Value value);
793 public weak Clutter.Model model { get; set; }
795 public weak uint row { get; set; }
797 [CCode (cheader_filename = "clutter/clutter.h")]
798 public class Rectangle : Clutter.Actor, Clutter.Scriptable {
799 public void get_border_color (out Clutter.Color color);
800 public uint get_border_width ();
801 public void get_color (out Clutter.Color color);
803 public Rectangle.with_color (Clutter.Color color);
804 public void set_border_color (ref Clutter.Color color);
805 public void set_border_width (uint width);
806 public void set_color (ref Clutter.Color color);
807 public weak Clutter.Color border_color { get; set; }
808 public weak uint border_width { get; set; }
809 public weak Clutter.Color color { get; set; }
811 public weak bool has_border { get; set; }
813 [CCode (cheader_filename = "clutter/clutter.h")]
814 public class Score : GLib.Object {
815 public uint append (Clutter.Timeline parent, Clutter.Timeline timeline);
816 public bool get_loop ();
817 public weak Clutter.Timeline get_timeline (uint id);
818 public bool is_playing ();
819 public weak GLib.SList list_timelines ();
821 public void pause ();
822 public void remove (uint id);
823 public void remove_all ();
824 public void rewind ();
825 public void set_loop (bool loop);
826 public void start ();
828 public weak bool loop { get; set; }
829 public signal void completed ();
830 public signal void paused ();
831 public signal void started ();
832 public signal void timeline_completed (Clutter.Timeline timeline);
833 public signal void timeline_started (Clutter.Timeline timeline);
835 [CCode (cheader_filename = "clutter/clutter.h")]
836 public class Script : GLib.Object {
837 public void connect_signals (pointer user_data);
838 public void connect_signals_full (Clutter.ScriptConnectFunc func, pointer user_data);
839 public void ensure_objects ();
840 public static GLib.Quark error_quark ();
841 public weak GLib.Object get_object (string name);
842 public int get_objects (...);
843 public uint load_from_data (string data, long length) throws GLib.Error;
844 public uint load_from_file (string filename) throws GLib.Error;
846 public void unmerge_objects (uint merge_id);
847 public virtual GLib.Type get_type_from_name (string type_name);
849 public weak string filename { get; }
851 public weak bool filename_set { get; }
853 [CCode (cheader_filename = "clutter/clutter.h")]
854 public class Shader : GLib.Object {
855 public bool bind () throws GLib.Error;
856 public static GLib.Quark error_quark ();
857 public weak string get_fragment_source ();
858 public bool get_is_enabled ();
859 public weak string get_vertex_source ();
860 public bool is_bound ();
862 public void release ();
863 public static void release_all ();
864 public void set_fragment_source (string data, long length);
865 public void set_is_enabled (bool enabled);
866 public void set_uniform_1f (string name, float value);
867 public void set_vertex_source (string data, long length);
869 public weak bool bound { get; }
871 public weak bool enabled { get; set; }
872 public weak string fragment_source { get; set; }
873 public weak string vertex_source { get; set; }
875 [CCode (cheader_filename = "clutter/clutter.h")]
876 public class Stage : Clutter.Group, Clutter.Scriptable, Clutter.Container {
877 public bool event (Clutter.Event event);
878 public weak Clutter.Actor get_actor_at_pos (int x, int y);
879 public void get_color (out Clutter.Color color);
880 public static weak Clutter.Actor get_default ();
881 public void get_fog (out double density, out double z_near, out double z_far);
882 public void get_fogx (out Clutter.Fog fog);
883 public weak Clutter.Actor get_key_focus ();
884 public void get_perspective (out float fovy, out float aspect, out float z_near, out float z_far);
885 public void get_perspectivex (out Clutter.Perspective perspective);
886 public double get_resolution ();
887 public Clutter.Fixed get_resolutionx ();
888 public weak string get_title ();
889 public bool get_use_fog ();
890 public bool get_user_resizable ();
891 public void hide_cursor ();
892 public void set_color (ref Clutter.Color color);
893 public void set_fog (double density, double z_near, double z_far);
894 public void set_fogx (ref Clutter.Fog fog);
895 public void set_key_focus (Clutter.Actor actor);
896 public void set_perspective (float fovy, float aspect, float z_near, float z_far);
897 public void set_perspectivex (ref Clutter.Perspective perspective);
898 public void set_use_fog (bool fog);
899 public void set_user_resizable (bool resizable);
900 public void show_cursor ();
901 // public weak Gdk.Pixbuf snapshot (int x, int y, int width, int height);
903 // public virtual weak Gdk.Pixbuf draw_to_pixbuf (int x, int y, int width, int height);
905 public virtual void set_cursor_visible (bool visible);
907 public virtual void set_fullscreen (bool fullscreen);
908 public virtual void set_title (string title);
910 public virtual void set_user_resize (bool value);
911 public weak Clutter.Color color { get; set; }
913 public weak bool cursor_visible { get; set construct; }
915 public weak bool offscreen { get; set construct; }
916 public weak string title { get; set; }
917 public weak bool use_fog { get; set; }
918 public weak bool user_resizable { get; set construct; }
919 public signal void activate ();
920 public signal void deactivate ();
922 public signal void fullscreen ();
924 public signal void unfullscreen ();
926 [CCode (cheader_filename = "clutter/clutter.h")]
927 public class Texture : Clutter.Actor, Clutter.Scriptable {
928 public void bind_tile (int index_);
929 public static GLib.Quark error_quark ();
930 public void get_base_size (out int width, out int height);
931 public void get_n_tiles (out int n_x_tiles, out int n_y_tiles);
932 // public weak Gdk.Pixbuf get_pixbuf ();
933 public void get_x_tile_detail (int x_index, out int pos, out int size, out int waste);
934 public void get_y_tile_detail (int y_index, out int pos, out int size, out int waste);
935 public bool has_generated_tiles ();
936 public bool is_tiled ();
938 public Texture.from_actor (Clutter.Actor actor);
939 public Texture.from_pixbuf (Gdk.Pixbuf pixbuf);
940 public bool set_area_from_rgb_data (uchar[] data, bool has_alpha, int x, int y, int width, int height, int rowstride, int bpp, Clutter.TextureFlags flags) throws GLib.Error;
941 public bool set_from_rgb_data (uchar[] data, bool has_alpha, int width, int height, int rowstride, int bpp, Clutter.TextureFlags flags) throws GLib.Error;
942 public bool set_from_yuv_data (uchar[] data, int width, int height, Clutter.TextureFlags flags) throws GLib.Error;
943 // public bool set_pixbuf (Gdk.Pixbuf pixbuf) throws GLib.Error;
945 public weak int filter_quality { get; set; }
946 // public weak Gdk.Pixbuf pixbuf { get; set; }
948 public weak int pixel_format { get; }
950 public weak int pixel_type { get; }
952 public weak bool repeat_x { get; set; }
954 public weak bool repeat_y { get; set; }
956 public weak bool sync_size { get; set; }
958 public weak int tile_waste { get; construct; }
960 public weak bool tiled { get; construct; }
961 public signal void pixbuf_change ();
962 public signal void size_change (int width, int height);
964 [CCode (cheader_filename = "clutter/clutter.h")]
965 public class Timeline : GLib.Object {
966 public void advance (uint frame_num);
967 public weak Clutter.Timeline clone ();
968 public int get_current_frame ();
969 public uint get_delay ();
970 public uint get_delta (out uint msecs);
971 public Clutter.TimelineDirection get_direction ();
972 public uint get_duration ();
973 public bool get_loop ();
974 public uint get_n_frames ();
975 public double get_progress ();
976 public Clutter.Fixed get_progressx ();
977 public uint get_speed ();
978 public bool is_playing ();
979 public Timeline (uint n_frames, uint fps);
980 public Timeline.for_duration (uint msecs);
981 public void pause ();
982 public void rewind ();
983 public void set_delay (uint msecs);
984 public void set_direction (Clutter.TimelineDirection direction);
985 public void set_duration (uint msecs);
986 public void set_loop (bool loop);
987 public void set_n_frames (uint n_frames);
988 public void set_speed (uint fps);
989 public void skip (uint n_frames);
990 public void start ();
992 public weak uint delay { get; set; }
993 public weak Clutter.TimelineDirection direction { get; set; }
994 public weak uint duration { get; set; }
996 public weak uint fps { get; set; }
997 public weak bool loop { get; set; }
999 public weak uint num_frames { get; set; }
1000 public signal void completed ();
1001 public signal void new_frame (int frame_num);
1002 public signal void paused ();
1003 public signal void started ();
1005 [CCode (cheader_filename = "clutter/clutter.h")]
1006 public interface Scriptable {
1007 public abstract weak string get_id ();
1008 public abstract bool parse_custom_node (Clutter.Script script, GLib.Value value, string name, pointer node);
1009 public abstract void set_custom_property (Clutter.Script script, string name, GLib.Value value);
1010 public abstract void set_id (string id);
1012 [CCode (cheader_filename = "clutter/clutter.h")]
1013 public interface Container : Clutter.Actor {
1014 public void add_actor (Clutter.Actor actor);
1015 public void add_valist (Clutter.Actor first_actor, pointer var_args);
1016 public weak Clutter.Actor find_child_by_name (string child_name);
1017 public weak GLib.List get_children ();
1018 public void lower_child (Clutter.Actor actor, Clutter.Actor sibling);
1019 public void raise_child (Clutter.Actor actor, Clutter.Actor sibling);
1020 public void remove_actor (Clutter.Actor actor);
1021 public void remove_valist (Clutter.Actor first_actor, pointer var_args);
1022 public abstract void add (...);
1023 public abstract void @foreach (Clutter.Callback callback, pointer user_data);
1025 public abstract void lower (Clutter.Actor actor, Clutter.Actor sibling);
1027 public abstract void raise (Clutter.Actor actor, Clutter.Actor sibling);
1028 public abstract void remove (...);
1029 public abstract void sort_depth_order ();
1030 public signal void actor_added (Clutter.Actor actor);
1031 public signal void actor_removed (Clutter.Actor actor);
1033 [CCode (cheader_filename = "clutter/clutter.h")]
1034 public interface Media {
1035 public bool get_can_seek ();
1036 public void set_filename (string filename);
1037 public abstract int get_buffer_percent ();
1038 public abstract int get_duration ();
1039 public abstract bool get_playing ();
1040 public abstract int get_position ();
1041 public abstract weak string get_uri ();
1042 public abstract double get_volume ();
1043 public abstract void set_playing (bool playing);
1044 public abstract void set_position (int position);
1045 public abstract void set_uri (string uri);
1046 public abstract void set_volume (double volume);
1047 public signal void eos ();
1048 public signal void error (pointer error);
1050 [CCode (cheader_filename = "clutter/clutter.h")]
1052 public struct Fixed {
1054 [CCode (cheader_filename = "clutter/clutter.h")]
1056 public struct Unit {
1058 [CCode (cheader_filename = "clutter/clutter.h")]
1059 public struct ActorBox {
1060 public Clutter.Unit x1;
1061 public Clutter.Unit y1;
1062 public Clutter.Unit x2;
1063 public Clutter.Unit y2;
1064 public static void get_from_vertices (Clutter.Vertex[] vtx, Clutter.ActorBox box);
1066 [CCode (cheader_filename = "clutter/clutter.h")]
1067 public struct Color {
1072 public void add (Clutter.Color src2, out Clutter.Color dest);
1073 public Clutter.Color copy ();
1074 public void darken (out Clutter.Color dest);
1075 public bool equal (Clutter.Color b);
1076 public void free ();
1077 public void from_hls (uchar hue, uchar luminance, uchar saturation);
1078 public void from_hlsx (Clutter.Fixed hue, Clutter.Fixed luminance, Clutter.Fixed saturation);
1079 public void from_pixel (uint pixel);
1080 public void lighten (out Clutter.Color dest);
1081 public static bool parse (string color, out Clutter.Color dest);
1082 public void shade (out Clutter.Color dest, double shade);
1083 public void shadex (Clutter.Color dest, Clutter.Fixed shade);
1084 public void subtract (Clutter.Color src2, out Clutter.Color dest);
1085 public void to_hls (out uchar hue, out uchar luminance, out uchar saturation);
1086 public void to_hlsx (Clutter.Fixed hue, Clutter.Fixed luminance, Clutter.Fixed saturation);
1087 public uint to_pixel ();
1088 public weak string to_string ();
1090 [CCode (cheader_filename = "clutter/clutter.h")]
1092 public Clutter.Fixed density;
1093 public Clutter.Fixed z_near;
1094 public Clutter.Fixed z_far;
1096 [CCode (cheader_filename = "clutter/clutter.h")]
1097 public struct Knot {
1100 public Clutter.Knot copy ();
1101 public bool equal (Clutter.Knot knot_b);
1102 public void free ();
1104 [CCode (cheader_filename = "clutter/clutter.h")]
1105 public struct Perspective {
1106 public Clutter.Fixed fovy;
1107 public Clutter.Fixed aspect;
1108 public Clutter.Fixed z_near;
1109 public Clutter.Fixed z_far;
1111 [CCode (cheader_filename = "clutter/clutter.h")]
1112 public struct Vertex {
1113 public Clutter.Unit x;
1114 public Clutter.Unit y;
1115 public Clutter.Unit z;
1117 public static delegate uint AlphaFunc (Clutter.Alpha alpha, pointer user_data);
1118 public static delegate void BehaviourForeachFunc (Clutter.Behaviour behaviour, Clutter.Actor actor, pointer data);
1119 public static delegate void Callback (Clutter.Actor actor, pointer data);
1120 public static delegate void EffectCompleteFunc (Clutter.Actor actor, pointer user_data);
1121 public static delegate bool ModelFilterFunc (Clutter.Model model, Clutter.ModelIter iter, pointer user_data);
1122 public static delegate bool ModelForeachFunc (Clutter.Model model, Clutter.ModelIter iter, pointer user_data);
1123 public static delegate int ModelSortFunc (Clutter.Model model, GLib.Value a, GLib.Value b, pointer user_data);
1124 public static delegate void ScriptConnectFunc (Clutter.Script script, GLib.Object object, string signal_name, string handler_name, GLib.Object connect_object, GLib.ConnectFlags flags, pointer user_data);
1125 public static delegate void CoglFuncPtr ();
1126 public const int CFX_2PI;
1127 public const int CFX_HALF;
1128 public const int CFX_MAX;
1129 public const int CFX_MIN;
1130 public const int CFX_ONE;
1131 public const int CFX_PI;
1132 public const int CFX_PI_2;
1133 public const int CFX_PI_4;
1134 public const int CFX_Q;
1135 [CCode(cname="CGL_ENABLE_ALPHA_TEST")]
1136 public const int CGL_ENABLE_ALPHA_TEST;
1137 [CCode(cname="CGL_ENABLE_BLEND")]
1138 public const int CGL_ENABLE_BLEND;
1139 [CCode(cname="CGL_ENABLE_TEXTURE_2D")]
1140 public const int CGL_ENABLE_TEXTURE_2D;
1141 [CCode(cname="CGL_ENABLE_TEXTURE_RECT")]
1142 public const int CGL_ENABLE_TEXTURE_RECT;
1143 [CCode(cname="CGL_TEXTURE_RECTANGLE_ARB")]
1144 public const int CGL_TEXTURE_RECTANGLE_ARB;
1145 [CCode(cname="CGL_TEXTURE_2D")]
1146 public const int CGL_TEXTURE_2D;
1147 [CCode(cname="CGL_LINEAR")]
1148 public const int CGL_LINEAR;
1149 [CCode(cname="CGL_UNSIGNED_SHORT_8_8_MESA")]
1150 public const int CGL_UNSIGNED_SHORT_8_8_MESA;
1151 [CCode(cname="CGL_UNSIGNED_SHORT_8_8_REV_MESA")]
1152 public const int CGL_UNSIGNED_SHORT_8_8_REV_MESA;
1153 [CCode(cname="CGL_UNSIGNED_INT_8_8_8_8_REV")]
1154 public const int CGL_UNSIGNED_INT_8_8_8_8_REV;
1155 [CCode(cname="CGL_UNSIGNED_BYTE")]
1156 public const int CGL_UNSIGNED_BYTE;
1157 [CCode(cname="CGL_YCBCR_MESA")]
1158 public const int CGL_YCBCR_MESA;
1159 [CCode(cname="CGL_BGRA")]
1160 public const int CGL_BGRA;
1161 [CCode(cname="CGL_RGBA")]
1162 public const int CGL_RGBA;
1163 public const int ALPHA_MAX_ALPHA;
1164 public const string COGL;
1165 public const int COGL_HAS_GL;
1166 public const int CURRENT_TIME;
1167 public const string FLAVOUR;
1168 public const int MAJOR_VERSION;
1169 public const int MICRO_VERSION;
1170 public const int MINOR_VERSION;
1171 public const int SQRTI_ARG_10_PERCENT;
1172 public const int SQRTI_ARG_5_PERCENT;
1173 public const int SQRTI_ARG_MAX;
1174 public const int VERSION_HEX;
1175 public const string VERSION_S;
1176 [CCode (cheader_filename = "clutter/clutter.h")]
1177 public static Clutter.InitError init ([CCode (array_length_pos = 0.9)] ref string[] args);
1178 [CCode (cheader_filename = "clutter/clutter.h")]
1179 public static void base_init ();
1180 [CCode (cname = "cogl_alpha_func", cheader_filename = "clutter/cogl.h")]
1181 public static void cogl_alpha_func (int func, Clutter.Fixed @ref);
1182 [CCode (cname = "cogl_check_extension", cheader_filename = "clutter/cogl.h")]
1183 public static bool cogl_check_extension (string name, string ext);
1184 [CCode (cname = "cogl_clip_set", cheader_filename = "clutter/cogl.h")]
1185 public static void cogl_clip_set (Clutter.Fixed x_offset, Clutter.Fixed y_offset, Clutter.Fixed width, Clutter.Fixed height);
1186 [CCode (cname = "cogl_clip_unset", cheader_filename = "clutter/cogl.h")]
1187 public static void cogl_clip_unset ();
1188 [CCode (cname = "cogl_color", cheader_filename = "clutter/cogl.h")]
1189 public static void cogl_color (Clutter.Color color);
1190 [CCode (cname = "cogl_create_program", cheader_filename = "clutter/cogl.h")]
1191 public static weak Clutter.COGLhandle cogl_create_program ();
1192 [CCode (cname = "cogl_create_shader", cheader_filename = "clutter/cogl.h")]
1193 public static weak Clutter.COGLhandle cogl_create_shader (int shaderType);
1194 [CCode (cname = "cogl_enable", cheader_filename = "clutter/cogl.h")]
1195 public static void cogl_enable (ulong flags);
1196 [CCode (cname = "cogl_enable_depth_test", cheader_filename = "clutter/cogl.h")]
1197 public static void cogl_enable_depth_test (bool setting);
1198 [CCode (cname = "cogl_fog_set", cheader_filename = "clutter/cogl.h")]
1199 public static void cogl_fog_set (Clutter.Color fog_color, Clutter.Fixed density, Clutter.Fixed z_near, Clutter.Fixed z_far);
1200 [CCode (cname = "cogl_get_bitmasks", cheader_filename = "clutter/cogl.h")]
1201 public static void cogl_get_bitmasks (int red, int green, int blue, int alpha);
1202 [CCode (cname = "cogl_get_features", cheader_filename = "clutter/cogl.h")]
1203 public static Clutter.FeatureFlags cogl_get_features ();
1204 [CCode (cname = "cogl_get_modelview_matrix", cheader_filename =
1206 public static void cogl_get_modelview_matrix (Clutter.Fixed[] m);
1207 [CCode (cname = "cogl_get_proc_address", cheader_filename = "clutter/cogl.h")]
1208 public static Clutter.CoglFuncPtr cogl_get_proc_address (string name);
1209 [CCode (cname = "cogl_get_projection_matrix", cheader_filename =
1211 public static void cogl_get_projection_matrix (Clutter.Fixed[] m);
1212 [CCode (cname = "cogl_get_viewport", cheader_filename = "clutter/cogl.h")]
1213 public static void cogl_get_viewport (Clutter.Fixed[] v);
1214 [CCode (cname = "cogl_offscreen_create", cheader_filename = "clutter/cogl.h")]
1215 public static weak uint cogl_offscreen_create (uint target_texture);
1216 [CCode (cname = "cogl_offscreen_destroy", cheader_filename = "clutter/cogl.h")]
1217 public static void cogl_offscreen_destroy (uint offscreen_handle);
1218 [CCode (cname = "cogl_offscreen_redirect_end", cheader_filename =
1220 public static void cogl_offscreen_redirect_end (uint offscreen_handle, int width, int height);
1221 [CCode (cname = "cogl_offscreen_redirect_start", cheader_filename =
1223 public static void cogl_offscreen_redirect_start (uint offscreen_handle, int width, int height);
1224 [CCode (cname = "cogl_paint_init", cheader_filename = "clutter/cogl.h")]
1225 public static void cogl_paint_init (Clutter.Color color);
1226 [CCode (cname = "cogl_perspective", cheader_filename = "clutter/cogl.h")]
1227 public static void cogl_perspective (Clutter.Fixed fovy, Clutter.Fixed aspect, Clutter.Fixed zNear, Clutter.Fixed zFar);
1228 [CCode (cname = "cogl_pop_matrix", cheader_filename = "clutter/cogl.h")]
1229 public static void cogl_pop_matrix ();
1230 [CCode (cname = "cogl_program_attach_shader", cheader_filename =
1232 public static void cogl_program_attach_shader (Clutter.COGLhandle program_handle, Clutter.COGLhandle shader_handle);
1233 [CCode (cname = "cogl_program_destroy", cheader_filename = "clutter/cogl.h")]
1234 public static void cogl_program_destroy (Clutter.COGLhandle handle);
1235 [CCode (cname = "cogl_program_get_uniform_location", cheader_filename =
1237 public static weak int cogl_program_get_uniform_location (Clutter.COGLhandle program_int, string uniform_name);
1238 [CCode (cname = "cogl_program_link", cheader_filename = "clutter/cogl.h")]
1239 public static void cogl_program_link (Clutter.COGLhandle program_handle);
1240 [CCode (cname = "cogl_program_uniform_1f", cheader_filename =
1242 public static void cogl_program_uniform_1f (int uniform_no, float value);
1243 [CCode (cname = "cogl_program_use", cheader_filename = "clutter/cogl.h")]
1244 public static void cogl_program_use (Clutter.COGLhandle program_handle);
1245 [CCode (cname = "cogl_push_matrix", cheader_filename = "clutter/cogl.h")]
1246 public static void cogl_push_matrix ();
1247 [CCode (cname = "cogl_rectangle", cheader_filename = "clutter/cogl.h")]
1248 public static void cogl_rectangle (int x, int y, uint width, uint height);
1249 [CCode (cname = "cogl_rotate", cheader_filename = "clutter/cogl.h")]
1250 public static void cogl_rotate (int angle, int x, int y, int z);
1251 [CCode (cname = "cogl_rotatex", cheader_filename = "clutter/cogl.h")]
1252 public static void cogl_rotatex (Clutter.Fixed angle, int x, int y, int z);
1253 [CCode (cname = "cogl_scale", cheader_filename = "clutter/cogl.h")]
1254 public static void cogl_scale (Clutter.Fixed x, Clutter.Fixed z);
1255 [CCode (cname = "cogl_setup_viewport", cheader_filename = "clutter/cogl.h")]
1256 public static void cogl_setup_viewport (uint width, uint height, Clutter.Fixed fovy, Clutter.Fixed aspect, Clutter.Fixed z_near, Clutter.Fixed z_far);
1257 [CCode (cname = "cogl_shader_compile", cheader_filename = "clutter/cogl.h")]
1258 public static void cogl_shader_compile (Clutter.COGLhandle shader_handle);
1259 [CCode (cname = "cogl_shader_destroy", cheader_filename = "clutter/cogl.h")]
1260 public static void cogl_shader_destroy (Clutter.COGLhandle handle);
1261 [CCode (cname = "cogl_shader_get_info_log", cheader_filename = "clutter/cogl.h")]
1262 public static void cogl_shader_get_info_log (Clutter.COGLhandle handle, uint size, string buffer);
1263 [CCode (cname = "cogl_shader_get_parameteriv", cheader_filename = "clutter/cogl.h")]
1264 public static void cogl_shader_get_parameteriv (Clutter.COGLhandle handle, int pname, int dest);
1265 [CCode (cname = "cogl_shader_source", cheader_filename = "clutter/cogl.h")]
1266 public static void cogl_shader_source (Clutter.COGLhandle shader, string source);
1267 [CCode (cname = "cogl_texture_bind", cheader_filename = "clutter/cogl.h")]
1268 public static void cogl_texture_bind (int target, uint texture);
1269 [CCode (cname = "cogl_texture_can_size", cheader_filename = "clutter/cogl.h")]
1270 public static bool cogl_texture_can_size (int target, int pixel_format, int pixel_type, int width, int height);
1271 [CCode (cname = "cogl_texture_image_2d", cheader_filename = "clutter/cogl.h")]
1272 public static void cogl_texture_image_2d (int target, int
1273 internal_format, int width, int height, int format, int type, uchar
1275 [CCode (cname = "cogl_texture_quad", cheader_filename = "clutter/cogl.h")]
1276 public static void cogl_texture_quad (int x1, int x2, int y1, int y2, Clutter.Fixed tx1, Clutter.Fixed ty1, Clutter.Fixed tx2, Clutter.Fixed ty2);
1277 [CCode (cname = "cogl_texture_set_alignment", cheader_filename = "clutter/cogl.h")]
1278 public static void cogl_texture_set_alignment (int target, uint alignment, uint row_length);
1279 [CCode (cname = "cogl_texture_set_filters", cheader_filename = "clutter/cogl.h")]
1280 public static void cogl_texture_set_filters (int target, int min_filter, int max_filter);
1281 [CCode (cname = "cogl_texture_set_wrap", cheader_filename = "clutter/cogl.h")]
1282 public static void cogl_texture_set_wrap (int target, int wrap_s, int wrap_t);
1283 [CCode (cname = "cogl_texture_sub_image_2d", cheader_filename = "clutter/cogl.h")]
1284 public static void cogl_texture_sub_image_2d (int target, int xoff, int
1285 yoff, int width, int height, int format, int type, uchar *pixels);
1286 [CCode (cname = "cogl_textures_create", cheader_filename = "clutter/cogl.h")]
1287 public static void cogl_textures_create (uint num, uint textures);
1288 [CCode (cname = "cogl_textures_destroy", cheader_filename = "clutter/cogl.h")]
1289 public static void cogl_textures_destroy (uint num, uint textures);
1290 [CCode (cname = "cogl_translate", cheader_filename = "clutter/cogl.h")]
1291 public static void cogl_translate (int x, int y, int z);
1292 [CCode (cname = "cogl_translatex", cheader_filename = "clutter/cogl.h")]
1293 public static void cogl_translatex (Clutter.Fixed x, Clutter.Fixed y, Clutter.Fixed z);
1294 [CCode (cname = "cogl_trapezoid", cheader_filename = "clutter/cogl.h")]
1295 public static void cogl_trapezoid (int y1, int x11, int x21, int y2, int x12, int x22);
1296 [CCode (cheader_filename = "clutter/clutter.h")]
1297 public static void do_event (Clutter.Event event);
1298 [CCode (cheader_filename = "clutter/clutter.h")]
1299 public static weak Clutter.Timeline effect_depth (Clutter.EffectTemplate template_, Clutter.Actor actor, int depth_end, Clutter.EffectCompleteFunc func, pointer data);
1300 [CCode (cheader_filename = "clutter/clutter.h")]
1301 public static weak Clutter.Timeline effect_fade (Clutter.EffectTemplate template_, Clutter.Actor actor, uchar opacity_end, Clutter.EffectCompleteFunc func, pointer data);
1302 [CCode (cheader_filename = "clutter/clutter.h")]
1303 public static weak Clutter.Timeline effect_move (Clutter.EffectTemplate template_, Clutter.Actor actor, int x, int y, Clutter.EffectCompleteFunc func, pointer data);
1304 [CCode (cheader_filename = "clutter/clutter.h")]
1305 public static weak Clutter.Timeline effect_path (Clutter.EffectTemplate template_, Clutter.Actor actor, Clutter.Knot[] knots, Clutter.EffectCompleteFunc func, pointer data);
1306 [CCode (cheader_filename = "clutter/clutter.h")]
1307 public static weak Clutter.Timeline effect_rotate (Clutter.EffectTemplate template_, Clutter.Actor actor, Clutter.RotateAxis axis, double angle, int center_x, int center_y, int center_z, Clutter.RotateDirection direction, Clutter.EffectCompleteFunc func, pointer data);
1308 [CCode (cheader_filename = "clutter/clutter.h")]
1309 public static weak Clutter.Timeline effect_scale (Clutter.EffectTemplate template_, Clutter.Actor actor, double x_scale_end, double y_scale_end, Clutter.EffectCompleteFunc func, pointer data);
1310 [CCode (cheader_filename = "clutter/clutter.h")]
1311 public static bool events_pending ();
1312 [CCode (cheader_filename = "clutter/clutter.h")]
1313 public static uint exp_dec_func (Clutter.Alpha alpha, pointer dummy);
1314 [CCode (cheader_filename = "clutter/clutter.h")]
1315 public static uint exp_inc_func (Clutter.Alpha alpha, pointer dummy);
1316 [CCode (cheader_filename = "clutter/clutter.h")]
1317 public static bool feature_available (Clutter.FeatureFlags feature);
1318 [CCode (cheader_filename = "clutter/clutter.h")]
1319 public static Clutter.FeatureFlags feature_get_all ();
1320 [CCode (cheader_filename = "clutter/clutter.h")]
1321 public static weak Clutter.Actor get_actor_by_gid (uint id);
1322 [CCode (cheader_filename = "clutter/clutter.h")]
1323 public static bool get_debug_enabled ();
1324 [CCode (cheader_filename = "clutter/clutter.h")]
1325 public static weak Clutter.Backend get_default_backend ();
1326 [CCode (cheader_filename = "clutter/clutter.h")]
1327 public static uint get_default_frame_rate ();
1328 [CCode (cheader_filename = "clutter/clutter.h")]
1329 public static weak Clutter.Actor get_keyboard_grab ();
1330 [CCode (cheader_filename = "clutter/clutter.h")]
1331 public static bool get_motion_events_enabled ();
1332 [CCode (cheader_filename = "clutter/clutter.h")]
1333 public static uint get_motion_events_frequency ();
1334 [CCode (cheader_filename = "clutter/clutter.h")]
1335 public static weak GLib.OptionGroup get_option_group ();
1336 [CCode (cheader_filename = "clutter/clutter.h")]
1337 public static weak Clutter.Actor get_pointer_grab ();
1338 [CCode (cheader_filename = "clutter/clutter.h")]
1339 public static weak string get_script_id (GLib.Object gobject);
1340 [CCode (cheader_filename = "clutter/clutter.h")]
1341 public static bool get_show_fps ();
1342 [CCode (cheader_filename = "clutter/clutter.h")]
1343 public static ulong get_timestamp ();
1344 [CCode (cheader_filename = "clutter/clutter.h")]
1345 public static void grab_keyboard (Clutter.Actor actor);
1346 [CCode (cheader_filename = "clutter/clutter.h")]
1347 public static void grab_pointer (Clutter.Actor actor);
1348 [CCode (cheader_filename = "clutter/clutter.h")]
1349 public static GLib.Quark init_error_quark ();
1350 [CCode (cheader_filename = "clutter/clutter.h")]
1351 public static Clutter.InitError init_with_args (int argc, string[] argv, string parameter_string, GLib.OptionEntry entries, string translation_domain) throws GLib.Error;
1352 [CCode (cheader_filename = "clutter/clutter.h")]
1353 public static uint keysym_to_unicode (uint keyval);
1354 [CCode (cheader_filename = "clutter/clutter.h")]
1355 public static Clutter.Fixed log2x (uint x);
1356 [CCode (cheader_filename = "clutter/clutter.h")]
1357 public static void main ();
1358 [CCode (cheader_filename = "clutter/clutter.h")]
1359 public static int main_level ();
1360 [CCode (cheader_filename = "clutter/clutter.h")]
1361 public static void main_quit ();
1362 [CCode (cheader_filename = "clutter/clutter.h")]
1363 public static uint pow2x (Clutter.Fixed x);
1364 [CCode (cheader_filename = "clutter/clutter.h")]
1365 public static uint powx (uint x, Clutter.Fixed y);
1366 [CCode (cheader_filename = "clutter/clutter.h")]
1367 public static Clutter.Fixed qdivx (Clutter.Fixed op1, Clutter.Fixed op2);
1368 [CCode (cheader_filename = "clutter/clutter.h")]
1369 public static Clutter.Fixed qmulx (Clutter.Fixed op1, Clutter.Fixed op2);
1370 [CCode (cheader_filename = "clutter/clutter.h")]
1371 public static uint ramp_dec_func (Clutter.Alpha alpha, pointer dummy);
1372 [CCode (cheader_filename = "clutter/clutter.h")]
1373 public static uint ramp_func (Clutter.Alpha alpha, pointer dummy);
1374 [CCode (cheader_filename = "clutter/clutter.h")]
1375 public static uint ramp_inc_func (Clutter.Alpha alpha, pointer dummy);
1376 [CCode (cheader_filename = "clutter/clutter.h")]
1377 public static void redraw ();
1378 [CCode (cheader_filename = "clutter/clutter.h")]
1379 public static void set_default_frame_rate (uint frames_per_sec);
1380 [CCode (cheader_filename = "clutter/clutter.h")]
1381 public static void set_motion_events_enabled (bool enable);
1382 [CCode (cheader_filename = "clutter/clutter.h")]
1383 public static void set_motion_events_frequency (uint frequency);
1384 [CCode (cheader_filename = "clutter/clutter.h")]
1385 public static uint sine_dec_func (Clutter.Alpha alpha, pointer dummy);
1386 [CCode (cheader_filename = "clutter/clutter.h")]
1387 public static uint sine_func (Clutter.Alpha alpha, pointer dummy);
1388 [CCode (cheader_filename = "clutter/clutter.h")]
1389 public static uint sine_half_func (Clutter.Alpha alpha, pointer dummy);
1390 [CCode (cheader_filename = "clutter/clutter.h")]
1391 public static uint sine_inc_func (Clutter.Alpha alpha, pointer dummy);
1392 [CCode (cheader_filename = "clutter/clutter.h")]
1393 public static Clutter.Fixed sini (Clutter.Angle angle);
1394 [CCode (cheader_filename = "clutter/clutter.h")]
1395 public static Clutter.Fixed sinx (Clutter.Fixed angle);
1396 [CCode (cheader_filename = "clutter/clutter.h")]
1397 public static uint smoothstep_dec_func (Clutter.Alpha alpha, pointer dummy);
1398 [CCode (cheader_filename = "clutter/clutter.h")]
1399 public static uint smoothstep_inc_func (Clutter.Alpha alpha, pointer dummy);
1400 [CCode (cheader_filename = "clutter/clutter.h")]
1401 public static int sqrti (int x);
1402 [CCode (cheader_filename = "clutter/clutter.h")]
1403 public static Clutter.Fixed sqrtx (Clutter.Fixed x);
1404 [CCode (cheader_filename = "clutter/clutter.h")]
1405 public static uint square_func (Clutter.Alpha alpha, pointer dummy);
1406 [CCode (cheader_filename = "clutter/clutter.h")]
1407 public static Clutter.Fixed tani (Clutter.Angle angle);
1408 [CCode (cheader_filename = "clutter/clutter.h")]
1409 public static uint threads_add_idle (GLib.SourceFunc func, pointer data);
1410 [CCode (cheader_filename = "clutter/clutter.h")]
1411 public static uint threads_add_idle_full (int priority, GLib.SourceFunc func, pointer data, GLib.DestroyNotify notify);
1412 [CCode (cheader_filename = "clutter/clutter.h")]
1413 public static uint threads_add_timeout (uint interval, GLib.SourceFunc func, pointer data);
1414 [CCode (cheader_filename = "clutter/clutter.h")]
1415 public static uint threads_add_timeout_full (int priority, uint interval, GLib.SourceFunc func, pointer data, GLib.DestroyNotify notify);
1416 [CCode (cheader_filename = "clutter/clutter.h")]
1417 public static void threads_enter ();
1418 [CCode (cheader_filename = "clutter/clutter.h")]
1419 public static void threads_init ();
1420 [CCode (cheader_filename = "clutter/clutter.h")]
1421 public static void threads_leave ();
1422 [CCode (cheader_filename = "clutter/clutter.h")]
1423 public static void threads_set_lock_functions (GLib.Callback enter_fn, GLib.Callback leave_fn);
1424 [CCode (cheader_filename = "clutter/clutter.h")]
1425 public static void ungrab_keyboard ();
1426 [CCode (cheader_filename = "clutter/clutter.h")]
1427 public static void ungrab_pointer ();
1428 [CCode (cheader_filename = "clutter/clutter.h")]
1429 public static int util_next_p2 (int a);