2006-05-29 04:59:36 -04:00
|
|
|
;; -*- scheme -*-
|
|
|
|
|
|
|
|
(include "clutter-base-types.defs")
|
|
|
|
|
|
|
|
;; From ../../clutter/clutter-keysyms.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; From ../../clutter/clutter-timeline.h
|
|
|
|
|
|
|
|
(define-function clutter_timeline_get_type
|
|
|
|
(c-name "clutter_timeline_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function clutter_timeline_new
|
|
|
|
(c-name "clutter_timeline_new")
|
|
|
|
(is-constructor-of "ClutterTimeline")
|
|
|
|
(return-type "ClutterTimeline*")
|
|
|
|
(properties
|
2006-06-06 16:36:19 -04:00
|
|
|
'("num-frames" (argname "frames"))
|
2006-05-29 04:59:36 -04:00
|
|
|
'("fps" (argsname "fps"))
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_speed
|
|
|
|
(of-object "ClutterTimeline")
|
|
|
|
(c-name "clutter_timeline_set_speed")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("guint" "fps")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method start
|
|
|
|
(of-object "ClutterTimeline")
|
|
|
|
(c-name "clutter_timeline_start")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method pause
|
|
|
|
(of-object "ClutterTimeline")
|
|
|
|
(c-name "clutter_timeline_pause")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method stop
|
|
|
|
(of-object "ClutterTimeline")
|
|
|
|
(c-name "clutter_timeline_stop")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_loop
|
|
|
|
(of-object "ClutterTimeline")
|
|
|
|
(c-name "clutter_timeline_set_loop")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gboolean" "loop")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-06-22 06:58:09 -04:00
|
|
|
(define-method get_loop
|
|
|
|
(of-object "ClutterTimeline")
|
|
|
|
(c-name "clutter_timeline_get_loop")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
2006-05-29 04:59:36 -04:00
|
|
|
(define-method rewind
|
|
|
|
(of-object "ClutterTimeline")
|
|
|
|
(c-name "clutter_timeline_rewind")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method skip
|
|
|
|
(of-object "ClutterTimeline")
|
|
|
|
(c-name "clutter_timeline_skip")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("guint" "nframes")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method advance
|
|
|
|
(of-object "ClutterTimeline")
|
|
|
|
(c-name "clutter_timeline_advance")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("guint" "frame_num")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_current_frame
|
|
|
|
(of-object "ClutterTimeline")
|
|
|
|
(c-name "clutter_timeline_get_current_frame")
|
|
|
|
(return-type "gint")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_n_frames
|
|
|
|
(of-object "ClutterTimeline")
|
|
|
|
(c-name "clutter_timeline_get_n_frames")
|
|
|
|
(return-type "guint")
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; From ../../clutter/clutter-main.h
|
|
|
|
|
|
|
|
(define-function clutter_init
|
|
|
|
(c-name "clutter_init")
|
|
|
|
(return-type "int")
|
|
|
|
(parameters
|
|
|
|
'("int*" "argc")
|
|
|
|
'("char***" "argv")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function main
|
|
|
|
(c-name "clutter_main")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
(define-function main_quit
|
|
|
|
(c-name "clutter_main_quit")
|
|
|
|
(return-type "none")
|
2006-05-29 04:59:36 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-function redraw
|
|
|
|
(c-name "clutter_redraw")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function xdisplay
|
|
|
|
(c-name "clutter_xdisplay")
|
|
|
|
(return-type "Display*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function xscreen
|
|
|
|
(c-name "clutter_xscreen")
|
|
|
|
(return-type "int")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function root_xwindow
|
|
|
|
(c-name "clutter_root_xwindow")
|
|
|
|
(return-type "Window")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function gl_context
|
|
|
|
(c-name "clutter_gl_context")
|
|
|
|
(return-type "GLXContext")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function want_debug
|
|
|
|
(c-name "clutter_want_debug")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function threads_enter
|
|
|
|
(c-name "clutter_threads_enter")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function threads_leave
|
|
|
|
(c-name "clutter_threads_leave")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; From ../../clutter/clutter-event.h
|
|
|
|
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
(define-function clutter_event_new
|
|
|
|
(c-name "clutter_event_new")
|
|
|
|
(is-constructor-of "ClutterEvent")
|
|
|
|
(return-type "ClutterEvent*")
|
|
|
|
(parameters
|
|
|
|
'("ClutterEventType" "type")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method copy
|
|
|
|
(of-object "ClutterEvent")
|
|
|
|
(c-name "clutter_event_copy")
|
|
|
|
(return-type "ClutterEvent*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method free
|
|
|
|
(of-object "ClutterEvent")
|
|
|
|
(c-name "clutter_event_free")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
2006-05-29 04:59:36 -04:00
|
|
|
(define-method type
|
|
|
|
(of-object "ClutterKeyEvent")
|
|
|
|
(c-name "clutter_key_event_type")
|
|
|
|
(return-type "ClutterEventType")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method time
|
|
|
|
(of-object "ClutterKeyEvent")
|
|
|
|
(c-name "clutter_key_event_time")
|
|
|
|
(return-type "guint32")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method state
|
|
|
|
(of-object "ClutterKeyEvent")
|
|
|
|
(c-name "clutter_key_event_state")
|
|
|
|
(return-type "guint")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method symbol
|
|
|
|
(of-object "ClutterKeyEvent")
|
|
|
|
(c-name "clutter_key_event_symbol")
|
|
|
|
(return-type "guint")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method code
|
|
|
|
(of-object "ClutterKeyEvent")
|
|
|
|
(c-name "clutter_key_event_code")
|
|
|
|
(return-type "guint16")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method unicode
|
|
|
|
(of-object "ClutterKeyEvent")
|
|
|
|
(c-name "clutter_key_event_unicode")
|
|
|
|
(return-type "guint32")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function clutter_keysym_to_unicode
|
|
|
|
(c-name "clutter_keysym_to_unicode")
|
|
|
|
(return-type "guint32")
|
|
|
|
(parameters
|
|
|
|
'("guint" "keyval")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-06-13 09:17:45 -04:00
|
|
|
;; From ../../clutter/clutter-actor.h
|
2006-05-29 04:59:36 -04:00
|
|
|
|
|
|
|
(define-function clutter_geometry_get_type
|
|
|
|
(c-name "clutter_geometry_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
;;(define-function geometry_new
|
|
|
|
;; (c-name "clutter_geometry_new")
|
|
|
|
;; (is-constructor-of "ClutterGeometry")
|
|
|
|
;; (return-type "ClutterGeometry")
|
|
|
|
;;)
|
2006-05-29 04:59:36 -04:00
|
|
|
|
2006-06-13 09:17:45 -04:00
|
|
|
(define-function clutter_actor_box_get_type
|
|
|
|
(c-name "clutter_actor_box_get_type")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2006-06-13 09:17:45 -04:00
|
|
|
;;(define-function actor_box_new
|
|
|
|
;; (c-name "clutter_actor_box_new")
|
|
|
|
;; (is-constructor-of "ClutterActorBox")
|
|
|
|
;; (return-type "ClutterActorBox")
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
;;)
|
2006-05-29 04:59:36 -04:00
|
|
|
|
2006-06-13 09:17:45 -04:00
|
|
|
(define-function clutter_actor_get_type
|
|
|
|
(c-name "clutter_actor_get_type")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method show
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_show")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method hide
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_hide")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method realize
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_realize")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method unrealize
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_unrealize")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method paint
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_paint")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method queue_redraw
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_queue_redraw")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method request_coords
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_request_coords")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2006-06-13 09:17:45 -04:00
|
|
|
'("ClutterActorBox*" "box")
|
2006-05-29 04:59:36 -04:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method allocate_coords
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_allocate_coords")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2006-06-13 09:17:45 -04:00
|
|
|
'("ClutterActorBox*" "box")
|
2006-05-29 04:59:36 -04:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_geometry
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_set_geometry")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("ClutterGeometry*" "geom")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_geometry
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_get_geometry")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("ClutterGeometry*" "geom")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_coords
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_get_coords")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gint*" "x1")
|
|
|
|
'("gint*" "y1")
|
|
|
|
'("gint*" "x2")
|
|
|
|
'("gint*" "y2")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_position
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_set_position")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gint" "x")
|
|
|
|
'("gint" "y")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_size
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_set_size")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gint" "width")
|
|
|
|
'("gint" "height")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_abs_position
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_get_abs_position")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gint*" "x")
|
|
|
|
'("gint*" "y")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_width
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_get_width")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "guint")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_height
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_get_height")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "guint")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_x
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_get_x")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "gint")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_y
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_get_y")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "gint")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method rotate_z
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_rotate_z")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gfloat" "angle")
|
|
|
|
'("gint" "x")
|
|
|
|
'("gint" "y")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method rotate_x
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_rotate_x")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gfloat" "angle")
|
|
|
|
'("gint" "y")
|
|
|
|
'("gint" "z")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method rotate_y
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_rotate_y")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gfloat" "angle")
|
|
|
|
'("gint" "x")
|
|
|
|
'("gint" "z")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_opacity
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_set_opacity")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("guint8" "opacity")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_opacity
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_get_opacity")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "guint8")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_name
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_set_name")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "id")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_name
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_get_name")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "const-gchar*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_id
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_get_id")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "guint32")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_clip
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_set_clip")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gint" "xoff")
|
|
|
|
'("gint" "yoff")
|
|
|
|
'("gint" "width")
|
|
|
|
'("gint" "height")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method remove_clip
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_remove_clip")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_parent
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_set_parent")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2006-06-13 09:17:45 -04:00
|
|
|
'("ClutterActor*" "parent")
|
2006-05-29 04:59:36 -04:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_parent
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_get_parent")
|
|
|
|
(return-type "ClutterActor*")
|
2006-05-29 04:59:36 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-method raise
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_raise")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2006-06-13 09:17:45 -04:00
|
|
|
'("ClutterActor*" "below")
|
2006-05-29 04:59:36 -04:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method lower
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_lower")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2006-06-13 09:17:45 -04:00
|
|
|
'("ClutterActor*" "above")
|
2006-05-29 04:59:36 -04:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method raise_top
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_raise_top")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method lower_bottom
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_lower_bottom")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
2006-06-06 16:36:19 -04:00
|
|
|
(define-method set_depth
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_set_depth")
|
2006-06-06 16:36:19 -04:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gint" "depth")
|
|
|
|
)
|
|
|
|
)
|
2006-05-29 04:59:36 -04:00
|
|
|
|
2006-06-06 16:36:19 -04:00
|
|
|
(define-method get_depth
|
2006-06-13 09:17:45 -04:00
|
|
|
(of-object "ClutterActor")
|
|
|
|
(c-name "clutter_actor_get_depth")
|
2006-06-06 16:36:19 -04:00
|
|
|
(return-type "gint")
|
|
|
|
)
|
2006-05-29 04:59:36 -04:00
|
|
|
|
|
|
|
;; From ../../clutter/clutter-rectangle.h
|
|
|
|
|
|
|
|
(define-function clutter_rectangle_new
|
|
|
|
(c-name "clutter_rectangle_new")
|
|
|
|
(is-constructor-of "ClutterRectangle")
|
2006-06-13 09:17:45 -04:00
|
|
|
(return-type "ClutterActor*")
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-function clutter_rectangle_new_with_color
|
|
|
|
(c-name "clutter_rectangle_new_with_color")
|
|
|
|
(is-constructor-of "ClutterRectangle")
|
2006-06-13 09:17:45 -04:00
|
|
|
(return-type "ClutterActor*")
|
2006-05-29 04:59:36 -04:00
|
|
|
(properties
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
'("color" (argname "color"))
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_color
|
|
|
|
(of-object "ClutterRectangle")
|
|
|
|
(c-name "clutter_rectangle_get_color")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("ClutterColor*" "color")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_color
|
|
|
|
(of-object "ClutterRectangle")
|
|
|
|
(c-name "clutter_rectangle_set_color")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("const-ClutterColor*" "color")
|
2006-05-29 04:59:36 -04:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; From ../../clutter/clutter-texture.h
|
|
|
|
|
|
|
|
(define-function clutter_texture_get_type
|
|
|
|
(c-name "clutter_texture_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function clutter_texture_new_from_pixbuf
|
|
|
|
(c-name "clutter_texture_new_from_pixbuf")
|
2006-06-13 09:17:45 -04:00
|
|
|
(return-type "ClutterActor*")
|
2006-05-29 04:59:36 -04:00
|
|
|
(parameters
|
|
|
|
'("GdkPixbuf*" "pixbuf")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function clutter_texture_new
|
|
|
|
(c-name "clutter_texture_new")
|
|
|
|
(is-constructor-of "ClutterTexture")
|
2006-06-13 09:17:45 -04:00
|
|
|
(return-type "ClutterActor*")
|
2006-05-29 04:59:36 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_pixbuf
|
|
|
|
(of-object "ClutterTexture")
|
|
|
|
(c-name "clutter_texture_set_pixbuf")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GdkPixbuf*" "pixbuf")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_pixbuf
|
|
|
|
(of-object "ClutterTexture")
|
|
|
|
(c-name "clutter_texture_get_pixbuf")
|
|
|
|
(return-type "GdkPixbuf*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_base_size
|
|
|
|
(of-object "ClutterTexture")
|
|
|
|
(c-name "clutter_texture_get_base_size")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gint*" "width")
|
|
|
|
'("gint*" "height")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method bind_tile
|
|
|
|
(of-object "ClutterTexture")
|
|
|
|
(c-name "clutter_texture_bind_tile")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gint" "index")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_n_tiles
|
|
|
|
(of-object "ClutterTexture")
|
|
|
|
(c-name "clutter_texture_get_n_tiles")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gint*" "n_x_tiles")
|
|
|
|
'("gint*" "n_y_tiles")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_x_tile_detail
|
|
|
|
(of-object "ClutterTexture")
|
|
|
|
(c-name "clutter_texture_get_x_tile_detail")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gint" "x_index")
|
|
|
|
'("gint*" "pos")
|
|
|
|
'("gint*" "size")
|
|
|
|
'("gint*" "waste")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_y_tile_detail
|
|
|
|
(of-object "ClutterTexture")
|
|
|
|
(c-name "clutter_texture_get_y_tile_detail")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gint" "y_index")
|
|
|
|
'("gint*" "pos")
|
|
|
|
'("gint*" "size")
|
|
|
|
'("gint*" "waste")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method has_generated_tiles
|
|
|
|
(of-object "ClutterTexture")
|
|
|
|
(c-name "clutter_texture_has_generated_tiles")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method is_tiled
|
|
|
|
(of-object "ClutterTexture")
|
|
|
|
(c-name "clutter_texture_is_tiled")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; From ../../clutter/clutter-color.h
|
|
|
|
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
(define-function clutter_color_get_type
|
|
|
|
(c-name "clutter_color_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method add
|
|
|
|
(of-object "ClutterColor")
|
|
|
|
(c-name "clutter_color_add")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("ClutterColor*" "src2")
|
|
|
|
'("ClutterColor*" "dest")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method subtract
|
|
|
|
(of-object "ClutterColor")
|
|
|
|
(c-name "clutter_color_subtract")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("ClutterColor*" "src2")
|
|
|
|
'("ClutterColor*" "dest")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method lighten
|
|
|
|
(of-object "ClutterColor")
|
|
|
|
(c-name "clutter_color_lighten")
|
|
|
|
(return-type "none")
|
2006-05-29 04:59:36 -04:00
|
|
|
(parameters
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
'("ClutterColor*" "dest")
|
2006-05-29 04:59:36 -04:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
(define-method darken
|
2006-05-29 04:59:36 -04:00
|
|
|
(of-object "ClutterColor")
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
(c-name "clutter_color_darken")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
'("ClutterColor*" "dest")
|
2006-05-29 04:59:36 -04:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
(define-method shade
|
2006-05-29 04:59:36 -04:00
|
|
|
(of-object "ClutterColor")
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
(c-name "clutter_color_shade")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("ClutterColor*" "dest")
|
|
|
|
'("gdouble" "shade")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function color_to_hls
|
|
|
|
(c-name "clutter_color_to_hls")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("guint8*" "hue")
|
|
|
|
'("guint8*" "luminance")
|
|
|
|
'("guint8*" "saturation")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function color_from_hls
|
|
|
|
(c-name "clutter_color_from_hls")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("guint8" "hue")
|
|
|
|
'("guint8" "luminance")
|
|
|
|
'("guint8" "saturation")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function color_to_pixel
|
|
|
|
(c-name "clutter_color_to_pixel")
|
|
|
|
(return-type "guint32")
|
|
|
|
(parameters
|
|
|
|
'("ClutterColor" "src")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function color_from_pixel
|
|
|
|
(c-name "clutter_color_from_pixel")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
'("ClutterColor" "dest")
|
|
|
|
'("guint32" "pixel")
|
2006-05-29 04:59:36 -04:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
|
2006-05-29 04:59:36 -04:00
|
|
|
;; From ../../clutter/clutter-clone-texture.h
|
|
|
|
|
|
|
|
(define-function clutter_clone_texture_get_type
|
|
|
|
(c-name "clutter_clone_texture_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function clutter_clone_texture_new
|
|
|
|
(c-name "clutter_clone_texture_new")
|
|
|
|
(is-constructor-of "ClutterCloneTexture")
|
2006-06-13 09:17:45 -04:00
|
|
|
(return-type "ClutterActor*")
|
2006-05-29 04:59:36 -04:00
|
|
|
(properties
|
|
|
|
'("parent-texture" (argname "texture"))
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
;; From ../../clutter/clutter-label.h
|
|
|
|
|
|
|
|
(define-function clutter_label_get_type
|
|
|
|
(c-name "clutter_label_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function clutter_label_new
|
|
|
|
(c-name "clutter_label_new")
|
|
|
|
(is-constructor-of "ClutterLabel")
|
2006-06-13 09:17:45 -04:00
|
|
|
(return-type "ClutterActor*")
|
2006-05-29 04:59:36 -04:00
|
|
|
)
|
|
|
|
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
(define-function clutter_label_new_with_text
|
|
|
|
(c-name "clutter_label_new_with_text")
|
2006-06-13 09:17:45 -04:00
|
|
|
(return-type "ClutterActor*")
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
(is-constructor-of "ClutterLabel")
|
|
|
|
(properties
|
|
|
|
'("font-name" (argname "name") (optional))
|
|
|
|
'("text" (argname "str") (optional))
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-05-29 04:59:36 -04:00
|
|
|
(define-method set_text
|
|
|
|
(of-object "ClutterLabel")
|
|
|
|
(c-name "clutter_label_set_text")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "text")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
(define-method get_text
|
2006-05-29 04:59:36 -04:00
|
|
|
(of-object "ClutterLabel")
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
(c-name "clutter_label_get_text")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_font_name
|
|
|
|
(of-object "ClutterLabel")
|
|
|
|
(c-name "clutter_label_set_font_name")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
'("const-gchar*" "font_name")
|
2006-05-29 04:59:36 -04:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
(define-method get_font_name
|
|
|
|
(of-object "ClutterLabel")
|
|
|
|
(c-name "clutter_label_get_font_name")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
)
|
|
|
|
|
2006-05-29 04:59:36 -04:00
|
|
|
(define-method set_color
|
|
|
|
(of-object "ClutterLabel")
|
|
|
|
(c-name "clutter_label_set_color")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
'("const-ClutterColor*" "color")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_color
|
|
|
|
(of-object "ClutterLabel")
|
|
|
|
(c-name "clutter_label_get_color")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("ClutterColor*" "color")
|
2006-05-29 04:59:36 -04:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_text_extents
|
|
|
|
(of-object "ClutterLabel")
|
|
|
|
(c-name "clutter_label_set_text_extents")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gint" "width")
|
|
|
|
'("gint" "height")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
(define-method get_text_extents
|
|
|
|
(of-object "ClutterLabel")
|
|
|
|
(c-name "clutter_label_get_text_extents")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gint*" "width")
|
|
|
|
'("gint*" "height")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-05-29 04:59:36 -04:00
|
|
|
|
|
|
|
|
|
|
|
;; From ../../clutter/clutter-group.h
|
|
|
|
|
|
|
|
(define-function clutter_group_get_type
|
|
|
|
(c-name "clutter_group_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function clutter_group_new
|
|
|
|
(c-name "clutter_group_new")
|
|
|
|
(is-constructor-of "ClutterGroup")
|
|
|
|
(return-type "ClutterGroup*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method add
|
|
|
|
(of-object "ClutterGroup")
|
|
|
|
(c-name "clutter_group_add")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2006-06-13 09:17:45 -04:00
|
|
|
'("ClutterActor*" "actor")
|
2006-05-29 04:59:36 -04:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method add_many_valist
|
|
|
|
(of-object "ClutterGroup")
|
|
|
|
(c-name "clutter_group_add_many_valist")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2006-06-13 09:17:45 -04:00
|
|
|
'("ClutterActor*" "first_actor")
|
2006-05-29 04:59:36 -04:00
|
|
|
'("va_list" "args")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method add_many
|
|
|
|
(of-object "ClutterGroup")
|
|
|
|
(c-name "clutter_group_add_many")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2006-06-13 09:17:45 -04:00
|
|
|
'("ClutterActor*" "first_actor")
|
2006-05-29 04:59:36 -04:00
|
|
|
)
|
|
|
|
(varargs #t)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method remove
|
|
|
|
(of-object "ClutterGroup")
|
|
|
|
(c-name "clutter_group_remove")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2006-06-13 09:17:45 -04:00
|
|
|
'("ClutterActor*" "actor")
|
2006-05-29 04:59:36 -04:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method show_all
|
|
|
|
(of-object "ClutterGroup")
|
|
|
|
(c-name "clutter_group_show_all")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method hide_all
|
|
|
|
(of-object "ClutterGroup")
|
|
|
|
(c-name "clutter_group_hide_all")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method find_child_by_id
|
|
|
|
(of-object "ClutterGroup")
|
|
|
|
(c-name "clutter_group_find_child_by_id")
|
2006-06-13 09:17:45 -04:00
|
|
|
(return-type "ClutterActor*")
|
2006-05-29 04:59:36 -04:00
|
|
|
(parameters
|
|
|
|
'("guint" "id")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method raise
|
|
|
|
(of-object "ClutterGroup")
|
|
|
|
(c-name "clutter_group_raise")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2006-06-13 09:17:45 -04:00
|
|
|
'("ClutterActor*" "actor")
|
|
|
|
'("ClutterActor*" "sibling")
|
2006-05-29 04:59:36 -04:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method lower
|
|
|
|
(of-object "ClutterGroup")
|
|
|
|
(c-name "clutter_group_lower")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2006-06-13 09:17:45 -04:00
|
|
|
'("ClutterActor*" "actor")
|
|
|
|
'("ClutterActor*" "sibling")
|
2006-05-29 04:59:36 -04:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; From ../../clutter/clutter-stage.h
|
|
|
|
|
|
|
|
(define-function clutter_stage_get_type
|
|
|
|
(c-name "clutter_stage_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
(define-function stage_get_default
|
|
|
|
(c-name "clutter_stage_get_default")
|
2006-06-13 09:17:45 -04:00
|
|
|
(return-type "ClutterActor*")
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
)
|
|
|
|
|
2006-05-29 04:59:36 -04:00
|
|
|
(define-method get_xwindow
|
|
|
|
(of-object "ClutterStage")
|
|
|
|
(c-name "clutter_stage_get_xwindow")
|
|
|
|
(return-type "Window")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_color
|
|
|
|
(of-object "ClutterStage")
|
|
|
|
(c-name "clutter_stage_set_color")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
'("const-ClutterColor*" "color")
|
2006-05-29 04:59:36 -04:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_color
|
|
|
|
(of-object "ClutterStage")
|
|
|
|
(c-name "clutter_stage_get_color")
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("ClutterColor*" "color")
|
|
|
|
)
|
2006-05-29 04:59:36 -04:00
|
|
|
)
|
|
|
|
|
2006-06-13 09:17:45 -04:00
|
|
|
(define-method get_actor_at_pos
|
2006-05-29 04:59:36 -04:00
|
|
|
(of-object "ClutterStage")
|
2006-06-13 09:17:45 -04:00
|
|
|
(c-name "clutter_stage_get_actor_at_pos")
|
|
|
|
(return-type "ClutterActor*")
|
2006-05-29 04:59:36 -04:00
|
|
|
(parameters
|
|
|
|
'("gint" "x")
|
|
|
|
'("gint" "y")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-06-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-color.h:
* clutter-color.c: Reimplement ClutterColor as a boxed type;
add convenience API for color handling, like: add, subtract,
shade, HSL color-space conversion, packing and unpacking.
* clutter-private.h: Update ClutterMainContext, and export the
main context pointer here.
* clutter-rectangle.h:
* clutter-rectangle.c: Update the color-related code; make
clutter_rectangle_new() and empty constructor and provide
clutter_rectangle_new_with_color(); provide color setter
and getter API.
* clutter-label.h:
* clutter-label.c: Rename the "font" property to "font-name";
update the color-related code to the new ClutterColor object;
rename clutter_label_new() to clutter_label_new_with_text(),
and add setters and getters for the properties.
* clutter-marshal.list: Add VOID:OBJECT and VOID:BOXED marshallers
generators.
* clutter-stage.h:
* clutter-stage.c: Rework the API: provide a default constructor
for a singleton object, named clutter_stage_get_default(), which
supercedes the clutter_stage() function in clutter-main; provide
new events: button-press-event, button-release-event,
key-press-event and key-release-event; update the color-related
code;
(clutter_stage_snapshot): Allow negative width and height when
taking a snapshot (meaning: use full width/height).
(clutter_stage_get_element_at_pos): Rename clutter_stage_pick().
* clutter-element.c (clutter_element_paint): Clean up the
stage and color related code.
* clutter-event.h:
* clutter-event.c: Add generic ClutterAnyEvent type; add
clutter_event_new(), clutter_event_copy() and clutter_event_free();
make ClutterEvent a boxed type.
* clutter-main.h:
* clutter-main.c: Remove clutter_stage(); add clutter_main_quit(),
for cleanly quitting from clutter_main(); add multiple mainloops
support; allocate the ClutterCntx instead of adding it to the
stack; re-work the ClutterEvent dispatching.
* clutter-group.c (clutter_group_add), (clutter_group_remove): Keep
a reference on the element when added to a ClutterGroup.
* examples/rects.py
* examples/test.c:
* examples/test-text.c:
* examples/video-cube.c:
* examples/super-oh.c:
* examples/test-video.c: Update.
2006-06-05 09:38:31 -04:00
|
|
|
(define-method snapshot
|
|
|
|
(of-object "ClutterStage")
|
|
|
|
(c-name "clutter_stage_snapshot")
|
|
|
|
(return-type "GdkPixbuf*")
|
|
|
|
(parameters
|
|
|
|
'("gint" "x")
|
|
|
|
'("gint" "y")
|
|
|
|
'("gint" "width")
|
|
|
|
'("gint" "height")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-05-29 04:59:36 -04:00
|
|
|
|
|
|
|
|
|
|
|
;; From ../../clutter/clutter-enum-types.h
|
|
|
|
|
|
|
|
(define-function clutter_event_type_get_type
|
|
|
|
(c-name "clutter_event_type_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2006-06-13 09:17:45 -04:00
|
|
|
(define-function clutter_actor_transform_get_type
|
|
|
|
(c-name "clutter_actor_transform_get_type")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2006-06-13 09:17:45 -04:00
|
|
|
(define-function clutter_actor_flags_get_type
|
|
|
|
(c-name "clutter_actor_flags_get_type")
|
2006-05-29 04:59:36 -04:00
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function clutter_video_texture_error_get_type
|
|
|
|
(c-name "clutter_video_texture_error_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function clutter_video_texture_aspect_ratio_get_type
|
|
|
|
(c-name "clutter_video_texture_aspect_ratio_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function clutter_video_texture_metadata_type_get_type
|
|
|
|
(c-name "clutter_video_texture_metadata_type_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
|
|
|
|