clutter 2.0.0-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +129 -0
- data/lib/clutter.rb +145 -0
- data/lib/clutter/actor-iter.rb +33 -0
- data/lib/clutter/actor.rb +34 -0
- data/lib/clutter/animatable.rb +26 -0
- data/lib/clutter/cairo.rb +24 -0
- data/lib/clutter/color.rb +55 -0
- data/lib/clutter/event.rb +21 -0
- data/lib/clutter/point.rb +25 -0
- data/lib/clutter/text.rb +23 -0
- data/lib/clutter/threads.rb +38 -0
- data/sample/basic-actor.rb +125 -0
- data/sample/bin-layout.rb +215 -0
- data/sample/box-layout.rb +196 -0
- data/sample/canvas.rb +117 -0
- data/sample/constraints.rb +81 -0
- data/sample/drag-action.rb +177 -0
- data/sample/drop-action.rb +198 -0
- data/sample/easing-modes.rb +145 -0
- data/sample/flow-layout.rb +121 -0
- data/sample/grid-layout.rb +239 -0
- data/sample/image-content.rb +88 -0
- data/sample/pan-action.rb +100 -0
- data/sample/redhand.png +0 -0
- data/sample/rounded-rectangle.rb +90 -0
- data/sample/scroll-actor.rb +105 -0
- data/test/clutter-test-utils.rb +21 -0
- data/test/run-test.rb +50 -0
- data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
- data/vendor/local/bin/libcogl-12.dll +0 -0
- data/vendor/local/bin/libcogl-pango-12.dll +0 -0
- data/vendor/local/bin/libglut-0.dll +0 -0
- data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
- data/vendor/local/include/GL/freeglut.h +22 -0
- data/vendor/local/include/GL/freeglut_ext.h +239 -0
- data/vendor/local/include/GL/freeglut_std.h +636 -0
- data/vendor/local/include/GL/glut.h +21 -0
- data/vendor/local/include/clutter-1.0/cally/cally-actor.h +155 -0
- data/vendor/local/include/clutter-1.0/cally/cally-clone.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-factory.h +117 -0
- data/vendor/local/include/clutter-1.0/cally/cally-group.h +85 -0
- data/vendor/local/include/clutter-1.0/cally/cally-main.h +39 -0
- data/vendor/local/include/clutter-1.0/cally/cally-rectangle.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-root.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-stage.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-text.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-texture.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-util.h +80 -0
- data/vendor/local/include/clutter-1.0/cally/cally.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-action.h +103 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor-meta.h +113 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +735 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-align-constraint.h +69 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-animatable.h +116 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +74 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-bin-layout.h +84 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-bind-constraint.h +69 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-binding-pool.h +122 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-blur-effect.h +57 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-box-layout.h +159 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-brightness-contrast-effect.h +80 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-cairo.h +59 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +100 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-child-meta.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-click-action.h +114 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-clone.h +90 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-cogl-compat.h +52 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-color-static.h +79 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-color.h +175 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-colorize-effect.h +63 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-config.h +19 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-constraint.h +108 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-container.h +184 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-content.h +103 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-deform-effect.h +111 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-deprecated.h +43 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-desaturate-effect.h +61 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +104 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-drag-action.h +142 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-drop-action.h +113 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-effect.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +183 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-enums.h +1362 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +509 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-feature.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-fixed-layout.h +80 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +110 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-gesture-action.h +154 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-grid-layout.h +161 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-group.h +95 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-image.h +141 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-input-device.h +118 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-interval.h +141 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-keyframe-transition.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-keysyms.h +2304 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-manager.h +215 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-meta.h +101 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-list-model.h +88 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +279 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-main.h +148 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-marshal.h +273 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-model.h +381 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +112 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-page-turn-effect.h +72 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-paint-node.h +102 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-paint-nodes.h +150 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-pan-action.h +147 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-path-constraint.h +66 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-path.h +155 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-property-transition.h +91 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-rotate-action.h +100 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-script.h +204 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scriptable.h +107 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scroll-actor.h +97 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-settings.h +25 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-effect.h +114 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-types.h +95 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-snap-constraint.h +73 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage-manager.h +81 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +215 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-swipe-action.h +107 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-table-layout.h +157 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-tap-action.h +102 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-text-buffer.h +172 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-text.h +237 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-texture.h +128 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-timeline.h +201 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition-group.h +91 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition.h +132 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-types.h +715 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-units.h +166 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +302 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-zoom-action.h +114 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter.h +118 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-actor.h +161 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-alpha.h +144 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animatable.h +47 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animation.h +206 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animator.h +186 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-backend.h +64 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-depth.h +101 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-ellipse.h +159 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-opacity.h +115 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-path.h +135 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-rotate.h +119 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-scale.h +107 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour.h +170 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-bin-layout.h +56 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-box.h +143 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-cairo-texture.h +139 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-container.h +93 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-fixed.h +97 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-frame-source.h +49 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-group.h +62 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-input-device.h +41 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-keysyms.h +2306 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-main.h +96 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-media.h +121 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-rectangle.h +117 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-score.h +144 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-shader.h +182 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-stage-manager.h +42 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-stage.h +102 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-state.h +187 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-texture.h +138 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeline.h +41 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeout-pool.h +69 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-util.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/win32/clutter-win32.h +58 -0
- data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +245 -0
- data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +131 -0
- data/vendor/local/include/cogl/cogl/cogl-attribute.h +532 -0
- data/vendor/local/include/cogl/cogl/cogl-bitmap.h +314 -0
- data/vendor/local/include/cogl/cogl/cogl-buffer.h +309 -0
- data/vendor/local/include/cogl/cogl/cogl-clip-state.h +50 -0
- data/vendor/local/include/cogl/cogl/cogl-clutter.h +47 -0
- data/vendor/local/include/cogl/cogl/cogl-color.h +543 -0
- data/vendor/local/include/cogl/cogl/cogl-context.h +350 -0
- data/vendor/local/include/cogl/cogl/cogl-defines.h +50 -0
- data/vendor/local/include/cogl/cogl/cogl-deprecated.h +36 -0
- data/vendor/local/include/cogl/cogl/cogl-depth-state.h +264 -0
- data/vendor/local/include/cogl/cogl/cogl-display.h +192 -0
- data/vendor/local/include/cogl/cogl/cogl-enum-types.h +100 -0
- data/vendor/local/include/cogl/cogl/cogl-error.h +176 -0
- data/vendor/local/include/cogl/cogl/cogl-euler.h +251 -0
- data/vendor/local/include/cogl/cogl/cogl-fixed.h +804 -0
- data/vendor/local/include/cogl/cogl/cogl-frame-info.h +129 -0
- data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +1829 -0
- data/vendor/local/include/cogl/cogl/cogl-gles2-types.h +474 -0
- data/vendor/local/include/cogl/cogl/cogl-gles2.h +374 -0
- data/vendor/local/include/cogl/cogl/cogl-glib-source.h +59 -0
- data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +85 -0
- data/vendor/local/include/cogl/cogl/cogl-indices.h +145 -0
- data/vendor/local/include/cogl/cogl/cogl-material-compat.h +1276 -0
- data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +620 -0
- data/vendor/local/include/cogl/cogl/cogl-matrix.h +798 -0
- data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +181 -0
- data/vendor/local/include/cogl/cogl/cogl-object.h +219 -0
- data/vendor/local/include/cogl/cogl/cogl-offscreen.h +117 -0
- data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +106 -0
- data/vendor/local/include/cogl/cogl/cogl-onscreen.h +741 -0
- data/vendor/local/include/cogl/cogl/cogl-output.h +242 -0
- data/vendor/local/include/cogl/cogl/cogl-pango.h +33 -0
- data/vendor/local/include/cogl/cogl/cogl-path-functions.h +430 -0
- data/vendor/local/include/cogl/cogl/cogl-path.h +102 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +613 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +924 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline.h +173 -0
- data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +114 -0
- data/vendor/local/include/cogl/cogl/cogl-poll.h +174 -0
- data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +98 -0
- data/vendor/local/include/cogl/cogl/cogl-primitive.h +866 -0
- data/vendor/local/include/cogl/cogl/cogl-primitives.h +190 -0
- data/vendor/local/include/cogl/cogl/cogl-quaternion.h +545 -0
- data/vendor/local/include/cogl/cogl/cogl-renderer.h +423 -0
- data/vendor/local/include/cogl/cogl/cogl-shader.h +654 -0
- data/vendor/local/include/cogl/cogl/cogl-snippet.h +786 -0
- data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +122 -0
- data/vendor/local/include/cogl/cogl/cogl-swap-chain.h +51 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +73 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +130 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +191 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +187 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +204 -0
- data/vendor/local/include/cogl/cogl/cogl-texture.h +611 -0
- data/vendor/local/include/cogl/cogl/cogl-types.h +912 -0
- data/vendor/local/include/cogl/cogl/cogl-vector.h +351 -0
- data/vendor/local/include/cogl/cogl/cogl-version.h +185 -0
- data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +409 -0
- data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +99 -0
- data/vendor/local/include/cogl/cogl/cogl.h +151 -0
- data/vendor/local/include/cogl/cogl/cogl1-context.h +1169 -0
- data/vendor/local/include/cogl/cogl/cogl2-compatibility.h +55 -0
- data/vendor/local/include/cogl/cogl/cogl2-experimental.h +31 -0
- data/vendor/local/include/cogl/cogl/cogl2-path.h +506 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-core-functions.h +191 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h +36 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h +279 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h +141 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h +179 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-builder.h +106 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +36 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +107 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-glib.h +46 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +182 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gvariant.h +46 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +173 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-path.h +97 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-reader.h +150 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +334 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +100 -0
- data/vendor/local/lib/girepository-1.0/Cally-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Clutter-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Cogl-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Json-1.0.typelib +0 -0
- data/vendor/local/lib/libclutter-1.0.dll.a +0 -0
- data/vendor/local/lib/libclutter-1.0.la +41 -0
- data/vendor/local/lib/libcogl-pango.dll.a +0 -0
- data/vendor/local/lib/libcogl-pango.la +41 -0
- data/vendor/local/lib/libcogl.dll.a +0 -0
- data/vendor/local/lib/libcogl.la +41 -0
- data/vendor/local/lib/libglut.a +0 -0
- data/vendor/local/lib/libglut.dll.a +0 -0
- data/vendor/local/lib/libglut.la +41 -0
- data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
- data/vendor/local/lib/libjson-glib-1.0.la +41 -0
- data/vendor/local/lib/pkgconfig/cally-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/clutter-1.0.pc +24 -0
- data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +24 -0
- data/vendor/local/lib/pkgconfig/cogl-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-2.0-experimental.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-gl-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-pango-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-pango-2.0-experimental.pc +13 -0
- data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +11 -0
- data/vendor/local/share/cogl/examples-data/crate.jpg +0 -0
- data/vendor/local/share/gir-1.0/Cally-1.0.gir +679 -0
- data/vendor/local/share/gir-1.0/Clutter-1.0.gir +67473 -0
- data/vendor/local/share/gir-1.0/Cogl-1.0.gir +8383 -0
- data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +306 -0
- data/vendor/local/share/gir-1.0/Json-1.0.gir +4333 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +415 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +136 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +139 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +135 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +123 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +140 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyText.html +133 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +135 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +100 -0
- data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +167 -0
- data/vendor/local/share/gtk-doc/html/cally/cally.devhelp2 +73 -0
- data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +43 -0
- data/vendor/local/share/gtk-doc/html/cally/callybase.html +71 -0
- data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +45 -0
- data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +64 -0
- data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +39 -0
- data/vendor/local/share/gtk-doc/html/cally/ch01.html +53 -0
- data/vendor/local/share/gtk-doc/html/cally/ch02.html +41 -0
- data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +96 -0
- data/vendor/local/share/gtk-doc/html/cally/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/index.html +103 -0
- data/vendor/local/share/gtk-doc/html/cally/index.sgml +103 -0
- data/vendor/local/share/gtk-doc/html/cally/ix01.html +198 -0
- data/vendor/local/share/gtk-doc/html/cally/ix02.html +31 -0
- data/vendor/local/share/gtk-doc/html/cally/ix03.html +190 -0
- data/vendor/local/share/gtk-doc/html/cally/ix04.html +42 -0
- data/vendor/local/share/gtk-doc/html/cally/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/license.html +58 -0
- data/vendor/local/share/gtk-doc/html/cally/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/cally/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +110 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +13714 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +322 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +404 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +747 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +432 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +1218 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +684 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +697 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +278 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +844 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +283 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +450 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +608 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +432 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +1056 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +780 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +109 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +657 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1232 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +410 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +1018 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +469 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +253 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +587 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +219 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +193 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +336 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1346 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +309 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +353 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +200 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +408 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +1224 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +965 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +386 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +115 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +1016 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +867 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +808 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +231 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +674 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1488 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +525 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +1376 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +161 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +211 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +900 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +1715 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +644 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +350 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +333 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +534 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +785 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1327 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +321 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +216 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +369 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +183 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +881 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +1365 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +311 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +731 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +301 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +595 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +421 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +2252 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1558 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +280 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +1146 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +192 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +3058 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +736 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +1829 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +2441 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +574 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +227 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +400 -0
- data/vendor/local/share/gtk-doc/html/clutter/actor-box.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/actor-example.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/animator-key-frames.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +111 -0
- data/vendor/local/share/gtk-doc/html/clutter/bin-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/box-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +275 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch01.html +65 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch02.html +47 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch03.html +51 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch04.html +59 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch05.html +44 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch06.html +57 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch07.html +38 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch08.html +38 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch09.html +53 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch10.html +78 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch11.html +38 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch12.html +41 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +3471 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +225 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +314 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +361 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1363 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +129 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +2653 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +200 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +249 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +2550 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +2571 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +181 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +890 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +351 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +1004 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +341 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +843 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +549 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +1023 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +525 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +83 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +201 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +806 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +77 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +2715 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +65 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +71 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +202 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +37 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +118 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +184 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +37 -0
- data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +105 -0
- data/vendor/local/share/gtk-doc/html/clutter/constraints-example.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +86 -0
- data/vendor/local/share/gtk-doc/html/clutter/easing-modes.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/event-flow.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/flow-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/go01.html +114 -0
- data/vendor/local/share/gtk-doc/html/clutter/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/index.html +451 -0
- data/vendor/local/share/gtk-doc/html/clutter/index.sgml +3272 -0
- data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +56 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix01.html +8815 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix02.html +1961 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix03.html +454 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix04.html +583 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix05.html +957 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix06.html +642 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix07.html +1530 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix08.html +820 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix09.html +1005 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix10.html +369 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix11.html +366 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix12.html +1078 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix13.html +984 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix14.html +99 -0
- data/vendor/local/share/gtk-doc/html/clutter/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/license.html +58 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +223 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +197 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +154 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +156 -0
- data/vendor/local/share/gtk-doc/html/clutter/migration.html +49 -0
- data/vendor/local/share/gtk-doc/html/clutter/offscreen-redirect.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/path-alpha-func.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/pt09.html +31 -0
- data/vendor/local/share/gtk-doc/html/clutter/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +373 -0
- data/vendor/local/share/gtk-doc/html/clutter/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/clutter/table-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +36 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +513 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +492 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +871 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +464 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +898 -0
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +87 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +41 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +41 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch04.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/index.html +125 -0
- data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +308 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +926 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +54 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +61 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +54 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +186 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +121 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +161 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +137 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +47 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +61 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +382 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +310 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +850 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +272 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +942 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +993 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +476 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +148 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +281 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +63 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +39 -0
- data/vendor/local/share/gtk-doc/html/json-glib/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/license.html +58 -0
- data/vendor/local/share/gtk-doc/html/json-glib/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/json-glib/up.png +0 -0
- data/vendor/local/share/license/clutter/COPYING +502 -0
- data/vendor/local/share/license/cogl/COPYING +502 -0
- data/vendor/local/share/license/freeglut/AUTHORS +39 -0
- data/vendor/local/share/license/freeglut/COPYING +27 -0
- data/vendor/local/share/license/json-glib/COPYING +504 -0
- data/vendor/local/share/locale/an/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/az_IR/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ur/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/cogl.mo +0 -0
- metadata +747 -0
@@ -0,0 +1,2571 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>Implicit Animations</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
|
7
|
+
<link rel="home" href="index.html" title="Clutter Reference Manual">
|
8
|
+
<link rel="up" href="deprecated.html" title="Part IX. Deprecated Classes">
|
9
|
+
<link rel="prev" href="ClutterAlpha.html" title="ClutterAlpha">
|
10
|
+
<link rel="next" href="ClutterAnimator.html" title="ClutterAnimator">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="ClutterAlpha.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="deprecated.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">Clutter Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="ClutterAnimator.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#clutter-Implicit-Animations.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#clutter-Implicit-Animations.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#clutter-Implicit-Animations.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#clutter-Implicit-Animations.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
31
|
+
|
|
32
|
+
<a href="#clutter-Implicit-Animations.properties" class="shortcut">Properties</a>
|
33
|
+
|
|
34
|
+
<a href="#clutter-Implicit-Animations.signals" class="shortcut">Signals</a>
|
35
|
+
</td></tr>
|
36
|
+
</table>
|
37
|
+
<div class="refentry">
|
38
|
+
<a name="clutter-Implicit-Animations"></a><div class="titlepage"></div>
|
39
|
+
<div class="refnamediv"><table width="100%"><tr>
|
40
|
+
<td valign="top">
|
41
|
+
<h2><span class="refentrytitle"><a name="clutter-Implicit-Animations.top_of_page"></a>Implicit Animations</span></h2>
|
42
|
+
<p>Implicit Animations — Simple implicit animations</p>
|
43
|
+
</td>
|
44
|
+
<td valign="top" align="right"></td>
|
45
|
+
</tr></table></div>
|
46
|
+
<div class="refsynopsisdiv">
|
47
|
+
<a name="clutter-Implicit-Animations.synopsis"></a><h2>Synopsis</h2>
|
48
|
+
<a name="ClutterAnimation"></a><pre class="synopsis"> <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation-struct" title="ClutterAnimation">ClutterAnimation</a>;
|
49
|
+
struct <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimationClass" title="struct ClutterAnimationClass">ClutterAnimationClass</a>;
|
50
|
+
<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="returnvalue">ClutterAnimation</span></a> * <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-new" title="clutter_animation_new ()">clutter_animation_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
51
|
+
<span class="returnvalue">void</span> <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-set-object" title="clutter_animation_set_object ()">clutter_animation_set_object</a> (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>,
|
52
|
+
<em class="parameter"><code><span class="type">GObject</span> *object</code></em>);
|
53
|
+
<span class="returnvalue">GObject</span> * <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-get-object" title="clutter_animation_get_object ()">clutter_animation_get_object</a> (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>);
|
54
|
+
<span class="returnvalue">void</span> <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-set-mode" title="clutter_animation_set_mode ()">clutter_animation_set_mode</a> (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>,
|
55
|
+
<em class="parameter"><code><span class="type">gulong</span> mode</code></em>);
|
56
|
+
<span class="returnvalue">gulong</span> <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-get-mode" title="clutter_animation_get_mode ()">clutter_animation_get_mode</a> (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>);
|
57
|
+
<span class="returnvalue">void</span> <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-set-duration" title="clutter_animation_set_duration ()">clutter_animation_set_duration</a> (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>,
|
58
|
+
<em class="parameter"><code><span class="type">guint</span> msecs</code></em>);
|
59
|
+
<span class="returnvalue">guint</span> <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-get-duration" title="clutter_animation_get_duration ()">clutter_animation_get_duration</a> (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>);
|
60
|
+
<span class="returnvalue">void</span> <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-set-loop" title="clutter_animation_set_loop ()">clutter_animation_set_loop</a> (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>,
|
61
|
+
<em class="parameter"><code><span class="type">gboolean</span> loop</code></em>);
|
62
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-get-loop" title="clutter_animation_get_loop ()">clutter_animation_get_loop</a> (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>);
|
63
|
+
<span class="returnvalue">void</span> <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-set-timeline" title="clutter_animation_set_timeline ()">clutter_animation_set_timeline</a> (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>,
|
64
|
+
<em class="parameter"><code><a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> *timeline</code></em>);
|
65
|
+
<a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="returnvalue">ClutterTimeline</span></a> * <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-get-timeline" title="clutter_animation_get_timeline ()">clutter_animation_get_timeline</a> (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>);
|
66
|
+
<span class="returnvalue">void</span> <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-set-alpha" title="clutter_animation_set_alpha ()">clutter_animation_set_alpha</a> (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>,
|
67
|
+
<em class="parameter"><code><a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> *alpha</code></em>);
|
68
|
+
<a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="returnvalue">ClutterAlpha</span></a> * <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-get-alpha" title="clutter_animation_get_alpha ()">clutter_animation_get_alpha</a> (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>);
|
69
|
+
<span class="returnvalue">void</span> <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-completed" title="clutter_animation_completed ()">clutter_animation_completed</a> (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>);
|
70
|
+
|
71
|
+
<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="returnvalue">ClutterAnimation</span></a> * <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-bind" title="clutter_animation_bind ()">clutter_animation_bind</a> (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>,
|
72
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>,
|
73
|
+
<em class="parameter"><code>const <span class="type">GValue</span> *final</code></em>);
|
74
|
+
<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="returnvalue">ClutterAnimation</span></a> * <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-bind-interval" title="clutter_animation_bind_interval ()">clutter_animation_bind_interval</a> (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>,
|
75
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>,
|
76
|
+
<em class="parameter"><code><a class="link" href="clutter-Value-intervals.html#ClutterInterval"><span class="type">ClutterInterval</span></a> *interval</code></em>);
|
77
|
+
<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="returnvalue">ClutterAnimation</span></a> * <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-update" title="clutter_animation_update ()">clutter_animation_update</a> (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>,
|
78
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>,
|
79
|
+
<em class="parameter"><code>const <span class="type">GValue</span> *final</code></em>);
|
80
|
+
<span class="returnvalue">void</span> <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-update-interval" title="clutter_animation_update_interval ()">clutter_animation_update_interval</a> (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>,
|
81
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>,
|
82
|
+
<em class="parameter"><code><a class="link" href="clutter-Value-intervals.html#ClutterInterval"><span class="type">ClutterInterval</span></a> *interval</code></em>);
|
83
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-has-property" title="clutter_animation_has_property ()">clutter_animation_has_property</a> (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>,
|
84
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>);
|
85
|
+
<span class="returnvalue">void</span> <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-unbind-property" title="clutter_animation_unbind_property ()">clutter_animation_unbind_property</a> (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>,
|
86
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>);
|
87
|
+
<a class="link" href="clutter-Value-intervals.html#ClutterInterval"><span class="returnvalue">ClutterInterval</span></a> * <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-get-interval" title="clutter_animation_get_interval ()">clutter_animation_get_interval</a> (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>,
|
88
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>);
|
89
|
+
|
90
|
+
<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="returnvalue">ClutterAnimation</span></a> * <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate" title="clutter_actor_animate ()">clutter_actor_animate</a> (<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>,
|
91
|
+
<em class="parameter"><code><span class="type">gulong</span> mode</code></em>,
|
92
|
+
<em class="parameter"><code><span class="type">guint</span> duration</code></em>,
|
93
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *first_property_name</code></em>,
|
94
|
+
<em class="parameter"><code>...</code></em>);
|
95
|
+
<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="returnvalue">ClutterAnimation</span></a> * <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate-with-timeline" title="clutter_actor_animate_with_timeline ()">clutter_actor_animate_with_timeline</a> (<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>,
|
96
|
+
<em class="parameter"><code><span class="type">gulong</span> mode</code></em>,
|
97
|
+
<em class="parameter"><code><a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> *timeline</code></em>,
|
98
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *first_property_name</code></em>,
|
99
|
+
<em class="parameter"><code>...</code></em>);
|
100
|
+
<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="returnvalue">ClutterAnimation</span></a> * <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate-with-alpha" title="clutter_actor_animate_with_alpha ()">clutter_actor_animate_with_alpha</a> (<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>,
|
101
|
+
<em class="parameter"><code><a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> *alpha</code></em>,
|
102
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *first_property_name</code></em>,
|
103
|
+
<em class="parameter"><code>...</code></em>);
|
104
|
+
<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="returnvalue">ClutterAnimation</span></a> * <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animatev" title="clutter_actor_animatev ()">clutter_actor_animatev</a> (<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>,
|
105
|
+
<em class="parameter"><code><span class="type">gulong</span> mode</code></em>,
|
106
|
+
<em class="parameter"><code><span class="type">guint</span> duration</code></em>,
|
107
|
+
<em class="parameter"><code><span class="type">gint</span> n_properties</code></em>,
|
108
|
+
<em class="parameter"><code>const <span class="type">gchar</span> * const properties[]</code></em>,
|
109
|
+
<em class="parameter"><code>const <span class="type">GValue</span> *values</code></em>);
|
110
|
+
<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="returnvalue">ClutterAnimation</span></a> * <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate-with-timelinev" title="clutter_actor_animate_with_timelinev ()">clutter_actor_animate_with_timelinev</a>
|
111
|
+
(<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>,
|
112
|
+
<em class="parameter"><code><span class="type">gulong</span> mode</code></em>,
|
113
|
+
<em class="parameter"><code><a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> *timeline</code></em>,
|
114
|
+
<em class="parameter"><code><span class="type">gint</span> n_properties</code></em>,
|
115
|
+
<em class="parameter"><code>const <span class="type">gchar</span> * const properties[]</code></em>,
|
116
|
+
<em class="parameter"><code>const <span class="type">GValue</span> *values</code></em>);
|
117
|
+
<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="returnvalue">ClutterAnimation</span></a> * <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate-with-alphav" title="clutter_actor_animate_with_alphav ()">clutter_actor_animate_with_alphav</a> (<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>,
|
118
|
+
<em class="parameter"><code><a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> *alpha</code></em>,
|
119
|
+
<em class="parameter"><code><span class="type">gint</span> n_properties</code></em>,
|
120
|
+
<em class="parameter"><code>const <span class="type">gchar</span> * const properties[]</code></em>,
|
121
|
+
<em class="parameter"><code>const <span class="type">GValue</span> *values</code></em>);
|
122
|
+
<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="returnvalue">ClutterAnimation</span></a> * <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-get-animation" title="clutter_actor_get_animation ()">clutter_actor_get_animation</a> (<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>);
|
123
|
+
<span class="returnvalue">void</span> <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-detach-animation" title="clutter_actor_detach_animation ()">clutter_actor_detach_animation</a> (<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>);
|
124
|
+
</pre>
|
125
|
+
</div>
|
126
|
+
<div class="refsect1">
|
127
|
+
<a name="clutter-Implicit-Animations.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
128
|
+
<pre class="synopsis">
|
129
|
+
GObject
|
130
|
+
+----ClutterAnimation
|
131
|
+
</pre>
|
132
|
+
</div>
|
133
|
+
<div class="refsect1">
|
134
|
+
<a name="clutter-Implicit-Animations.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
135
|
+
<p>
|
136
|
+
ClutterAnimation implements
|
137
|
+
<a class="link" href="ClutterScriptable.html" title="ClutterScriptable">ClutterScriptable</a>.</p>
|
138
|
+
</div>
|
139
|
+
<div class="refsect1">
|
140
|
+
<a name="clutter-Implicit-Animations.properties"></a><h2>Properties</h2>
|
141
|
+
<pre class="synopsis">
|
142
|
+
"<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation--alpha" title='The "alpha" property'>alpha</a>" <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a>* : Read / Write
|
143
|
+
"<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation--duration" title='The "duration" property'>duration</a>" <span class="type">guint</span> : Read / Write
|
144
|
+
"<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation--loop" title='The "loop" property'>loop</a>" <span class="type">gboolean</span> : Read / Write
|
145
|
+
"<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation--mode" title='The "mode" property'>mode</a>" <span class="type">gulong</span> : Read / Write
|
146
|
+
"<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation--object" title='The "object" property'>object</a>" <span class="type">GObject</span>* : Read / Write
|
147
|
+
"<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation--timeline" title='The "timeline" property'>timeline</a>" <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a>* : Read / Write
|
148
|
+
</pre>
|
149
|
+
</div>
|
150
|
+
<div class="refsect1">
|
151
|
+
<a name="clutter-Implicit-Animations.signals"></a><h2>Signals</h2>
|
152
|
+
<pre class="synopsis">
|
153
|
+
"<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation-completed" title='The "completed" signal'>completed</a>" : <code class="literal">Run Last</code>
|
154
|
+
"<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation-started" title='The "started" signal'>started</a>" : <code class="literal">Run Last</code>
|
155
|
+
</pre>
|
156
|
+
</div>
|
157
|
+
<div class="refsect1">
|
158
|
+
<a name="clutter-Implicit-Animations.description"></a><h2>Description</h2>
|
159
|
+
<p>
|
160
|
+
<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> is an object providing simple, implicit animations
|
161
|
+
for <span class="type">GObject</span>s.
|
162
|
+
</p>
|
163
|
+
<p>
|
164
|
+
<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> instances will bind one or more <span class="type">GObject</span> properties
|
165
|
+
belonging to a <span class="type">GObject</span> to a <a class="link" href="clutter-Value-intervals.html#ClutterInterval"><span class="type">ClutterInterval</span></a>, and will then use a
|
166
|
+
<a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> to interpolate the property between the initial and final
|
167
|
+
values of the interval.
|
168
|
+
</p>
|
169
|
+
<p>
|
170
|
+
The duration of the animation is set using <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-set-duration" title="clutter_animation_set_duration ()"><code class="function">clutter_animation_set_duration()</code></a>.
|
171
|
+
The easing mode of the animation is set using <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-set-mode" title="clutter_animation_set_mode ()"><code class="function">clutter_animation_set_mode()</code></a>.
|
172
|
+
</p>
|
173
|
+
<p>
|
174
|
+
If you want to control the animation you should retrieve the
|
175
|
+
<a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> using <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-get-timeline" title="clutter_animation_get_timeline ()"><code class="function">clutter_animation_get_timeline()</code></a> and then
|
176
|
+
use <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> functions like <a class="link" href="ClutterTimeline.html#clutter-timeline-start" title="clutter_timeline_start ()"><code class="function">clutter_timeline_start()</code></a>,
|
177
|
+
<a class="link" href="ClutterTimeline.html#clutter-timeline-pause" title="clutter_timeline_pause ()"><code class="function">clutter_timeline_pause()</code></a> or <a class="link" href="ClutterTimeline.html#clutter-timeline-stop" title="clutter_timeline_stop ()"><code class="function">clutter_timeline_stop()</code></a>.
|
178
|
+
</p>
|
179
|
+
<p>
|
180
|
+
A <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> will emit the <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation-completed" title='The "completed" signal'><span class="type">"completed"</span></a> signal
|
181
|
+
when the <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> used by the animation is completed; unlike
|
182
|
+
<a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a>, though, the <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation-completed" title='The "completed" signal'><span class="type">"completed"</span></a> will not be
|
183
|
+
emitted if <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation--loop" title='The "loop" property'><span class="type">"loop"</span></a> is set to <code class="literal">TRUE</code> - that is, a looping
|
184
|
+
animation never completes.
|
185
|
+
</p>
|
186
|
+
<p>
|
187
|
+
If your animation depends on user control you can force its completion
|
188
|
+
using <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-completed" title="clutter_animation_completed ()"><code class="function">clutter_animation_completed()</code></a>.
|
189
|
+
</p>
|
190
|
+
<p>
|
191
|
+
If the <span class="type">GObject</span> instance bound to a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> implements the
|
192
|
+
<a class="link" href="ClutterAnimatable.html" title="ClutterAnimatable"><span class="type">ClutterAnimatable</span></a> interface it is possible for that instance to
|
193
|
+
control the way the initial and final states are interpolated.
|
194
|
+
</p>
|
195
|
+
<p>
|
196
|
+
<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>s are distinguished from <a class="link" href="ClutterBehaviour.html" title="ClutterBehaviour"><span class="type">ClutterBehaviour</span></a>s
|
197
|
+
because the former can only control <span class="type">GObject</span> properties of a single
|
198
|
+
<span class="type">GObject</span> instance, while the latter can control multiple properties
|
199
|
+
using accessor functions inside the <a class="link" href="ClutterBehaviour.html" title="ClutterBehaviour"><span class="type">ClutterBehaviour</span></a>
|
200
|
+
<code class="function">alpha_notify</code> virtual function, and can control
|
201
|
+
multiple <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>s as well.
|
202
|
+
</p>
|
203
|
+
<p>
|
204
|
+
For convenience, it is possible to use the <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate" title="clutter_actor_animate ()"><code class="function">clutter_actor_animate()</code></a>
|
205
|
+
function call which will take care of setting up and tearing down
|
206
|
+
a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> instance and animate an actor between its current
|
207
|
+
state and the specified final state.
|
208
|
+
</p>
|
209
|
+
<p>
|
210
|
+
</p>
|
211
|
+
<div class="refsect2">
|
212
|
+
<a name="clutter-AnimationMode-Script"></a><h3>Defining ClutterAnimationMode inside ClutterScript</h3>
|
213
|
+
<p>When defining a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> inside a ClutterScript
|
214
|
+
file or string the <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation--mode" title='The "mode" property'><span class="type">"mode"</span></a> can be defined either
|
215
|
+
using the <a class="link" href="ClutterTimeline.html#ClutterAnimationMode" title="enum ClutterAnimationMode"><span class="type">ClutterAnimationMode</span></a> enumeration values through their
|
216
|
+
"nick" (the short string used inside <span class="type">GEnumValue</span>), their numeric
|
217
|
+
id, or using the following strings:</p>
|
218
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
219
|
+
<colgroup>
|
220
|
+
<col align="left" valign="top">
|
221
|
+
<col>
|
222
|
+
</colgroup>
|
223
|
+
<tbody>
|
224
|
+
<tr>
|
225
|
+
<td><p><span class="term">easeInQuad, easeOutQuad, easeInOutQuad</span></p></td>
|
226
|
+
<td><p>Corresponding to the quadratic easing
|
227
|
+
modes</p></td>
|
228
|
+
</tr>
|
229
|
+
<tr>
|
230
|
+
<td><p><span class="term">easeInCubic, easeOutCubic, easeInOutCubic</span></p></td>
|
231
|
+
<td><p>Corresponding to the cubic easing
|
232
|
+
modes</p></td>
|
233
|
+
</tr>
|
234
|
+
<tr>
|
235
|
+
<td><p><span class="term">easeInQuart, easeOutQuart, easeInOutQuart</span></p></td>
|
236
|
+
<td><p>Corresponding to the quartic easing
|
237
|
+
modes</p></td>
|
238
|
+
</tr>
|
239
|
+
<tr>
|
240
|
+
<td><p><span class="term">easeInQuint, easeOutQuint, easeInOutQuint</span></p></td>
|
241
|
+
<td><p>Corresponding to the quintic easing
|
242
|
+
modes</p></td>
|
243
|
+
</tr>
|
244
|
+
<tr>
|
245
|
+
<td><p><span class="term">easeInSine, easeOutSine, easeInOutSine</span></p></td>
|
246
|
+
<td><p>Corresponding to the sine easing
|
247
|
+
modes</p></td>
|
248
|
+
</tr>
|
249
|
+
<tr>
|
250
|
+
<td><p><span class="term">easeInExpo, easeOutExpo, easeInOutExpo</span></p></td>
|
251
|
+
<td><p>Corresponding to the exponential easing
|
252
|
+
modes</p></td>
|
253
|
+
</tr>
|
254
|
+
<tr>
|
255
|
+
<td><p><span class="term">easeInCirc, easeOutCirc, easeInOutCirc</span></p></td>
|
256
|
+
<td><p>Corresponding to the circular easing
|
257
|
+
modes</p></td>
|
258
|
+
</tr>
|
259
|
+
<tr>
|
260
|
+
<td><p><span class="term">easeInElastic, easeOutElastic, easeInOutElastic</span></p></td>
|
261
|
+
<td><p>Corresponding to the overshooting elastic
|
262
|
+
easing modes</p></td>
|
263
|
+
</tr>
|
264
|
+
<tr>
|
265
|
+
<td><p><span class="term">easeInBack, easeOutBack, easeInOutBack</span></p></td>
|
266
|
+
<td><p>Corresponding to the overshooting cubic
|
267
|
+
easing modes</p></td>
|
268
|
+
</tr>
|
269
|
+
<tr>
|
270
|
+
<td><p><span class="term">easeInBounce, easeOutBounce, easeInOutBounce</span></p></td>
|
271
|
+
<td><p>Corresponding to the bouncing easing
|
272
|
+
modes</p></td>
|
273
|
+
</tr>
|
274
|
+
</tbody>
|
275
|
+
</table></div>
|
276
|
+
</div>
|
277
|
+
<p>
|
278
|
+
</p>
|
279
|
+
<p>
|
280
|
+
</p>
|
281
|
+
<div class="example">
|
282
|
+
<a name="example-clutter-animation"></a><p class="title"><b>Example 21. Tweening using <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate" title="clutter_actor_animate ()"><code class="function">clutter_actor_animate()</code></a></b></p>
|
283
|
+
<div class="example-contents">
|
284
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
285
|
+
<tbody>
|
286
|
+
<tr>
|
287
|
+
<td class="listing_lines" align="right"><pre>1
|
288
|
+
2
|
289
|
+
3
|
290
|
+
4
|
291
|
+
5
|
292
|
+
6
|
293
|
+
7
|
294
|
+
8
|
295
|
+
9
|
296
|
+
10
|
297
|
+
11
|
298
|
+
12
|
299
|
+
13
|
300
|
+
14
|
301
|
+
15
|
302
|
+
16
|
303
|
+
17
|
304
|
+
18
|
305
|
+
19
|
306
|
+
20
|
307
|
+
21
|
308
|
+
22
|
309
|
+
23
|
310
|
+
24
|
311
|
+
25
|
312
|
+
26
|
313
|
+
27
|
314
|
+
28
|
315
|
+
29
|
316
|
+
30
|
317
|
+
31
|
318
|
+
32
|
319
|
+
33
|
320
|
+
34
|
321
|
+
35
|
322
|
+
36
|
323
|
+
37
|
324
|
+
38
|
325
|
+
39
|
326
|
+
40
|
327
|
+
41
|
328
|
+
42
|
329
|
+
43
|
330
|
+
44
|
331
|
+
45
|
332
|
+
46
|
333
|
+
47
|
334
|
+
48
|
335
|
+
49
|
336
|
+
50
|
337
|
+
51
|
338
|
+
52
|
339
|
+
53
|
340
|
+
54
|
341
|
+
55
|
342
|
+
56
|
343
|
+
57
|
344
|
+
58
|
345
|
+
59
|
346
|
+
60
|
347
|
+
61
|
348
|
+
62
|
349
|
+
63
|
350
|
+
64
|
351
|
+
65
|
352
|
+
66
|
353
|
+
67
|
354
|
+
68
|
355
|
+
69
|
356
|
+
70
|
357
|
+
71
|
358
|
+
72
|
359
|
+
73
|
360
|
+
74
|
361
|
+
75
|
362
|
+
76
|
363
|
+
77
|
364
|
+
78
|
365
|
+
79
|
366
|
+
80
|
367
|
+
81
|
368
|
+
82
|
369
|
+
83
|
370
|
+
84
|
371
|
+
85
|
372
|
+
86
|
373
|
+
87
|
374
|
+
88
|
375
|
+
89
|
376
|
+
90
|
377
|
+
91
|
378
|
+
92
|
379
|
+
93
|
380
|
+
94
|
381
|
+
95
|
382
|
+
96
|
383
|
+
97
|
384
|
+
98
|
385
|
+
99
|
386
|
+
100
|
387
|
+
101
|
388
|
+
102
|
389
|
+
103
|
390
|
+
104
|
391
|
+
105
|
392
|
+
106
|
393
|
+
107
|
394
|
+
108
|
395
|
+
109
|
396
|
+
110
|
397
|
+
111
|
398
|
+
112
|
399
|
+
113
|
400
|
+
114
|
401
|
+
115
|
402
|
+
116
|
403
|
+
117
|
404
|
+
118
|
405
|
+
119
|
406
|
+
120
|
407
|
+
121
|
408
|
+
122
|
409
|
+
123
|
410
|
+
124
|
411
|
+
125
|
412
|
+
126
|
413
|
+
127
|
414
|
+
128
|
415
|
+
129
|
416
|
+
130
|
417
|
+
131
|
418
|
+
132
|
419
|
+
133
|
420
|
+
134
|
421
|
+
135
|
422
|
+
136
|
423
|
+
137
|
424
|
+
138
|
425
|
+
139
|
426
|
+
140
|
427
|
+
141
|
428
|
+
142
|
429
|
+
143
|
430
|
+
144
|
431
|
+
145
|
432
|
+
146
|
433
|
+
147
|
434
|
+
148
|
435
|
+
149
|
436
|
+
150
|
437
|
+
151
|
438
|
+
152
|
439
|
+
153
|
440
|
+
154
|
441
|
+
155
|
442
|
+
156
|
443
|
+
157
|
444
|
+
158
|
445
|
+
159
|
446
|
+
160
|
447
|
+
161
|
448
|
+
162
|
449
|
+
163
|
450
|
+
164
|
451
|
+
165
|
452
|
+
166
|
453
|
+
167
|
454
|
+
168
|
455
|
+
169
|
456
|
+
170
|
457
|
+
171
|
458
|
+
172
|
459
|
+
173
|
460
|
+
174
|
461
|
+
175
|
462
|
+
176
|
463
|
+
177
|
464
|
+
178
|
465
|
+
179
|
466
|
+
180
|
467
|
+
181
|
468
|
+
182
|
469
|
+
183
|
470
|
+
184
|
471
|
+
185
|
472
|
+
186
|
473
|
+
187
|
474
|
+
188
|
475
|
+
189
|
476
|
+
190
|
477
|
+
191
|
478
|
+
192
|
479
|
+
193
|
480
|
+
194
|
481
|
+
195
|
482
|
+
196
|
483
|
+
197
|
484
|
+
198
|
485
|
+
199
|
486
|
+
200
|
487
|
+
201
|
488
|
+
202
|
489
|
+
203
|
490
|
+
204
|
491
|
+
205
|
492
|
+
206
|
493
|
+
207
|
494
|
+
208
|
495
|
+
209
|
496
|
+
210
|
497
|
+
211
|
498
|
+
212
|
499
|
+
213
|
500
|
+
214
|
501
|
+
215
|
502
|
+
216
|
503
|
+
217
|
504
|
+
218
|
505
|
+
219
|
506
|
+
220
|
507
|
+
221
|
508
|
+
222
|
509
|
+
223
|
510
|
+
224
|
511
|
+
225
|
512
|
+
226
|
513
|
+
227
|
514
|
+
228
|
515
|
+
229
|
516
|
+
230
|
517
|
+
231
|
518
|
+
232
|
519
|
+
233
|
520
|
+
234
|
521
|
+
235
|
522
|
+
236
|
523
|
+
237
|
524
|
+
238
|
525
|
+
239
|
526
|
+
240
|
527
|
+
241
|
528
|
+
242
|
529
|
+
243
|
530
|
+
244
|
531
|
+
245
|
532
|
+
246
|
533
|
+
247
|
534
|
+
248
|
535
|
+
249
|
536
|
+
250
|
537
|
+
251
|
538
|
+
252
|
539
|
+
253
|
540
|
+
254
|
541
|
+
255
|
542
|
+
256
|
543
|
+
257
|
544
|
+
258
|
545
|
+
259
|
546
|
+
260
|
547
|
+
261
|
548
|
+
262
|
549
|
+
263
|
550
|
+
264
|
551
|
+
265
|
552
|
+
266
|
553
|
+
267
|
554
|
+
268
|
555
|
+
269
|
556
|
+
270</pre></td>
|
557
|
+
<td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string"><stdlib.h></span>
|
558
|
+
<span class="preproc">#include</span><span class="normal"> </span><span class="string"><gmodule.h></span>
|
559
|
+
<span class="preproc">#include</span><span class="normal"> </span><span class="string"><clutter/clutter.h></span>
|
560
|
+
|
561
|
+
<span class="comment">/* all the easing modes provided by Clutter */</span>
|
562
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="keyword">struct</span><span class="normal"> </span><span class="cbracket">{</span>
|
563
|
+
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">name</span><span class="symbol">;</span>
|
564
|
+
<span class="normal"> </span><span class="usertype">ClutterAnimationMode</span><span class="normal"> mode</span><span class="symbol">;</span>
|
565
|
+
<span class="cbracket">}</span><span class="normal"> easing_modes</span><span class="symbol">[]</span><span class="normal"> </span><span class="symbol">=</span><span class="normal"> </span><span class="cbracket">{</span>
|
566
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"linear"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-LINEAR:CAPS">CLUTTER_LINEAR</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
567
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeInQuad"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-IN-QUAD:CAPS">CLUTTER_EASE_IN_QUAD</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
568
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeOutQuad"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-OUT-QUAD:CAPS">CLUTTER_EASE_OUT_QUAD</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
569
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeInOutQuad"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-IN-OUT-QUAD:CAPS">CLUTTER_EASE_IN_OUT_QUAD</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
570
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeInCubic"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-IN-CUBIC:CAPS">CLUTTER_EASE_IN_CUBIC</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
571
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeOutCubic"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-OUT-CUBIC:CAPS">CLUTTER_EASE_OUT_CUBIC</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
572
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeInOutCubic"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-IN-OUT-CUBIC:CAPS">CLUTTER_EASE_IN_OUT_CUBIC</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
573
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeInQuart"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-IN-QUART:CAPS">CLUTTER_EASE_IN_QUART</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
574
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeOutQuart"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-OUT-QUART:CAPS">CLUTTER_EASE_OUT_QUART</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
575
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeInOutQuart"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-IN-OUT-QUART:CAPS">CLUTTER_EASE_IN_OUT_QUART</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
576
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeInQuint"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-IN-QUINT:CAPS">CLUTTER_EASE_IN_QUINT</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
577
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeOutQuint"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-OUT-QUINT:CAPS">CLUTTER_EASE_OUT_QUINT</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
578
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeInOutQuint"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-IN-OUT-QUINT:CAPS">CLUTTER_EASE_IN_OUT_QUINT</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
579
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeInSine"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-IN-SINE:CAPS">CLUTTER_EASE_IN_SINE</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
580
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeOutSine"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-OUT-SINE:CAPS">CLUTTER_EASE_OUT_SINE</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
581
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeInOutSine"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-IN-OUT-SINE:CAPS">CLUTTER_EASE_IN_OUT_SINE</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
582
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeInExpo"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-IN-EXPO:CAPS">CLUTTER_EASE_IN_EXPO</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
583
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeOutExpo"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-OUT-EXPO:CAPS">CLUTTER_EASE_OUT_EXPO</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
584
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeInOutExpo"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-IN-OUT-EXPO:CAPS">CLUTTER_EASE_IN_OUT_EXPO</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
585
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeInCirc"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-IN-CIRC:CAPS">CLUTTER_EASE_IN_CIRC</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
586
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeOutCirc"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-OUT-CIRC:CAPS">CLUTTER_EASE_OUT_CIRC</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
587
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeInOutCirc"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-IN-OUT-CIRC:CAPS">CLUTTER_EASE_IN_OUT_CIRC</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
588
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeInElastic"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-IN-ELASTIC:CAPS">CLUTTER_EASE_IN_ELASTIC</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
589
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeOutElastic"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-OUT-ELASTIC:CAPS">CLUTTER_EASE_OUT_ELASTIC</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
590
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeInOutElastic"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-IN-OUT-ELASTIC:CAPS">CLUTTER_EASE_IN_OUT_ELASTIC</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
591
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeInBack"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-IN-BACK:CAPS">CLUTTER_EASE_IN_BACK</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
592
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeOutBack"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-OUT-BACK:CAPS">CLUTTER_EASE_OUT_BACK</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
593
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeInOutBack"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-IN-OUT-BACK:CAPS">CLUTTER_EASE_IN_OUT_BACK</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
594
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeInBounce"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-IN-BOUNCE:CAPS">CLUTTER_EASE_IN_BOUNCE</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
595
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeOutBounce"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-OUT-BOUNCE:CAPS">CLUTTER_EASE_OUT_BOUNCE</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
596
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"easeInOutBounce"</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-IN-OUT-BOUNCE:CAPS">CLUTTER_EASE_IN_OUT_BOUNCE</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
597
|
+
<span class="cbracket">}</span><span class="symbol">;</span>
|
598
|
+
|
599
|
+
<span class="preproc">#define</span><span class="normal"> HELP_TEXT </span><span class="string">"Easing mode: %s (%d of %d)</span><span class="specialchar">\n</span><span class="string">"</span><span class="normal"> </span><span class="symbol">\</span>
|
600
|
+
<span class="normal"> </span><span class="string">"Left click to tween</span><span class="specialchar">\n</span><span class="string">"</span><span class="normal"> </span><span class="symbol">\</span>
|
601
|
+
<span class="normal"> </span><span class="string">"Right click to change the easing mode"</span>
|
602
|
+
|
603
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gint</span><span class="normal"> n_easing_modes </span><span class="symbol">=</span><span class="normal"> </span><span class="function">G_N_ELEMENTS</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">easing_modes</span><span class="symbol">);</span>
|
604
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">gint</span><span class="normal"> current_mode </span><span class="symbol">=</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
605
|
+
|
606
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">gint</span><span class="normal"> duration </span><span class="symbol">=</span><span class="normal"> </span><span class="number">1</span><span class="symbol">;</span>
|
607
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">gboolean</span><span class="normal"> recenter </span><span class="symbol">=</span><span class="normal"> FALSE</span><span class="symbol">;</span>
|
608
|
+
|
609
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">main_stage </span><span class="symbol">=</span><span class="normal"> NULL</span><span class="symbol">;</span>
|
610
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">easing_mode_label </span><span class="symbol">=</span><span class="normal"> NULL</span><span class="symbol">;</span>
|
611
|
+
|
612
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">ClutterAnimation</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">last_animation </span><span class="symbol">=</span><span class="normal"> NULL</span><span class="symbol">;</span>
|
613
|
+
|
614
|
+
<span class="comment">/* recenter_bouncer:</span>
|
615
|
+
<span class="comment"> *</span>
|
616
|
+
<span class="comment"> * repositions (through an animation) the bouncer at the center of the stage</span>
|
617
|
+
<span class="comment"> */</span>
|
618
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
619
|
+
<span class="function">recenter_bouncer</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ClutterAnimation</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">animation</span><span class="symbol">,</span>
|
620
|
+
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">rectangle</span><span class="symbol">)</span>
|
621
|
+
<span class="cbracket">{</span>
|
622
|
+
<span class="normal"> </span><span class="usertype">gfloat</span><span class="normal"> base_x</span><span class="symbol">,</span><span class="normal"> base_y</span><span class="symbol">;</span>
|
623
|
+
<span class="normal"> </span><span class="usertype">gint</span><span class="normal"> cur_mode</span><span class="symbol">;</span>
|
624
|
+
|
625
|
+
<span class="normal"> base_x </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-get-width">clutter_actor_get_width</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">main_stage</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">/</span><span class="normal"> </span><span class="number">2</span><span class="symbol">;</span>
|
626
|
+
<span class="normal"> base_y </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-get-height">clutter_actor_get_height</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">main_stage</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">/</span><span class="normal"> </span><span class="number">2</span><span class="symbol">;</span>
|
627
|
+
|
628
|
+
<span class="normal"> cur_mode </span><span class="symbol">=</span><span class="normal"> easing_modes</span><span class="symbol">[</span><span class="normal">current_mode</span><span class="symbol">].</span><span class="normal">mode</span><span class="symbol">;</span>
|
629
|
+
|
630
|
+
<span class="normal"> </span><span class="function"><a href="clutter-Implicit-Animations.html#clutter-actor-animate">clutter_actor_animate</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">rectangle</span><span class="symbol">,</span><span class="normal"> cur_mode</span><span class="symbol">,</span><span class="normal"> </span><span class="number">250</span><span class="symbol">,</span>
|
631
|
+
<span class="normal"> </span><span class="string">"x"</span><span class="symbol">,</span><span class="normal"> base_x</span><span class="symbol">,</span>
|
632
|
+
<span class="normal"> </span><span class="string">"y"</span><span class="symbol">,</span><span class="normal"> base_y</span><span class="symbol">,</span>
|
633
|
+
<span class="normal"> NULL</span><span class="symbol">);</span>
|
634
|
+
<span class="cbracket">}</span>
|
635
|
+
|
636
|
+
<span class="keyword">static</span><span class="normal"> gboolean</span>
|
637
|
+
<span class="function">on_button_press</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">actor</span><span class="symbol">,</span>
|
638
|
+
<span class="normal"> </span><span class="usertype">ClutterButtonEvent</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">event</span><span class="symbol">,</span>
|
639
|
+
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">rectangle</span><span class="symbol">)</span>
|
640
|
+
<span class="cbracket">{</span>
|
641
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">event</span><span class="symbol">-></span><span class="normal">button </span><span class="symbol">==</span><span class="normal"> <a href="clutter-Events.html#CLUTTER-BUTTON-SECONDARY:CAPS">CLUTTER_BUTTON_SECONDARY</a></span><span class="symbol">)</span>
|
642
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
643
|
+
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">text</span><span class="symbol">;</span>
|
644
|
+
|
645
|
+
<span class="normal"> </span><span class="comment">/* cycle through the various easing modes */</span>
|
646
|
+
<span class="normal"> current_mode </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">current_mode </span><span class="symbol">+</span><span class="normal"> </span><span class="number">1</span><span class="normal"> </span><span class="symbol"><</span><span class="normal"> n_easing_modes</span><span class="symbol">)</span>
|
647
|
+
<span class="normal"> </span><span class="symbol">?</span><span class="normal"> current_mode </span><span class="symbol">+</span><span class="normal"> </span><span class="number">1</span>
|
648
|
+
<span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
649
|
+
|
650
|
+
<span class="normal"> </span><span class="comment">/* update the text of the label */</span>
|
651
|
+
<span class="normal"> text </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_strdup_printf</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">HELP_TEXT</span><span class="symbol">,</span>
|
652
|
+
<span class="normal"> easing_modes</span><span class="symbol">[</span><span class="normal">current_mode</span><span class="symbol">].</span><span class="normal">name</span><span class="symbol">,</span>
|
653
|
+
<span class="normal"> current_mode </span><span class="symbol">+</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span>
|
654
|
+
<span class="normal"> n_easing_modes</span><span class="symbol">);</span>
|
655
|
+
|
656
|
+
<span class="normal"> </span><span class="function"><a href="ClutterText.html#clutter-text-set-text">clutter_text_set_text</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_TEXT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">easing_mode_label</span><span class="symbol">),</span><span class="normal"> text</span><span class="symbol">);</span>
|
657
|
+
<span class="normal"> </span><span class="function">g_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span>
|
658
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
659
|
+
<span class="normal"> </span><span class="keyword">else</span><span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">event</span><span class="symbol">-></span><span class="normal">button </span><span class="symbol">==</span><span class="normal"> <a href="clutter-Events.html#CLUTTER-BUTTON-PRIMARY:CAPS">CLUTTER_BUTTON_PRIMARY</a></span><span class="symbol">)</span>
|
660
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
661
|
+
<span class="normal"> </span><span class="usertype">ClutterAnimation</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">animation</span><span class="symbol">;</span>
|
662
|
+
<span class="normal"> </span><span class="usertype">ClutterAnimationMode</span><span class="normal"> cur_mode</span><span class="symbol">;</span>
|
663
|
+
|
664
|
+
<span class="normal"> cur_mode </span><span class="symbol">=</span><span class="normal"> easing_modes</span><span class="symbol">[</span><span class="normal">current_mode</span><span class="symbol">].</span><span class="normal">mode</span><span class="symbol">;</span>
|
665
|
+
|
666
|
+
<span class="normal"> </span><span class="comment">/* tween the actor using the current easing mode */</span>
|
667
|
+
<span class="normal"> animation </span><span class="symbol">=</span>
|
668
|
+
<span class="normal"> </span><span class="function"><a href="clutter-Implicit-Animations.html#clutter-actor-animate">clutter_actor_animate</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">rectangle</span><span class="symbol">,</span><span class="normal"> cur_mode</span><span class="symbol">,</span><span class="normal"> duration </span><span class="symbol">*</span><span class="normal"> </span><span class="number">1000</span><span class="symbol">,</span>
|
669
|
+
<span class="normal"> </span><span class="string">"x"</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-></span><span class="normal">x</span><span class="symbol">,</span>
|
670
|
+
<span class="normal"> </span><span class="string">"y"</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-></span><span class="normal">y</span><span class="symbol">,</span>
|
671
|
+
<span class="normal"> NULL</span><span class="symbol">);</span>
|
672
|
+
|
673
|
+
<span class="normal"> </span><span class="comment">/* if we were asked to, recenter the bouncer at the end of the</span>
|
674
|
+
<span class="comment"> * animation. we keep track of the animation to avoid connecting</span>
|
675
|
+
<span class="comment"> * the signal handler to the same Animation twice.</span>
|
676
|
+
<span class="comment"> */</span>
|
677
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">recenter </span><span class="symbol">&&</span><span class="normal"> last_animation </span><span class="symbol">!=</span><span class="normal"> animation</span><span class="symbol">)</span>
|
678
|
+
<span class="normal"> </span><span class="function">g_signal_connect_after</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">animation</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"completed"</span><span class="symbol">,</span>
|
679
|
+
<span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">recenter_bouncer</span><span class="symbol">),</span>
|
680
|
+
<span class="normal"> rectangle</span><span class="symbol">);</span>
|
681
|
+
|
682
|
+
<span class="normal"> last_animation </span><span class="symbol">=</span><span class="normal"> animation</span><span class="symbol">;</span>
|
683
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
684
|
+
|
685
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> TRUE</span><span class="symbol">;</span>
|
686
|
+
<span class="cbracket">}</span>
|
687
|
+
|
688
|
+
<span class="keyword">static</span><span class="normal"> gboolean</span>
|
689
|
+
<span class="function">draw_bouncer</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ClutterCairoTexture</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">texture</span><span class="symbol">,</span>
|
690
|
+
<span class="normal"> </span><span class="usertype">cairo_t</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cr</span><span class="symbol">)</span>
|
691
|
+
<span class="cbracket">{</span>
|
692
|
+
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">ClutterColor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">bouncer_color</span><span class="symbol">;</span>
|
693
|
+
<span class="normal"> </span><span class="usertype">cairo_pattern_t</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">pattern</span><span class="symbol">;</span>
|
694
|
+
<span class="normal"> </span><span class="usertype">guint</span><span class="normal"> width</span><span class="symbol">,</span><span class="normal"> height</span><span class="symbol">;</span>
|
695
|
+
<span class="normal"> </span><span class="type">float</span><span class="normal"> radius</span><span class="symbol">;</span>
|
696
|
+
|
697
|
+
<span class="normal"> </span><span class="function"><a href="ClutterCairoTexture.html#clutter-cairo-texture-get-surface-size">clutter_cairo_texture_get_surface_size</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">texture</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">width</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">height</span><span class="symbol">);</span>
|
698
|
+
|
699
|
+
<span class="normal"> radius </span><span class="symbol">=</span><span class="normal"> </span><span class="function">MAX</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">width</span><span class="symbol">,</span><span class="normal"> height</span><span class="symbol">);</span>
|
700
|
+
|
701
|
+
<span class="normal"> </span><span class="function"><a href="ClutterCairoTexture.html#clutter-cairo-texture-clear">clutter_cairo_texture_clear</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">texture</span><span class="symbol">);</span>
|
702
|
+
|
703
|
+
<span class="normal"> </span><span class="function"><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-arc">cairo_arc</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> radius </span><span class="symbol">/</span><span class="normal"> </span><span class="number">2</span><span class="symbol">,</span><span class="normal"> radius </span><span class="symbol">/</span><span class="normal"> </span><span class="number">2</span><span class="symbol">,</span><span class="normal"> radius </span><span class="symbol">/</span><span class="normal"> </span><span class="number">2</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">2.0</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"> G_PI</span><span class="symbol">);</span>
|
704
|
+
|
705
|
+
<span class="normal"> bouncer_color </span><span class="symbol">=</span><span class="normal"> CLUTTER_COLOR_DarkScarletRed</span><span class="symbol">;</span>
|
706
|
+
|
707
|
+
<span class="normal"> pattern </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html#cairo-pattern-create-radial">cairo_pattern_create_radial</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">radius </span><span class="symbol">/</span><span class="normal"> </span><span class="number">2</span><span class="symbol">,</span><span class="normal"> radius </span><span class="symbol">/</span><span class="normal"> </span><span class="number">2</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span>
|
708
|
+
<span class="normal"> radius</span><span class="symbol">,</span><span class="normal"> radius</span><span class="symbol">,</span><span class="normal"> radius</span><span class="symbol">);</span>
|
709
|
+
<span class="normal"> </span><span class="function"><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html#cairo-pattern-add-color-stop-rgba">cairo_pattern_add_color_stop_rgba</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pattern</span><span class="symbol">,</span>
|
710
|
+
<span class="normal"> </span><span class="number">0</span><span class="symbol">,</span>
|
711
|
+
<span class="normal"> bouncer_color</span><span class="symbol">-></span><span class="normal">red </span><span class="symbol">/</span><span class="normal"> </span><span class="number">255.0</span><span class="symbol">,</span>
|
712
|
+
<span class="normal"> bouncer_color</span><span class="symbol">-></span><span class="normal">green </span><span class="symbol">/</span><span class="normal"> </span><span class="number">255.0</span><span class="symbol">,</span>
|
713
|
+
<span class="normal"> bouncer_color</span><span class="symbol">-></span><span class="normal">blue </span><span class="symbol">/</span><span class="normal"> </span><span class="number">255.0</span><span class="symbol">,</span>
|
714
|
+
<span class="normal"> bouncer_color</span><span class="symbol">-></span><span class="normal">alpha </span><span class="symbol">/</span><span class="normal"> </span><span class="number">255.0</span><span class="symbol">);</span>
|
715
|
+
<span class="normal"> </span><span class="function"><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html#cairo-pattern-add-color-stop-rgba">cairo_pattern_add_color_stop_rgba</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pattern</span><span class="symbol">,</span>
|
716
|
+
<span class="normal"> </span><span class="number">0.85</span><span class="symbol">,</span>
|
717
|
+
<span class="normal"> bouncer_color</span><span class="symbol">-></span><span class="normal">red </span><span class="symbol">/</span><span class="normal"> </span><span class="number">255.0</span><span class="symbol">,</span>
|
718
|
+
<span class="normal"> bouncer_color</span><span class="symbol">-></span><span class="normal">green </span><span class="symbol">/</span><span class="normal"> </span><span class="number">255.0</span><span class="symbol">,</span>
|
719
|
+
<span class="normal"> bouncer_color</span><span class="symbol">-></span><span class="normal">blue </span><span class="symbol">/</span><span class="normal"> </span><span class="number">255.0</span><span class="symbol">,</span>
|
720
|
+
<span class="normal"> </span><span class="number">0.25</span><span class="symbol">);</span>
|
721
|
+
|
722
|
+
<span class="normal"> </span><span class="function"><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-set-source">cairo_set_source</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> pattern</span><span class="symbol">);</span>
|
723
|
+
<span class="normal"> </span><span class="function"><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-fill-preserve">cairo_fill_preserve</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
|
724
|
+
|
725
|
+
<span class="normal"> </span><span class="function"><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html#cairo-pattern-destroy">cairo_pattern_destroy</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pattern</span><span class="symbol">);</span>
|
726
|
+
|
727
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> TRUE</span><span class="symbol">;</span>
|
728
|
+
<span class="cbracket">}</span>
|
729
|
+
|
730
|
+
<span class="keyword">static</span><span class="normal"> <a href="ClutterActor.html">ClutterActor</a> </span><span class="symbol">*</span>
|
731
|
+
<span class="function">make_bouncer</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">gfloat</span><span class="normal"> width</span><span class="symbol">,</span>
|
732
|
+
<span class="normal"> </span><span class="usertype">gfloat</span><span class="normal"> height</span><span class="symbol">)</span>
|
733
|
+
<span class="cbracket">{</span>
|
734
|
+
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">retval</span><span class="symbol">;</span>
|
735
|
+
|
736
|
+
<span class="normal"> retval </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterCairoTexture.html#clutter-cairo-texture-new">clutter_cairo_texture_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">width</span><span class="symbol">,</span><span class="normal"> height</span><span class="symbol">);</span>
|
737
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">retval</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"draw"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">draw_bouncer</span><span class="symbol">),</span><span class="normal"> NULL</span><span class="symbol">);</span>
|
738
|
+
|
739
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-name">clutter_actor_set_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">retval</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"bouncer"</span><span class="symbol">);</span>
|
740
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-size">clutter_actor_set_size</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">retval</span><span class="symbol">,</span><span class="normal"> width</span><span class="symbol">,</span><span class="normal"> height</span><span class="symbol">);</span>
|
741
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-anchor-point">clutter_actor_set_anchor_point</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">retval</span><span class="symbol">,</span><span class="normal"> width </span><span class="symbol">/</span><span class="normal"> </span><span class="number">2</span><span class="symbol">,</span><span class="normal"> height </span><span class="symbol">/</span><span class="normal"> </span><span class="number">2</span><span class="symbol">);</span>
|
742
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-reactive">clutter_actor_set_reactive</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">retval</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">);</span>
|
743
|
+
|
744
|
+
<span class="normal"> </span><span class="comment">/* make sure we draw the bouncer immediately */</span>
|
745
|
+
<span class="normal"> </span><span class="function"><a href="ClutterCairoTexture.html#clutter-cairo-texture-invalidate">clutter_cairo_texture_invalidate</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_CAIRO_TEXTURE</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">retval</span><span class="symbol">));</span>
|
746
|
+
|
747
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> retval</span><span class="symbol">;</span>
|
748
|
+
<span class="cbracket">}</span>
|
749
|
+
|
750
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">GOptionEntry</span><span class="normal"> test_easing_entries</span><span class="symbol">[]</span><span class="normal"> </span><span class="symbol">=</span><span class="normal"> </span><span class="cbracket">{</span>
|
751
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
752
|
+
<span class="normal"> </span><span class="string">"re-center"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">'r'</span><span class="symbol">,</span>
|
753
|
+
<span class="normal"> </span><span class="number">0</span><span class="symbol">,</span>
|
754
|
+
<span class="normal"> G_OPTION_ARG_NONE</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">recenter</span><span class="symbol">,</span>
|
755
|
+
<span class="normal"> </span><span class="string">"Re-center the actor when the animation ends"</span><span class="symbol">,</span>
|
756
|
+
<span class="normal"> NULL</span>
|
757
|
+
<span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
758
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
759
|
+
<span class="normal"> </span><span class="string">"duration"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">'d'</span><span class="symbol">,</span>
|
760
|
+
<span class="normal"> </span><span class="number">0</span><span class="symbol">,</span>
|
761
|
+
<span class="normal"> G_OPTION_ARG_INT</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">duration</span><span class="symbol">,</span>
|
762
|
+
<span class="normal"> </span><span class="string">"Duration of the animation"</span><span class="symbol">,</span>
|
763
|
+
<span class="normal"> </span><span class="string">"SECONDS"</span>
|
764
|
+
<span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
765
|
+
|
766
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> NULL </span><span class="cbracket">}</span>
|
767
|
+
<span class="cbracket">}</span><span class="symbol">;</span>
|
768
|
+
|
769
|
+
<span class="normal">G_MODULE_EXPORT </span><span class="type">int</span>
|
770
|
+
<span class="function">test_easing_main</span><span class="normal"> </span><span class="symbol">(</span><span class="type">int</span><span class="normal"> argc</span><span class="symbol">,</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">argv</span><span class="symbol">[])</span>
|
771
|
+
<span class="cbracket">{</span>
|
772
|
+
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">rect</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">label</span><span class="symbol">;</span>
|
773
|
+
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">text</span><span class="symbol">;</span>
|
774
|
+
<span class="normal"> </span><span class="usertype">gfloat</span><span class="normal"> stage_width</span><span class="symbol">,</span><span class="normal"> stage_height</span><span class="symbol">;</span>
|
775
|
+
<span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> NULL</span><span class="symbol">;</span>
|
776
|
+
|
777
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="clutter-General.html#clutter-init-with-args">clutter_init_with_args</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">argc</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">argv</span><span class="symbol">,</span>
|
778
|
+
<span class="normal"> NULL</span><span class="symbol">,</span>
|
779
|
+
<span class="normal"> test_easing_entries</span><span class="symbol">,</span>
|
780
|
+
<span class="normal"> NULL</span><span class="symbol">,</span>
|
781
|
+
<span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">!=</span><span class="normal"> <a href="clutter-General.html#CLUTTER-INIT-SUCCESS:CAPS">CLUTTER_INIT_SUCCESS</a></span><span class="symbol">)</span>
|
782
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">1</span><span class="symbol">;</span>
|
783
|
+
|
784
|
+
<span class="normal"> stage </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterStage.html#clutter-stage-new">clutter_stage_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
785
|
+
<span class="normal"> </span><span class="function"><a href="ClutterStage.html#clutter-stage-set-title">clutter_stage_set_title</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_STAGE</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"Easing Modes"</span><span class="symbol">);</span>
|
786
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-background-color">clutter_actor_set_background_color</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> CLUTTER_COLOR_LightSkyBlue</span><span class="symbol">);</span>
|
787
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"destroy"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="clutter-General.html#clutter-main-quit">clutter_main_quit</a></span><span class="symbol">),</span><span class="normal"> NULL</span><span class="symbol">);</span>
|
788
|
+
<span class="normal"> main_stage </span><span class="symbol">=</span><span class="normal"> stage</span><span class="symbol">;</span>
|
789
|
+
|
790
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-get-size">clutter_actor_get_size</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">stage_width</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">stage_height</span><span class="symbol">);</span>
|
791
|
+
|
792
|
+
<span class="normal"> </span><span class="comment">/* create the actor that we want to tween */</span>
|
793
|
+
<span class="normal"> rect </span><span class="symbol">=</span><span class="normal"> </span><span class="function">make_bouncer</span><span class="normal"> </span><span class="symbol">(</span><span class="number">50</span><span class="symbol">,</span><span class="normal"> </span><span class="number">50</span><span class="symbol">);</span>
|
794
|
+
<span class="normal"> </span><span class="function"><a href="ClutterContainer.html#clutter-container-add-actor">clutter_container_add_actor</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">),</span><span class="normal"> rect</span><span class="symbol">);</span>
|
795
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-position">clutter_actor_set_position</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">rect</span><span class="symbol">,</span><span class="normal"> stage_width </span><span class="symbol">/</span><span class="normal"> </span><span class="number">2</span><span class="symbol">,</span><span class="normal"> stage_height </span><span class="symbol">/</span><span class="normal"> </span><span class="number">2</span><span class="symbol">);</span>
|
796
|
+
|
797
|
+
<span class="normal"> text </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_strdup_printf</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">HELP_TEXT</span><span class="symbol">,</span>
|
798
|
+
<span class="normal"> easing_modes</span><span class="symbol">[</span><span class="normal">current_mode</span><span class="symbol">].</span><span class="normal">name</span><span class="symbol">,</span>
|
799
|
+
<span class="normal"> current_mode </span><span class="symbol">+</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span>
|
800
|
+
<span class="normal"> n_easing_modes</span><span class="symbol">);</span>
|
801
|
+
|
802
|
+
<span class="normal"> label </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterText.html#clutter-text-new">clutter_text_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
803
|
+
<span class="normal"> </span><span class="function"><a href="ClutterContainer.html#clutter-container-add-actor">clutter_container_add_actor</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">),</span><span class="normal"> label</span><span class="symbol">);</span>
|
804
|
+
<span class="normal"> </span><span class="function"><a href="ClutterText.html#clutter-text-set-text">clutter_text_set_text</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_TEXT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">label</span><span class="symbol">),</span><span class="normal"> text</span><span class="symbol">);</span>
|
805
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-constraint">clutter_actor_add_constraint</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">label</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="ClutterAlignConstraint.html#clutter-align-constraint-new">clutter_align_constraint_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> <a href="ClutterAlignConstraint.html#CLUTTER-ALIGN-X-AXIS:CAPS">CLUTTER_ALIGN_X_AXIS</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.95</span><span class="symbol">));</span>
|
806
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-constraint">clutter_actor_add_constraint</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">label</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="ClutterAlignConstraint.html#clutter-align-constraint-new">clutter_align_constraint_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> <a href="ClutterAlignConstraint.html#CLUTTER-ALIGN-Y-AXIS:CAPS">CLUTTER_ALIGN_Y_AXIS</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.95</span><span class="symbol">));</span>
|
807
|
+
<span class="normal"> easing_mode_label </span><span class="symbol">=</span><span class="normal"> label</span><span class="symbol">;</span>
|
808
|
+
|
809
|
+
<span class="normal"> </span><span class="function">g_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span>
|
810
|
+
|
811
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span>
|
812
|
+
<span class="normal"> </span><span class="string">"button-press-event"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_button_press</span><span class="symbol">),</span>
|
813
|
+
<span class="normal"> rect</span><span class="symbol">);</span>
|
814
|
+
|
815
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-show">clutter_actor_show</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">);</span>
|
816
|
+
|
817
|
+
<span class="normal"> </span><span class="function"><a href="clutter-General.html#clutter-main">clutter_main</a></span><span class="normal"> </span><span class="symbol">();</span>
|
818
|
+
|
819
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> EXIT_SUCCESS</span><span class="symbol">;</span>
|
820
|
+
<span class="cbracket">}</span>
|
821
|
+
|
822
|
+
<span class="normal">G_MODULE_EXPORT </span><span class="usertype">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span>
|
823
|
+
<span class="function">test_easing_describe</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">)</span>
|
824
|
+
<span class="cbracket">{</span>
|
825
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="string">"Visualize all easing modes provided by Clutter"</span><span class="symbol">;</span>
|
826
|
+
<span class="cbracket">}</span></pre></td>
|
827
|
+
</tr>
|
828
|
+
</tbody>
|
829
|
+
</table>
|
830
|
+
</div>
|
831
|
+
|
832
|
+
</div>
|
833
|
+
<p><br class="example-break">
|
834
|
+
</p>
|
835
|
+
<p>
|
836
|
+
<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> is available since Clutter 1.0.
|
837
|
+
</p>
|
838
|
+
<p>
|
839
|
+
<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> has been deprecated in Clutter 1.12.
|
840
|
+
</p>
|
841
|
+
</div>
|
842
|
+
<div class="refsect1">
|
843
|
+
<a name="clutter-Implicit-Animations.details"></a><h2>Details</h2>
|
844
|
+
<div class="refsect2">
|
845
|
+
<a name="ClutterAnimation-struct"></a><h3>ClutterAnimation</h3>
|
846
|
+
<pre class="programlisting">typedef struct _ClutterAnimation ClutterAnimation;</pre>
|
847
|
+
<p>
|
848
|
+
The <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> structure contains only private data and should
|
849
|
+
be accessed using the provided functions.
|
850
|
+
</p>
|
851
|
+
<p class="since">Since 1.0</p>
|
852
|
+
</div>
|
853
|
+
<hr>
|
854
|
+
<div class="refsect2">
|
855
|
+
<a name="ClutterAnimationClass"></a><h3>struct ClutterAnimationClass</h3>
|
856
|
+
<pre class="programlisting">struct ClutterAnimationClass {
|
857
|
+
void (* started) (ClutterAnimation *animation);
|
858
|
+
void (* completed) (ClutterAnimation *animation);
|
859
|
+
};
|
860
|
+
</pre>
|
861
|
+
<p>
|
862
|
+
The <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimationClass" title="struct ClutterAnimationClass"><span class="type">ClutterAnimationClass</span></a> structure contains only private data and
|
863
|
+
should be accessed using the provided functions.
|
864
|
+
</p>
|
865
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
866
|
+
<colgroup>
|
867
|
+
<col align="left" valign="top">
|
868
|
+
<col>
|
869
|
+
</colgroup>
|
870
|
+
<tbody>
|
871
|
+
<tr>
|
872
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterAnimationClass.started"></a>started</code></em> ()</span></p></td>
|
873
|
+
<td>class handler for the <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation-started" title='The "started" signal'><span class="type">"started"</span></a> signal</td>
|
874
|
+
</tr>
|
875
|
+
<tr>
|
876
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterAnimationClass.completed"></a>completed</code></em> ()</span></p></td>
|
877
|
+
<td>class handler for the <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation-completed" title='The "completed" signal'><span class="type">"completed"</span></a> signal</td>
|
878
|
+
</tr>
|
879
|
+
</tbody>
|
880
|
+
</table></div>
|
881
|
+
<p class="since">Since 1.0</p>
|
882
|
+
</div>
|
883
|
+
<hr>
|
884
|
+
<div class="refsect2">
|
885
|
+
<a name="clutter-animation-new"></a><h3>clutter_animation_new ()</h3>
|
886
|
+
<pre class="programlisting"><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="returnvalue">ClutterAnimation</span></a> * clutter_animation_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
887
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
888
|
+
<h3 class="title">Warning</h3>
|
889
|
+
<p><code class="literal">clutter_animation_new</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition"><span class="type">ClutterPropertyTransition</span></a> instead</p>
|
890
|
+
</div>
|
891
|
+
<p>
|
892
|
+
Creates a new <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> instance. You should set the
|
893
|
+
<span class="type">GObject</span> to be animated using <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-set-object" title="clutter_animation_set_object ()"><code class="function">clutter_animation_set_object()</code></a>,
|
894
|
+
set the duration with <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-set-duration" title="clutter_animation_set_duration ()"><code class="function">clutter_animation_set_duration()</code></a> and the
|
895
|
+
easing mode using <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-set-mode" title="clutter_animation_set_mode ()"><code class="function">clutter_animation_set_mode()</code></a>.
|
896
|
+
</p>
|
897
|
+
<p>
|
898
|
+
Use <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-bind" title="clutter_animation_bind ()"><code class="function">clutter_animation_bind()</code></a> or <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-bind-interval" title="clutter_animation_bind_interval ()"><code class="function">clutter_animation_bind_interval()</code></a>
|
899
|
+
to define the properties to be animated. The interval and the
|
900
|
+
animated properties can be updated at runtime.
|
901
|
+
</p>
|
902
|
+
<p>
|
903
|
+
The <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate" title="clutter_actor_animate ()"><code class="function">clutter_actor_animate()</code></a> and relative family of functions provide
|
904
|
+
an easy way to animate a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> and automatically manage the
|
905
|
+
lifetime of a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> instance, so you should consider using
|
906
|
+
those functions instead of manually creating an animation.
|
907
|
+
</p>
|
908
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
909
|
+
<colgroup>
|
910
|
+
<col align="left" valign="top">
|
911
|
+
<col>
|
912
|
+
</colgroup>
|
913
|
+
<tbody><tr>
|
914
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
915
|
+
<td>the newly created <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>. Use <code class="function">g_object_unref()</code>
|
916
|
+
to release the associated resources</td>
|
917
|
+
</tr></tbody>
|
918
|
+
</table></div>
|
919
|
+
<p class="since">Since 1.0</p>
|
920
|
+
</div>
|
921
|
+
<hr>
|
922
|
+
<div class="refsect2">
|
923
|
+
<a name="clutter-animation-set-object"></a><h3>clutter_animation_set_object ()</h3>
|
924
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_animation_set_object (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>,
|
925
|
+
<em class="parameter"><code><span class="type">GObject</span> *object</code></em>);</pre>
|
926
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
927
|
+
<h3 class="title">Warning</h3>
|
928
|
+
<p><code class="literal">clutter_animation_set_object</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition"><span class="type">ClutterPropertyTransition</span></a> instead</p>
|
929
|
+
</div>
|
930
|
+
<p>
|
931
|
+
Attaches <em class="parameter"><code>animation</code></em> to <em class="parameter"><code>object</code></em>. The <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> will take a
|
932
|
+
reference on <em class="parameter"><code>object</code></em>.
|
933
|
+
</p>
|
934
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
935
|
+
<colgroup>
|
936
|
+
<col align="left" valign="top">
|
937
|
+
<col>
|
938
|
+
</colgroup>
|
939
|
+
<tbody>
|
940
|
+
<tr>
|
941
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
942
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>
|
943
|
+
</td>
|
944
|
+
</tr>
|
945
|
+
<tr>
|
946
|
+
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
947
|
+
<td>a <span class="type">GObject</span>
|
948
|
+
</td>
|
949
|
+
</tr>
|
950
|
+
</tbody>
|
951
|
+
</table></div>
|
952
|
+
<p class="since">Since 1.0</p>
|
953
|
+
</div>
|
954
|
+
<hr>
|
955
|
+
<div class="refsect2">
|
956
|
+
<a name="clutter-animation-get-object"></a><h3>clutter_animation_get_object ()</h3>
|
957
|
+
<pre class="programlisting"><span class="returnvalue">GObject</span> * clutter_animation_get_object (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>);</pre>
|
958
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
959
|
+
<h3 class="title">Warning</h3>
|
960
|
+
<p><code class="literal">clutter_animation_get_object</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition"><span class="type">ClutterPropertyTransition</span></a> instead</p>
|
961
|
+
</div>
|
962
|
+
<p>
|
963
|
+
Retrieves the <span class="type">GObject</span> attached to <em class="parameter"><code>animation</code></em>.
|
964
|
+
</p>
|
965
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
966
|
+
<colgroup>
|
967
|
+
<col align="left" valign="top">
|
968
|
+
<col>
|
969
|
+
</colgroup>
|
970
|
+
<tbody>
|
971
|
+
<tr>
|
972
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
973
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>
|
974
|
+
</td>
|
975
|
+
</tr>
|
976
|
+
<tr>
|
977
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
978
|
+
<td>a <span class="type">GObject</span>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
979
|
+
</td>
|
980
|
+
</tr>
|
981
|
+
</tbody>
|
982
|
+
</table></div>
|
983
|
+
<p class="since">Since 1.0</p>
|
984
|
+
</div>
|
985
|
+
<hr>
|
986
|
+
<div class="refsect2">
|
987
|
+
<a name="clutter-animation-set-mode"></a><h3>clutter_animation_set_mode ()</h3>
|
988
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_animation_set_mode (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>,
|
989
|
+
<em class="parameter"><code><span class="type">gulong</span> mode</code></em>);</pre>
|
990
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
991
|
+
<h3 class="title">Warning</h3>
|
992
|
+
<p><code class="literal">clutter_animation_set_mode</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition"><span class="type">ClutterPropertyTransition</span></a> instead</p>
|
993
|
+
</div>
|
994
|
+
<p>
|
995
|
+
Sets the animation <em class="parameter"><code>mode</code></em> of <em class="parameter"><code>animation</code></em>. The animation <em class="parameter"><code>mode</code></em> is
|
996
|
+
a logical id, either coming from the <a class="link" href="ClutterTimeline.html#ClutterAnimationMode" title="enum ClutterAnimationMode"><span class="type">ClutterAnimationMode</span></a> enumeration
|
997
|
+
or the return value of <a class="link" href="ClutterAlpha.html#clutter-alpha-register-func" title="clutter_alpha_register_func ()"><code class="function">clutter_alpha_register_func()</code></a>.
|
998
|
+
</p>
|
999
|
+
<p>
|
1000
|
+
This function will also set <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation--alpha" title='The "alpha" property'><span class="type">"alpha"</span></a> if needed.
|
1001
|
+
</p>
|
1002
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1003
|
+
<colgroup>
|
1004
|
+
<col align="left" valign="top">
|
1005
|
+
<col>
|
1006
|
+
</colgroup>
|
1007
|
+
<tbody>
|
1008
|
+
<tr>
|
1009
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
1010
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>
|
1011
|
+
</td>
|
1012
|
+
</tr>
|
1013
|
+
<tr>
|
1014
|
+
<td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
|
1015
|
+
<td>an animation mode logical id</td>
|
1016
|
+
</tr>
|
1017
|
+
</tbody>
|
1018
|
+
</table></div>
|
1019
|
+
<p class="since">Since 1.0</p>
|
1020
|
+
</div>
|
1021
|
+
<hr>
|
1022
|
+
<div class="refsect2">
|
1023
|
+
<a name="clutter-animation-get-mode"></a><h3>clutter_animation_get_mode ()</h3>
|
1024
|
+
<pre class="programlisting"><span class="returnvalue">gulong</span> clutter_animation_get_mode (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>);</pre>
|
1025
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1026
|
+
<h3 class="title">Warning</h3>
|
1027
|
+
<p><code class="literal">clutter_animation_get_mode</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition"><span class="type">ClutterPropertyTransition</span></a> instead</p>
|
1028
|
+
</div>
|
1029
|
+
<p>
|
1030
|
+
Retrieves the animation mode of <em class="parameter"><code>animation</code></em>, as set by
|
1031
|
+
<a class="link" href="clutter-Implicit-Animations.html#clutter-animation-set-mode" title="clutter_animation_set_mode ()"><code class="function">clutter_animation_set_mode()</code></a>.
|
1032
|
+
</p>
|
1033
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1034
|
+
<colgroup>
|
1035
|
+
<col align="left" valign="top">
|
1036
|
+
<col>
|
1037
|
+
</colgroup>
|
1038
|
+
<tbody>
|
1039
|
+
<tr>
|
1040
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
1041
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>
|
1042
|
+
</td>
|
1043
|
+
</tr>
|
1044
|
+
<tr>
|
1045
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1046
|
+
<td>the mode for the animation</td>
|
1047
|
+
</tr>
|
1048
|
+
</tbody>
|
1049
|
+
</table></div>
|
1050
|
+
<p class="since">Since 1.0</p>
|
1051
|
+
</div>
|
1052
|
+
<hr>
|
1053
|
+
<div class="refsect2">
|
1054
|
+
<a name="clutter-animation-set-duration"></a><h3>clutter_animation_set_duration ()</h3>
|
1055
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_animation_set_duration (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>,
|
1056
|
+
<em class="parameter"><code><span class="type">guint</span> msecs</code></em>);</pre>
|
1057
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1058
|
+
<h3 class="title">Warning</h3>
|
1059
|
+
<p><code class="literal">clutter_animation_set_duration</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition"><span class="type">ClutterPropertyTransition</span></a> instead</p>
|
1060
|
+
</div>
|
1061
|
+
<p>
|
1062
|
+
Sets the duration of <em class="parameter"><code>animation</code></em> in milliseconds.
|
1063
|
+
</p>
|
1064
|
+
<p>
|
1065
|
+
This function will set <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation--alpha" title='The "alpha" property'><span class="type">"alpha"</span></a> and
|
1066
|
+
<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation--timeline" title='The "timeline" property'><span class="type">"timeline"</span></a> if needed.
|
1067
|
+
</p>
|
1068
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1069
|
+
<colgroup>
|
1070
|
+
<col align="left" valign="top">
|
1071
|
+
<col>
|
1072
|
+
</colgroup>
|
1073
|
+
<tbody>
|
1074
|
+
<tr>
|
1075
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
1076
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>
|
1077
|
+
</td>
|
1078
|
+
</tr>
|
1079
|
+
<tr>
|
1080
|
+
<td><p><span class="term"><em class="parameter"><code>msecs</code></em> :</span></p></td>
|
1081
|
+
<td>the duration in milliseconds</td>
|
1082
|
+
</tr>
|
1083
|
+
</tbody>
|
1084
|
+
</table></div>
|
1085
|
+
<p class="since">Since 1.0</p>
|
1086
|
+
</div>
|
1087
|
+
<hr>
|
1088
|
+
<div class="refsect2">
|
1089
|
+
<a name="clutter-animation-get-duration"></a><h3>clutter_animation_get_duration ()</h3>
|
1090
|
+
<pre class="programlisting"><span class="returnvalue">guint</span> clutter_animation_get_duration (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>);</pre>
|
1091
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1092
|
+
<h3 class="title">Warning</h3>
|
1093
|
+
<p><code class="literal">clutter_animation_get_duration</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition"><span class="type">ClutterPropertyTransition</span></a> instead</p>
|
1094
|
+
</div>
|
1095
|
+
<p>
|
1096
|
+
Retrieves the duration of <em class="parameter"><code>animation</code></em>, in milliseconds.
|
1097
|
+
</p>
|
1098
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1099
|
+
<colgroup>
|
1100
|
+
<col align="left" valign="top">
|
1101
|
+
<col>
|
1102
|
+
</colgroup>
|
1103
|
+
<tbody>
|
1104
|
+
<tr>
|
1105
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
1106
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>
|
1107
|
+
</td>
|
1108
|
+
</tr>
|
1109
|
+
<tr>
|
1110
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1111
|
+
<td>the duration of the animation</td>
|
1112
|
+
</tr>
|
1113
|
+
</tbody>
|
1114
|
+
</table></div>
|
1115
|
+
<p class="since">Since 1.0</p>
|
1116
|
+
</div>
|
1117
|
+
<hr>
|
1118
|
+
<div class="refsect2">
|
1119
|
+
<a name="clutter-animation-set-loop"></a><h3>clutter_animation_set_loop ()</h3>
|
1120
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_animation_set_loop (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>,
|
1121
|
+
<em class="parameter"><code><span class="type">gboolean</span> loop</code></em>);</pre>
|
1122
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1123
|
+
<h3 class="title">Warning</h3>
|
1124
|
+
<p><code class="literal">clutter_animation_set_loop</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition"><span class="type">ClutterPropertyTransition</span></a> instead</p>
|
1125
|
+
</div>
|
1126
|
+
<p>
|
1127
|
+
Sets whether <em class="parameter"><code>animation</code></em> should loop over itself once finished.
|
1128
|
+
</p>
|
1129
|
+
<p>
|
1130
|
+
A looping <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> will not emit the <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation-completed" title='The "completed" signal'><span class="type">"completed"</span></a>
|
1131
|
+
signal when finished.
|
1132
|
+
</p>
|
1133
|
+
<p>
|
1134
|
+
This function will set <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation--alpha" title='The "alpha" property'><span class="type">"alpha"</span></a> and
|
1135
|
+
<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation--timeline" title='The "timeline" property'><span class="type">"timeline"</span></a> if needed.
|
1136
|
+
</p>
|
1137
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1138
|
+
<colgroup>
|
1139
|
+
<col align="left" valign="top">
|
1140
|
+
<col>
|
1141
|
+
</colgroup>
|
1142
|
+
<tbody>
|
1143
|
+
<tr>
|
1144
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
1145
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>
|
1146
|
+
</td>
|
1147
|
+
</tr>
|
1148
|
+
<tr>
|
1149
|
+
<td><p><span class="term"><em class="parameter"><code>loop</code></em> :</span></p></td>
|
1150
|
+
<td>
|
1151
|
+
<code class="literal">TRUE</code> if the animation should loop</td>
|
1152
|
+
</tr>
|
1153
|
+
</tbody>
|
1154
|
+
</table></div>
|
1155
|
+
<p class="since">Since 1.0</p>
|
1156
|
+
</div>
|
1157
|
+
<hr>
|
1158
|
+
<div class="refsect2">
|
1159
|
+
<a name="clutter-animation-get-loop"></a><h3>clutter_animation_get_loop ()</h3>
|
1160
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_animation_get_loop (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>);</pre>
|
1161
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1162
|
+
<h3 class="title">Warning</h3>
|
1163
|
+
<p><code class="literal">clutter_animation_get_loop</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition"><span class="type">ClutterPropertyTransition</span></a> instead</p>
|
1164
|
+
</div>
|
1165
|
+
<p>
|
1166
|
+
Retrieves whether <em class="parameter"><code>animation</code></em> is looping.
|
1167
|
+
</p>
|
1168
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1169
|
+
<colgroup>
|
1170
|
+
<col align="left" valign="top">
|
1171
|
+
<col>
|
1172
|
+
</colgroup>
|
1173
|
+
<tbody>
|
1174
|
+
<tr>
|
1175
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
1176
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>
|
1177
|
+
</td>
|
1178
|
+
</tr>
|
1179
|
+
<tr>
|
1180
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1181
|
+
<td>
|
1182
|
+
<code class="literal">TRUE</code> if the animation is looping</td>
|
1183
|
+
</tr>
|
1184
|
+
</tbody>
|
1185
|
+
</table></div>
|
1186
|
+
<p class="since">Since 1.0</p>
|
1187
|
+
</div>
|
1188
|
+
<hr>
|
1189
|
+
<div class="refsect2">
|
1190
|
+
<a name="clutter-animation-set-timeline"></a><h3>clutter_animation_set_timeline ()</h3>
|
1191
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_animation_set_timeline (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>,
|
1192
|
+
<em class="parameter"><code><a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> *timeline</code></em>);</pre>
|
1193
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1194
|
+
<h3 class="title">Warning</h3>
|
1195
|
+
<p><code class="literal">clutter_animation_set_timeline</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition"><span class="type">ClutterPropertyTransition</span></a> instead</p>
|
1196
|
+
</div>
|
1197
|
+
<p>
|
1198
|
+
Sets the <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> used by <em class="parameter"><code>animation</code></em>.
|
1199
|
+
</p>
|
1200
|
+
<p>
|
1201
|
+
This function will take a reference on the passed <em class="parameter"><code>timeline</code></em>.
|
1202
|
+
</p>
|
1203
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1204
|
+
<colgroup>
|
1205
|
+
<col align="left" valign="top">
|
1206
|
+
<col>
|
1207
|
+
</colgroup>
|
1208
|
+
<tbody>
|
1209
|
+
<tr>
|
1210
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
1211
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>
|
1212
|
+
</td>
|
1213
|
+
</tr>
|
1214
|
+
<tr>
|
1215
|
+
<td><p><span class="term"><em class="parameter"><code>timeline</code></em> :</span></p></td>
|
1216
|
+
<td>a <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a>, or <code class="literal">NULL</code> to unset the
|
1217
|
+
current <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1218
|
+
</td>
|
1219
|
+
</tr>
|
1220
|
+
</tbody>
|
1221
|
+
</table></div>
|
1222
|
+
<p class="since">Since 1.0</p>
|
1223
|
+
</div>
|
1224
|
+
<hr>
|
1225
|
+
<div class="refsect2">
|
1226
|
+
<a name="clutter-animation-get-timeline"></a><h3>clutter_animation_get_timeline ()</h3>
|
1227
|
+
<pre class="programlisting"><a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="returnvalue">ClutterTimeline</span></a> * clutter_animation_get_timeline (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>);</pre>
|
1228
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1229
|
+
<h3 class="title">Warning</h3>
|
1230
|
+
<p><code class="literal">clutter_animation_get_timeline</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition"><span class="type">ClutterPropertyTransition</span></a> instead</p>
|
1231
|
+
</div>
|
1232
|
+
<p>
|
1233
|
+
Retrieves the <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> used by <em class="parameter"><code>animation</code></em>
|
1234
|
+
</p>
|
1235
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1236
|
+
<colgroup>
|
1237
|
+
<col align="left" valign="top">
|
1238
|
+
<col>
|
1239
|
+
</colgroup>
|
1240
|
+
<tbody>
|
1241
|
+
<tr>
|
1242
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
1243
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>
|
1244
|
+
</td>
|
1245
|
+
</tr>
|
1246
|
+
<tr>
|
1247
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1248
|
+
<td>the timeline used by the animation. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1249
|
+
</td>
|
1250
|
+
</tr>
|
1251
|
+
</tbody>
|
1252
|
+
</table></div>
|
1253
|
+
<p class="since">Since 1.0</p>
|
1254
|
+
</div>
|
1255
|
+
<hr>
|
1256
|
+
<div class="refsect2">
|
1257
|
+
<a name="clutter-animation-set-alpha"></a><h3>clutter_animation_set_alpha ()</h3>
|
1258
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_animation_set_alpha (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>,
|
1259
|
+
<em class="parameter"><code><a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> *alpha</code></em>);</pre>
|
1260
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1261
|
+
<h3 class="title">Warning</h3>
|
1262
|
+
<p><code class="literal">clutter_animation_set_alpha</code> has been deprecated since version 1.10 and should not be used in newly-written code. Use <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-get-timeline" title="clutter_animation_get_timeline ()"><code class="function">clutter_animation_get_timeline()</code></a> and
|
1263
|
+
<a class="link" href="ClutterTimeline.html#clutter-timeline-set-progress-mode" title="clutter_timeline_set_progress_mode ()"><code class="function">clutter_timeline_set_progress_mode()</code></a> instead.</p>
|
1264
|
+
</div>
|
1265
|
+
<p>
|
1266
|
+
Sets <em class="parameter"><code>alpha</code></em> as the <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> used by <em class="parameter"><code>animation</code></em>.
|
1267
|
+
</p>
|
1268
|
+
<p>
|
1269
|
+
If <em class="parameter"><code>alpha</code></em> is not <code class="literal">NULL</code>, the <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> will take ownership
|
1270
|
+
of the <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> instance.
|
1271
|
+
</p>
|
1272
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1273
|
+
<colgroup>
|
1274
|
+
<col align="left" valign="top">
|
1275
|
+
<col>
|
1276
|
+
</colgroup>
|
1277
|
+
<tbody>
|
1278
|
+
<tr>
|
1279
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
1280
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>
|
1281
|
+
</td>
|
1282
|
+
</tr>
|
1283
|
+
<tr>
|
1284
|
+
<td><p><span class="term"><em class="parameter"><code>alpha</code></em> :</span></p></td>
|
1285
|
+
<td>a <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a>, or <code class="literal">NULL</code> to unset the current <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a>
|
1286
|
+
</td>
|
1287
|
+
</tr>
|
1288
|
+
</tbody>
|
1289
|
+
</table></div>
|
1290
|
+
<p class="since">Since 1.0</p>
|
1291
|
+
</div>
|
1292
|
+
<hr>
|
1293
|
+
<div class="refsect2">
|
1294
|
+
<a name="clutter-animation-get-alpha"></a><h3>clutter_animation_get_alpha ()</h3>
|
1295
|
+
<pre class="programlisting"><a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="returnvalue">ClutterAlpha</span></a> * clutter_animation_get_alpha (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>);</pre>
|
1296
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1297
|
+
<h3 class="title">Warning</h3>
|
1298
|
+
<p><code class="literal">clutter_animation_get_alpha</code> has been deprecated since version 1.10 and should not be used in newly-written code. Use <a class="link" href="clutter-Implicit-Animations.html#clutter-animation-get-timeline" title="clutter_animation_get_timeline ()"><code class="function">clutter_animation_get_timeline()</code></a> and
|
1299
|
+
<a class="link" href="ClutterTimeline.html#clutter-timeline-get-progress-mode" title="clutter_timeline_get_progress_mode ()"><code class="function">clutter_timeline_get_progress_mode()</code></a> instead.</p>
|
1300
|
+
</div>
|
1301
|
+
<p>
|
1302
|
+
Retrieves the <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> used by <em class="parameter"><code>animation</code></em>.
|
1303
|
+
</p>
|
1304
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1305
|
+
<colgroup>
|
1306
|
+
<col align="left" valign="top">
|
1307
|
+
<col>
|
1308
|
+
</colgroup>
|
1309
|
+
<tbody>
|
1310
|
+
<tr>
|
1311
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
1312
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>
|
1313
|
+
</td>
|
1314
|
+
</tr>
|
1315
|
+
<tr>
|
1316
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1317
|
+
<td>the alpha object used by the animation. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1318
|
+
</td>
|
1319
|
+
</tr>
|
1320
|
+
</tbody>
|
1321
|
+
</table></div>
|
1322
|
+
<p class="since">Since 1.0</p>
|
1323
|
+
</div>
|
1324
|
+
<hr>
|
1325
|
+
<div class="refsect2">
|
1326
|
+
<a name="clutter-animation-completed"></a><h3>clutter_animation_completed ()</h3>
|
1327
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_animation_completed (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>);</pre>
|
1328
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1329
|
+
<h3 class="title">Warning</h3>
|
1330
|
+
<p><code class="literal">clutter_animation_completed</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition"><span class="type">ClutterPropertyTransition</span></a> instead</p>
|
1331
|
+
</div>
|
1332
|
+
<p>
|
1333
|
+
Emits the ::completed signal on <em class="parameter"><code>animation</code></em>
|
1334
|
+
</p>
|
1335
|
+
<p>
|
1336
|
+
When using this function with a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> created
|
1337
|
+
by the <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate" title="clutter_actor_animate ()"><code class="function">clutter_actor_animate()</code></a> family of functions, <em class="parameter"><code>animation</code></em>
|
1338
|
+
will be unreferenced and it will not be valid anymore,
|
1339
|
+
unless <code class="function">g_object_ref()</code> was called before calling this function
|
1340
|
+
or unless a reference was taken inside a handler for the
|
1341
|
+
<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation-completed" title='The "completed" signal'><span class="type">"completed"</span></a> signal
|
1342
|
+
</p>
|
1343
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1344
|
+
<colgroup>
|
1345
|
+
<col align="left" valign="top">
|
1346
|
+
<col>
|
1347
|
+
</colgroup>
|
1348
|
+
<tbody><tr>
|
1349
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
1350
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>
|
1351
|
+
</td>
|
1352
|
+
</tr></tbody>
|
1353
|
+
</table></div>
|
1354
|
+
<p class="since">Since 1.0</p>
|
1355
|
+
</div>
|
1356
|
+
<hr>
|
1357
|
+
<div class="refsect2">
|
1358
|
+
<a name="clutter-animation-bind"></a><h3>clutter_animation_bind ()</h3>
|
1359
|
+
<pre class="programlisting"><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="returnvalue">ClutterAnimation</span></a> * clutter_animation_bind (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>,
|
1360
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>,
|
1361
|
+
<em class="parameter"><code>const <span class="type">GValue</span> *final</code></em>);</pre>
|
1362
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1363
|
+
<h3 class="title">Warning</h3>
|
1364
|
+
<p><code class="literal">clutter_animation_bind</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition"><span class="type">ClutterPropertyTransition</span></a> instead</p>
|
1365
|
+
</div>
|
1366
|
+
<p>
|
1367
|
+
Adds a single property with name <em class="parameter"><code>property_name</code></em> to the
|
1368
|
+
animation <em class="parameter"><code>animation</code></em>. For more information about animations,
|
1369
|
+
see <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate" title="clutter_actor_animate ()"><code class="function">clutter_actor_animate()</code></a>.
|
1370
|
+
</p>
|
1371
|
+
<p>
|
1372
|
+
This method returns the animation primarily to make chained
|
1373
|
+
calls convenient in language bindings.
|
1374
|
+
</p>
|
1375
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1376
|
+
<colgroup>
|
1377
|
+
<col align="left" valign="top">
|
1378
|
+
<col>
|
1379
|
+
</colgroup>
|
1380
|
+
<tbody>
|
1381
|
+
<tr>
|
1382
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
1383
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>
|
1384
|
+
</td>
|
1385
|
+
</tr>
|
1386
|
+
<tr>
|
1387
|
+
<td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td>
|
1388
|
+
<td>the property to control</td>
|
1389
|
+
</tr>
|
1390
|
+
<tr>
|
1391
|
+
<td><p><span class="term"><em class="parameter"><code>final</code></em> :</span></p></td>
|
1392
|
+
<td>The final value of the property</td>
|
1393
|
+
</tr>
|
1394
|
+
<tr>
|
1395
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1396
|
+
<td>The animation itself. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1397
|
+
</td>
|
1398
|
+
</tr>
|
1399
|
+
</tbody>
|
1400
|
+
</table></div>
|
1401
|
+
<p class="since">Since 1.0</p>
|
1402
|
+
</div>
|
1403
|
+
<hr>
|
1404
|
+
<div class="refsect2">
|
1405
|
+
<a name="clutter-animation-bind-interval"></a><h3>clutter_animation_bind_interval ()</h3>
|
1406
|
+
<pre class="programlisting"><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="returnvalue">ClutterAnimation</span></a> * clutter_animation_bind_interval (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>,
|
1407
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>,
|
1408
|
+
<em class="parameter"><code><a class="link" href="clutter-Value-intervals.html#ClutterInterval"><span class="type">ClutterInterval</span></a> *interval</code></em>);</pre>
|
1409
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1410
|
+
<h3 class="title">Warning</h3>
|
1411
|
+
<p><code class="literal">clutter_animation_bind_interval</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition"><span class="type">ClutterPropertyTransition</span></a> instead</p>
|
1412
|
+
</div>
|
1413
|
+
<p>
|
1414
|
+
Binds <em class="parameter"><code>interval</code></em> to the <em class="parameter"><code>property_name</code></em> of the <span class="type">GObject</span>
|
1415
|
+
attached to <em class="parameter"><code>animation</code></em>. The <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> will take
|
1416
|
+
ownership of the passed <a class="link" href="clutter-Value-intervals.html#ClutterInterval"><span class="type">ClutterInterval</span></a>. For more information
|
1417
|
+
about animations, see <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate" title="clutter_actor_animate ()"><code class="function">clutter_actor_animate()</code></a>.
|
1418
|
+
</p>
|
1419
|
+
<p>
|
1420
|
+
If you need to update the interval instance use
|
1421
|
+
<a class="link" href="clutter-Implicit-Animations.html#clutter-animation-update-interval" title="clutter_animation_update_interval ()"><code class="function">clutter_animation_update_interval()</code></a> instead.
|
1422
|
+
</p>
|
1423
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1424
|
+
<colgroup>
|
1425
|
+
<col align="left" valign="top">
|
1426
|
+
<col>
|
1427
|
+
</colgroup>
|
1428
|
+
<tbody>
|
1429
|
+
<tr>
|
1430
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
1431
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>
|
1432
|
+
</td>
|
1433
|
+
</tr>
|
1434
|
+
<tr>
|
1435
|
+
<td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td>
|
1436
|
+
<td>the property to control</td>
|
1437
|
+
</tr>
|
1438
|
+
<tr>
|
1439
|
+
<td><p><span class="term"><em class="parameter"><code>interval</code></em> :</span></p></td>
|
1440
|
+
<td>a <a class="link" href="clutter-Value-intervals.html#ClutterInterval"><span class="type">ClutterInterval</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1441
|
+
</td>
|
1442
|
+
</tr>
|
1443
|
+
<tr>
|
1444
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1445
|
+
<td>The animation itself. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1446
|
+
</td>
|
1447
|
+
</tr>
|
1448
|
+
</tbody>
|
1449
|
+
</table></div>
|
1450
|
+
<p class="since">Since 1.0</p>
|
1451
|
+
</div>
|
1452
|
+
<hr>
|
1453
|
+
<div class="refsect2">
|
1454
|
+
<a name="clutter-animation-update"></a><h3>clutter_animation_update ()</h3>
|
1455
|
+
<pre class="programlisting"><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="returnvalue">ClutterAnimation</span></a> * clutter_animation_update (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>,
|
1456
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>,
|
1457
|
+
<em class="parameter"><code>const <span class="type">GValue</span> *final</code></em>);</pre>
|
1458
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1459
|
+
<h3 class="title">Warning</h3>
|
1460
|
+
<p><code class="literal">clutter_animation_update</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition"><span class="type">ClutterPropertyTransition</span></a> instead</p>
|
1461
|
+
</div>
|
1462
|
+
<p>
|
1463
|
+
Updates the <em class="parameter"><code>final</code></em> value of the interval for <em class="parameter"><code>property_name</code></em>
|
1464
|
+
</p>
|
1465
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1466
|
+
<colgroup>
|
1467
|
+
<col align="left" valign="top">
|
1468
|
+
<col>
|
1469
|
+
</colgroup>
|
1470
|
+
<tbody>
|
1471
|
+
<tr>
|
1472
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
1473
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>
|
1474
|
+
</td>
|
1475
|
+
</tr>
|
1476
|
+
<tr>
|
1477
|
+
<td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td>
|
1478
|
+
<td>name of the property</td>
|
1479
|
+
</tr>
|
1480
|
+
<tr>
|
1481
|
+
<td><p><span class="term"><em class="parameter"><code>final</code></em> :</span></p></td>
|
1482
|
+
<td>The final value of the property</td>
|
1483
|
+
</tr>
|
1484
|
+
<tr>
|
1485
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1486
|
+
<td>The animation itself. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1487
|
+
</td>
|
1488
|
+
</tr>
|
1489
|
+
</tbody>
|
1490
|
+
</table></div>
|
1491
|
+
<p class="since">Since 1.0</p>
|
1492
|
+
</div>
|
1493
|
+
<hr>
|
1494
|
+
<div class="refsect2">
|
1495
|
+
<a name="clutter-animation-update-interval"></a><h3>clutter_animation_update_interval ()</h3>
|
1496
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_animation_update_interval (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>,
|
1497
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>,
|
1498
|
+
<em class="parameter"><code><a class="link" href="clutter-Value-intervals.html#ClutterInterval"><span class="type">ClutterInterval</span></a> *interval</code></em>);</pre>
|
1499
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1500
|
+
<h3 class="title">Warning</h3>
|
1501
|
+
<p><code class="literal">clutter_animation_update_interval</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition"><span class="type">ClutterPropertyTransition</span></a> instead</p>
|
1502
|
+
</div>
|
1503
|
+
<p>
|
1504
|
+
Changes the <em class="parameter"><code>interval</code></em> for <em class="parameter"><code>property_name</code></em>. The <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>
|
1505
|
+
will take ownership of the passed <a class="link" href="clutter-Value-intervals.html#ClutterInterval"><span class="type">ClutterInterval</span></a>.
|
1506
|
+
</p>
|
1507
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1508
|
+
<colgroup>
|
1509
|
+
<col align="left" valign="top">
|
1510
|
+
<col>
|
1511
|
+
</colgroup>
|
1512
|
+
<tbody>
|
1513
|
+
<tr>
|
1514
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
1515
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>
|
1516
|
+
</td>
|
1517
|
+
</tr>
|
1518
|
+
<tr>
|
1519
|
+
<td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td>
|
1520
|
+
<td>name of the property</td>
|
1521
|
+
</tr>
|
1522
|
+
<tr>
|
1523
|
+
<td><p><span class="term"><em class="parameter"><code>interval</code></em> :</span></p></td>
|
1524
|
+
<td>a <a class="link" href="clutter-Value-intervals.html#ClutterInterval"><span class="type">ClutterInterval</span></a>
|
1525
|
+
</td>
|
1526
|
+
</tr>
|
1527
|
+
</tbody>
|
1528
|
+
</table></div>
|
1529
|
+
<p class="since">Since 1.0</p>
|
1530
|
+
</div>
|
1531
|
+
<hr>
|
1532
|
+
<div class="refsect2">
|
1533
|
+
<a name="clutter-animation-has-property"></a><h3>clutter_animation_has_property ()</h3>
|
1534
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_animation_has_property (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>,
|
1535
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>);</pre>
|
1536
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1537
|
+
<h3 class="title">Warning</h3>
|
1538
|
+
<p><code class="literal">clutter_animation_has_property</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition"><span class="type">ClutterPropertyTransition</span></a> instead</p>
|
1539
|
+
</div>
|
1540
|
+
<p>
|
1541
|
+
Checks whether <em class="parameter"><code>animation</code></em> is controlling <em class="parameter"><code>property_name</code></em>.
|
1542
|
+
</p>
|
1543
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1544
|
+
<colgroup>
|
1545
|
+
<col align="left" valign="top">
|
1546
|
+
<col>
|
1547
|
+
</colgroup>
|
1548
|
+
<tbody>
|
1549
|
+
<tr>
|
1550
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
1551
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>
|
1552
|
+
</td>
|
1553
|
+
</tr>
|
1554
|
+
<tr>
|
1555
|
+
<td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td>
|
1556
|
+
<td>name of the property</td>
|
1557
|
+
</tr>
|
1558
|
+
<tr>
|
1559
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1560
|
+
<td>
|
1561
|
+
<code class="literal">TRUE</code> if the property is animated by the
|
1562
|
+
<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>, <code class="literal">FALSE</code> otherwise</td>
|
1563
|
+
</tr>
|
1564
|
+
</tbody>
|
1565
|
+
</table></div>
|
1566
|
+
<p class="since">Since 1.0</p>
|
1567
|
+
</div>
|
1568
|
+
<hr>
|
1569
|
+
<div class="refsect2">
|
1570
|
+
<a name="clutter-animation-unbind-property"></a><h3>clutter_animation_unbind_property ()</h3>
|
1571
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_animation_unbind_property (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>,
|
1572
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>);</pre>
|
1573
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1574
|
+
<h3 class="title">Warning</h3>
|
1575
|
+
<p><code class="literal">clutter_animation_unbind_property</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition"><span class="type">ClutterPropertyTransition</span></a> instead</p>
|
1576
|
+
</div>
|
1577
|
+
<p>
|
1578
|
+
Removes <em class="parameter"><code>property_name</code></em> from the list of animated properties.
|
1579
|
+
</p>
|
1580
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1581
|
+
<colgroup>
|
1582
|
+
<col align="left" valign="top">
|
1583
|
+
<col>
|
1584
|
+
</colgroup>
|
1585
|
+
<tbody>
|
1586
|
+
<tr>
|
1587
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
1588
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>
|
1589
|
+
</td>
|
1590
|
+
</tr>
|
1591
|
+
<tr>
|
1592
|
+
<td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td>
|
1593
|
+
<td>name of the property</td>
|
1594
|
+
</tr>
|
1595
|
+
</tbody>
|
1596
|
+
</table></div>
|
1597
|
+
<p class="since">Since 1.0</p>
|
1598
|
+
</div>
|
1599
|
+
<hr>
|
1600
|
+
<div class="refsect2">
|
1601
|
+
<a name="clutter-animation-get-interval"></a><h3>clutter_animation_get_interval ()</h3>
|
1602
|
+
<pre class="programlisting"><a class="link" href="clutter-Value-intervals.html#ClutterInterval"><span class="returnvalue">ClutterInterval</span></a> * clutter_animation_get_interval (<em class="parameter"><code><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation</code></em>,
|
1603
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>);</pre>
|
1604
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1605
|
+
<h3 class="title">Warning</h3>
|
1606
|
+
<p><code class="literal">clutter_animation_get_interval</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition"><span class="type">ClutterPropertyTransition</span></a> instead</p>
|
1607
|
+
</div>
|
1608
|
+
<p>
|
1609
|
+
Retrieves the <a class="link" href="clutter-Value-intervals.html#ClutterInterval"><span class="type">ClutterInterval</span></a> associated to <em class="parameter"><code>property_name</code></em>
|
1610
|
+
inside <em class="parameter"><code>animation</code></em>.
|
1611
|
+
</p>
|
1612
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1613
|
+
<colgroup>
|
1614
|
+
<col align="left" valign="top">
|
1615
|
+
<col>
|
1616
|
+
</colgroup>
|
1617
|
+
<tbody>
|
1618
|
+
<tr>
|
1619
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
1620
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>
|
1621
|
+
</td>
|
1622
|
+
</tr>
|
1623
|
+
<tr>
|
1624
|
+
<td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td>
|
1625
|
+
<td>name of the property</td>
|
1626
|
+
</tr>
|
1627
|
+
<tr>
|
1628
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1629
|
+
<td>a <a class="link" href="clutter-Value-intervals.html#ClutterInterval"><span class="type">ClutterInterval</span></a> or <code class="literal">NULL</code> if no
|
1630
|
+
property with the same name was found. The returned interval is
|
1631
|
+
owned by the <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> and should not be unreferenced. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1632
|
+
</td>
|
1633
|
+
</tr>
|
1634
|
+
</tbody>
|
1635
|
+
</table></div>
|
1636
|
+
<p class="since">Since 1.0</p>
|
1637
|
+
</div>
|
1638
|
+
<hr>
|
1639
|
+
<div class="refsect2">
|
1640
|
+
<a name="clutter-actor-animate"></a><h3>clutter_actor_animate ()</h3>
|
1641
|
+
<pre class="programlisting"><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="returnvalue">ClutterAnimation</span></a> * clutter_actor_animate (<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>,
|
1642
|
+
<em class="parameter"><code><span class="type">gulong</span> mode</code></em>,
|
1643
|
+
<em class="parameter"><code><span class="type">guint</span> duration</code></em>,
|
1644
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *first_property_name</code></em>,
|
1645
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
1646
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1647
|
+
<h3 class="title">Warning</h3>
|
1648
|
+
<p><code class="literal">clutter_actor_animate</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use the implicit transition for animatable properties
|
1649
|
+
in <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> instead.</p>
|
1650
|
+
</div>
|
1651
|
+
<p>
|
1652
|
+
Animates the given list of properties of <em class="parameter"><code>actor</code></em> between the current
|
1653
|
+
value for each property and a new final value. The animation has a
|
1654
|
+
definite duration and a speed given by the <em class="parameter"><code>mode</code></em>.
|
1655
|
+
</p>
|
1656
|
+
<p>
|
1657
|
+
For example, this:
|
1658
|
+
</p>
|
1659
|
+
<p>
|
1660
|
+
</p>
|
1661
|
+
<div class="informalexample">
|
1662
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1663
|
+
<tbody>
|
1664
|
+
<tr>
|
1665
|
+
<td class="listing_lines" align="right"><pre>1
|
1666
|
+
2
|
1667
|
+
3
|
1668
|
+
4</pre></td>
|
1669
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="clutter-Implicit-Animations.html#clutter-actor-animate">clutter_actor_animate</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">rectangle</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-LINEAR:CAPS">CLUTTER_LINEAR</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">250</span><span class="symbol">,</span>
|
1670
|
+
<span class="normal"> </span><span class="string">"width"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100.0</span><span class="symbol">,</span>
|
1671
|
+
<span class="normal"> </span><span class="string">"height"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100.0</span><span class="symbol">,</span>
|
1672
|
+
<span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
|
1673
|
+
</tr>
|
1674
|
+
</tbody>
|
1675
|
+
</table>
|
1676
|
+
</div>
|
1677
|
+
|
1678
|
+
<p>
|
1679
|
+
</p>
|
1680
|
+
<p>
|
1681
|
+
will make width and height properties of the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> "rectangle"
|
1682
|
+
grow linearly between the current value and 100 pixels, in 250 milliseconds.
|
1683
|
+
</p>
|
1684
|
+
<p>
|
1685
|
+
The animation <em class="parameter"><code>mode</code></em> is a logical id, either from the <a class="link" href="ClutterTimeline.html#ClutterAnimationMode" title="enum ClutterAnimationMode"><span class="type">ClutterAnimationMode</span></a>
|
1686
|
+
enumeration of from <a class="link" href="ClutterAlpha.html#clutter-alpha-register-func" title="clutter_alpha_register_func ()"><code class="function">clutter_alpha_register_func()</code></a>.
|
1687
|
+
</p>
|
1688
|
+
<p>
|
1689
|
+
All the properties specified will be animated between the current value
|
1690
|
+
and the final value. If a property should be set at the beginning of
|
1691
|
+
the animation but not updated during the animation, it should be prefixed
|
1692
|
+
by the "fixed::" string, for instance:
|
1693
|
+
</p>
|
1694
|
+
<p>
|
1695
|
+
</p>
|
1696
|
+
<div class="informalexample">
|
1697
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1698
|
+
<tbody>
|
1699
|
+
<tr>
|
1700
|
+
<td class="listing_lines" align="right"><pre>1
|
1701
|
+
2
|
1702
|
+
3
|
1703
|
+
4</pre></td>
|
1704
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="clutter-Implicit-Animations.html#clutter-actor-animate">clutter_actor_animate</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-IN-SINE:CAPS">CLUTTER_EASE_IN_SINE</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">100</span><span class="symbol">,</span>
|
1705
|
+
<span class="normal"> </span><span class="string">"rotation-angle-z"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">360.0</span><span class="symbol">,</span>
|
1706
|
+
<span class="normal"> </span><span class="string">"fixed::rotation-center-z"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">center</span><span class="symbol">,</span>
|
1707
|
+
<span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
|
1708
|
+
</tr>
|
1709
|
+
</tbody>
|
1710
|
+
</table>
|
1711
|
+
</div>
|
1712
|
+
|
1713
|
+
<p>
|
1714
|
+
</p>
|
1715
|
+
<p>
|
1716
|
+
Will animate the "rotation-angle-z" property between the current value
|
1717
|
+
and 360 degrees, and set the "rotation-center-z" property to the fixed
|
1718
|
+
value of the <a class="link" href="clutter-Base-geometric-types.html#ClutterVertex" title="struct ClutterVertex"><span class="type">ClutterVertex</span></a> "center".
|
1719
|
+
</p>
|
1720
|
+
<p>
|
1721
|
+
This function will implicitly create a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> object which
|
1722
|
+
will be assigned to the <em class="parameter"><code>actor</code></em> and will be returned to the developer
|
1723
|
+
to control the animation or to know when the animation has been
|
1724
|
+
completed.
|
1725
|
+
</p>
|
1726
|
+
<p>
|
1727
|
+
If a name argument starts with "signal::", "signal-after::",
|
1728
|
+
"signal-swapped::" or "signal-swapped-after::" the two following arguments
|
1729
|
+
are used as callback function and data for a signal handler installed on
|
1730
|
+
the <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> object for the specified signal name, for instance:
|
1731
|
+
</p>
|
1732
|
+
<p>
|
1733
|
+
</p>
|
1734
|
+
<div class="informalexample">
|
1735
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1736
|
+
<tbody>
|
1737
|
+
<tr>
|
1738
|
+
<td class="listing_lines" align="right"><pre>1
|
1739
|
+
2
|
1740
|
+
3
|
1741
|
+
4
|
1742
|
+
5
|
1743
|
+
6
|
1744
|
+
7
|
1745
|
+
8
|
1746
|
+
9
|
1747
|
+
10
|
1748
|
+
11</pre></td>
|
1749
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
1750
|
+
<span class="function">on_animation_completed</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ClutterAnimation</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">animation</span><span class="symbol">,</span>
|
1751
|
+
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">actor</span><span class="symbol">)</span>
|
1752
|
+
<span class="cbracket">{</span>
|
1753
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-hide">clutter_actor_hide</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">);</span>
|
1754
|
+
<span class="cbracket">}</span>
|
1755
|
+
|
1756
|
+
<span class="function"><a href="clutter-Implicit-Animations.html#clutter-actor-animate">clutter_actor_animate</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-IN-CUBIC:CAPS">CLUTTER_EASE_IN_CUBIC</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">100</span><span class="symbol">,</span>
|
1757
|
+
<span class="normal"> </span><span class="string">"opacity"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span>
|
1758
|
+
<span class="normal"> </span><span class="string">"signal::completed"</span><span class="symbol">,</span><span class="normal"> on_animation_completed</span><span class="symbol">,</span><span class="normal"> actor</span><span class="symbol">,</span>
|
1759
|
+
<span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
|
1760
|
+
</tr>
|
1761
|
+
</tbody>
|
1762
|
+
</table>
|
1763
|
+
</div>
|
1764
|
+
|
1765
|
+
<p>
|
1766
|
+
</p>
|
1767
|
+
<p>
|
1768
|
+
or, to automatically destroy an actor at the end of the animation:
|
1769
|
+
</p>
|
1770
|
+
<p>
|
1771
|
+
</p>
|
1772
|
+
<div class="informalexample">
|
1773
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1774
|
+
<tbody>
|
1775
|
+
<tr>
|
1776
|
+
<td class="listing_lines" align="right"><pre>1
|
1777
|
+
2
|
1778
|
+
3
|
1779
|
+
4
|
1780
|
+
5
|
1781
|
+
6</pre></td>
|
1782
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="clutter-Implicit-Animations.html#clutter-actor-animate">clutter_actor_animate</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-IN-CUBIC:CAPS">CLUTTER_EASE_IN_CUBIC</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">100</span><span class="symbol">,</span>
|
1783
|
+
<span class="normal"> </span><span class="string">"opacity"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span>
|
1784
|
+
<span class="normal"> </span><span class="string">"signal-swapped-after::completed"</span><span class="symbol">,</span>
|
1785
|
+
<span class="normal"> <a href="ClutterActor.html#clutter-actor-destroy">clutter_actor_destroy</a></span><span class="symbol">,</span>
|
1786
|
+
<span class="normal"> actor</span><span class="symbol">,</span>
|
1787
|
+
<span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
|
1788
|
+
</tr>
|
1789
|
+
</tbody>
|
1790
|
+
</table>
|
1791
|
+
</div>
|
1792
|
+
|
1793
|
+
<p>
|
1794
|
+
</p>
|
1795
|
+
<p>
|
1796
|
+
The "signal::" modifier is the equivalent of using <code class="function">g_signal_connect()</code>;
|
1797
|
+
the "signal-after::" modifier is the equivalent of using
|
1798
|
+
<code class="function">g_signal_connect_after()</code> or <code class="function">g_signal_connect_data()</code> with the
|
1799
|
+
<code class="literal">G_CONNECT_AFTER</code>; the "signal-swapped::" modifier is the equivalent
|
1800
|
+
of using <code class="function">g_signal_connect_swapped()</code> or <code class="function">g_signal_connect_data()</code> with the
|
1801
|
+
<code class="literal">G_CONNECT_SWAPPED</code> flah; finally, the "signal-swapped-after::" modifier
|
1802
|
+
is the equivalent of using <code class="function">g_signal_connect_data()</code> with both the
|
1803
|
+
<code class="literal">G_CONNECT_AFTER</code> and <code class="literal">G_CONNECT_SWAPPED</code> flags. The <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate" title="clutter_actor_animate ()"><code class="function">clutter_actor_animate()</code></a>
|
1804
|
+
function will not keep track of multiple connections to the same signal,
|
1805
|
+
so it is your responsability to avoid them when calling
|
1806
|
+
<a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate" title="clutter_actor_animate ()"><code class="function">clutter_actor_animate()</code></a> multiple times on the same actor.
|
1807
|
+
</p>
|
1808
|
+
<p>
|
1809
|
+
Calling this function on an actor that is already being animated
|
1810
|
+
will cause the current animation to change with the new final values,
|
1811
|
+
the new easing mode and the new duration - that is, this code:
|
1812
|
+
</p>
|
1813
|
+
<p>
|
1814
|
+
</p>
|
1815
|
+
<div class="informalexample">
|
1816
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1817
|
+
<tbody>
|
1818
|
+
<tr>
|
1819
|
+
<td class="listing_lines" align="right"><pre>1
|
1820
|
+
2
|
1821
|
+
3
|
1822
|
+
4
|
1823
|
+
5
|
1824
|
+
6
|
1825
|
+
7
|
1826
|
+
8
|
1827
|
+
9</pre></td>
|
1828
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="clutter-Implicit-Animations.html#clutter-actor-animate">clutter_actor_animate</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-LINEAR:CAPS">CLUTTER_LINEAR</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">250</span><span class="symbol">,</span>
|
1829
|
+
<span class="normal"> </span><span class="string">"width"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100.0</span><span class="symbol">,</span>
|
1830
|
+
<span class="normal"> </span><span class="string">"height"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100.0</span><span class="symbol">,</span>
|
1831
|
+
<span class="normal"> NULL</span><span class="symbol">);</span>
|
1832
|
+
<span class="function"><a href="clutter-Implicit-Animations.html#clutter-actor-animate">clutter_actor_animate</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-IN-CUBIC:CAPS">CLUTTER_EASE_IN_CUBIC</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">500</span><span class="symbol">,</span>
|
1833
|
+
<span class="normal"> </span><span class="string">"x"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100.0</span><span class="symbol">,</span>
|
1834
|
+
<span class="normal"> </span><span class="string">"y"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100.0</span><span class="symbol">,</span>
|
1835
|
+
<span class="normal"> </span><span class="string">"width"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">200.0</span><span class="symbol">,</span>
|
1836
|
+
<span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
|
1837
|
+
</tr>
|
1838
|
+
</tbody>
|
1839
|
+
</table>
|
1840
|
+
</div>
|
1841
|
+
|
1842
|
+
<p>
|
1843
|
+
</p>
|
1844
|
+
<p>
|
1845
|
+
is the equivalent of:
|
1846
|
+
</p>
|
1847
|
+
<p>
|
1848
|
+
</p>
|
1849
|
+
<div class="informalexample">
|
1850
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1851
|
+
<tbody>
|
1852
|
+
<tr>
|
1853
|
+
<td class="listing_lines" align="right"><pre>1
|
1854
|
+
2
|
1855
|
+
3
|
1856
|
+
4
|
1857
|
+
5
|
1858
|
+
6</pre></td>
|
1859
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="clutter-Implicit-Animations.html#clutter-actor-animate">clutter_actor_animate</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-IN-CUBIC:CAPS">CLUTTER_EASE_IN_CUBIC</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">500</span><span class="symbol">,</span>
|
1860
|
+
<span class="normal"> </span><span class="string">"x"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100.0</span><span class="symbol">,</span>
|
1861
|
+
<span class="normal"> </span><span class="string">"y"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100.0</span><span class="symbol">,</span>
|
1862
|
+
<span class="normal"> </span><span class="string">"width"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">200.0</span><span class="symbol">,</span>
|
1863
|
+
<span class="normal"> </span><span class="string">"height"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100.0</span><span class="symbol">,</span>
|
1864
|
+
<span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
|
1865
|
+
</tr>
|
1866
|
+
</tbody>
|
1867
|
+
</table>
|
1868
|
+
</div>
|
1869
|
+
|
1870
|
+
<p>
|
1871
|
+
</p>
|
1872
|
+
<p>
|
1873
|
+
</p>
|
1874
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1875
|
+
<h3 class="title">Note</h3>Unless the animation is looping, the <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> created by
|
1876
|
+
<a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate" title="clutter_actor_animate ()"><code class="function">clutter_actor_animate()</code></a> will become invalid as soon as it is
|
1877
|
+
complete.</div>
|
1878
|
+
<p>
|
1879
|
+
</p>
|
1880
|
+
<p>
|
1881
|
+
Since the created <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> instance attached to <em class="parameter"><code>actor</code></em>
|
1882
|
+
is guaranteed to be valid throughout the <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation-completed" title='The "completed" signal'><span class="type">"completed"</span></a>
|
1883
|
+
signal emission chain, you will not be able to create a new animation
|
1884
|
+
using <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate" title="clutter_actor_animate ()"><code class="function">clutter_actor_animate()</code></a> on the same <em class="parameter"><code>actor</code></em> from within the
|
1885
|
+
<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation-completed" title='The "completed" signal'><span class="type">"completed"</span></a> signal handler unless you use
|
1886
|
+
<code class="function">g_signal_connect_after()</code> to connect the callback function, for instance:
|
1887
|
+
</p>
|
1888
|
+
<p>
|
1889
|
+
</p>
|
1890
|
+
<div class="informalexample">
|
1891
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1892
|
+
<tbody>
|
1893
|
+
<tr>
|
1894
|
+
<td class="listing_lines" align="right"><pre>1
|
1895
|
+
2
|
1896
|
+
3
|
1897
|
+
4
|
1898
|
+
5
|
1899
|
+
6
|
1900
|
+
7
|
1901
|
+
8
|
1902
|
+
9
|
1903
|
+
10
|
1904
|
+
11
|
1905
|
+
12
|
1906
|
+
13
|
1907
|
+
14
|
1908
|
+
15
|
1909
|
+
16
|
1910
|
+
17
|
1911
|
+
18
|
1912
|
+
19</pre></td>
|
1913
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
1914
|
+
<span class="function">on_animation_completed</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ClutterAnimation</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">animation</span><span class="symbol">,</span>
|
1915
|
+
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">actor</span><span class="symbol">)</span>
|
1916
|
+
<span class="cbracket">{</span>
|
1917
|
+
<span class="normal"> </span><span class="function"><a href="clutter-Implicit-Animations.html#clutter-actor-animate">clutter_actor_animate</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-OUT-CUBIC:CAPS">CLUTTER_EASE_OUT_CUBIC</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">250</span><span class="symbol">,</span>
|
1918
|
+
<span class="normal"> </span><span class="string">"x"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">500.0</span><span class="symbol">,</span>
|
1919
|
+
<span class="normal"> </span><span class="string">"y"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">500.0</span><span class="symbol">,</span>
|
1920
|
+
<span class="normal"> NULL</span><span class="symbol">);</span>
|
1921
|
+
<span class="cbracket">}</span>
|
1922
|
+
|
1923
|
+
<span class="normal"> </span><span class="symbol">...</span>
|
1924
|
+
<span class="normal"> animation </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="clutter-Implicit-Animations.html#clutter-actor-animate">clutter_actor_animate</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-IN-CUBIC:CAPS">CLUTTER_EASE_IN_CUBIC</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">250</span><span class="symbol">,</span>
|
1925
|
+
<span class="normal"> </span><span class="string">"x"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100.0</span><span class="symbol">,</span>
|
1926
|
+
<span class="normal"> </span><span class="string">"y"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100.0</span><span class="symbol">,</span>
|
1927
|
+
<span class="normal"> NULL</span><span class="symbol">);</span>
|
1928
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">animation</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"completed"</span><span class="symbol">,</span>
|
1929
|
+
<span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_animation_completed</span><span class="symbol">),</span>
|
1930
|
+
<span class="normal"> actor</span><span class="symbol">);</span>
|
1931
|
+
<span class="normal"> </span><span class="symbol">...</span></pre></td>
|
1932
|
+
</tr>
|
1933
|
+
</tbody>
|
1934
|
+
</table>
|
1935
|
+
</div>
|
1936
|
+
|
1937
|
+
<p>
|
1938
|
+
</p>
|
1939
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1940
|
+
<colgroup>
|
1941
|
+
<col align="left" valign="top">
|
1942
|
+
<col>
|
1943
|
+
</colgroup>
|
1944
|
+
<tbody>
|
1945
|
+
<tr>
|
1946
|
+
<td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
|
1947
|
+
<td>a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>
|
1948
|
+
</td>
|
1949
|
+
</tr>
|
1950
|
+
<tr>
|
1951
|
+
<td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
|
1952
|
+
<td>an animation mode logical id</td>
|
1953
|
+
</tr>
|
1954
|
+
<tr>
|
1955
|
+
<td><p><span class="term"><em class="parameter"><code>duration</code></em> :</span></p></td>
|
1956
|
+
<td>duration of the animation, in milliseconds</td>
|
1957
|
+
</tr>
|
1958
|
+
<tr>
|
1959
|
+
<td><p><span class="term"><em class="parameter"><code>first_property_name</code></em> :</span></p></td>
|
1960
|
+
<td>the name of a property</td>
|
1961
|
+
</tr>
|
1962
|
+
<tr>
|
1963
|
+
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
1964
|
+
<td>a <code class="literal">NULL</code> terminated list of property names and
|
1965
|
+
property values</td>
|
1966
|
+
</tr>
|
1967
|
+
<tr>
|
1968
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1969
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> object. The object is
|
1970
|
+
owned by the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> and should not be unreferenced with
|
1971
|
+
<code class="function">g_object_unref()</code>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1972
|
+
</td>
|
1973
|
+
</tr>
|
1974
|
+
</tbody>
|
1975
|
+
</table></div>
|
1976
|
+
<p class="since">Since 1.0</p>
|
1977
|
+
</div>
|
1978
|
+
<hr>
|
1979
|
+
<div class="refsect2">
|
1980
|
+
<a name="clutter-actor-animate-with-timeline"></a><h3>clutter_actor_animate_with_timeline ()</h3>
|
1981
|
+
<pre class="programlisting"><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="returnvalue">ClutterAnimation</span></a> * clutter_actor_animate_with_timeline (<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>,
|
1982
|
+
<em class="parameter"><code><span class="type">gulong</span> mode</code></em>,
|
1983
|
+
<em class="parameter"><code><a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> *timeline</code></em>,
|
1984
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *first_property_name</code></em>,
|
1985
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
1986
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1987
|
+
<h3 class="title">Warning</h3>
|
1988
|
+
<p><code class="literal">clutter_actor_animate_with_timeline</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use the implicit transition for animatable properties
|
1989
|
+
in <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> instead.</p>
|
1990
|
+
</div>
|
1991
|
+
<p>
|
1992
|
+
Animates the given list of properties of <em class="parameter"><code>actor</code></em> between the current
|
1993
|
+
value for each property and a new final value. The animation has a
|
1994
|
+
definite duration given by <em class="parameter"><code>timeline</code></em> and a speed given by the <em class="parameter"><code>mode</code></em>.
|
1995
|
+
</p>
|
1996
|
+
<p>
|
1997
|
+
See <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate" title="clutter_actor_animate ()"><code class="function">clutter_actor_animate()</code></a> for further details.
|
1998
|
+
</p>
|
1999
|
+
<p>
|
2000
|
+
This function is useful if you want to use an existing timeline
|
2001
|
+
to animate <em class="parameter"><code>actor</code></em>.
|
2002
|
+
</p>
|
2003
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2004
|
+
<colgroup>
|
2005
|
+
<col align="left" valign="top">
|
2006
|
+
<col>
|
2007
|
+
</colgroup>
|
2008
|
+
<tbody>
|
2009
|
+
<tr>
|
2010
|
+
<td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
|
2011
|
+
<td>a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>
|
2012
|
+
</td>
|
2013
|
+
</tr>
|
2014
|
+
<tr>
|
2015
|
+
<td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
|
2016
|
+
<td>an animation mode logical id</td>
|
2017
|
+
</tr>
|
2018
|
+
<tr>
|
2019
|
+
<td><p><span class="term"><em class="parameter"><code>timeline</code></em> :</span></p></td>
|
2020
|
+
<td>a <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a>
|
2021
|
+
</td>
|
2022
|
+
</tr>
|
2023
|
+
<tr>
|
2024
|
+
<td><p><span class="term"><em class="parameter"><code>first_property_name</code></em> :</span></p></td>
|
2025
|
+
<td>the name of a property</td>
|
2026
|
+
</tr>
|
2027
|
+
<tr>
|
2028
|
+
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
2029
|
+
<td>a <code class="literal">NULL</code> terminated list of property names and
|
2030
|
+
property values</td>
|
2031
|
+
</tr>
|
2032
|
+
<tr>
|
2033
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2034
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> object. The object is
|
2035
|
+
owned by the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> and should not be unreferenced with
|
2036
|
+
<code class="function">g_object_unref()</code>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
2037
|
+
</td>
|
2038
|
+
</tr>
|
2039
|
+
</tbody>
|
2040
|
+
</table></div>
|
2041
|
+
<p class="since">Since 1.0</p>
|
2042
|
+
</div>
|
2043
|
+
<hr>
|
2044
|
+
<div class="refsect2">
|
2045
|
+
<a name="clutter-actor-animate-with-alpha"></a><h3>clutter_actor_animate_with_alpha ()</h3>
|
2046
|
+
<pre class="programlisting"><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="returnvalue">ClutterAnimation</span></a> * clutter_actor_animate_with_alpha (<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>,
|
2047
|
+
<em class="parameter"><code><a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> *alpha</code></em>,
|
2048
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *first_property_name</code></em>,
|
2049
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
2050
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2051
|
+
<h3 class="title">Warning</h3>
|
2052
|
+
<p><code class="literal">clutter_actor_animate_with_alpha</code> has been deprecated since version 1.10 and should not be used in newly-written code. Use <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate-with-timeline" title="clutter_actor_animate_with_timeline ()"><code class="function">clutter_actor_animate_with_timeline()</code></a> instead</p>
|
2053
|
+
</div>
|
2054
|
+
<p>
|
2055
|
+
Animates the given list of properties of <em class="parameter"><code>actor</code></em> between the current
|
2056
|
+
value for each property and a new final value. The animation has a
|
2057
|
+
definite behaviour given by the passed <em class="parameter"><code>alpha</code></em>.
|
2058
|
+
</p>
|
2059
|
+
<p>
|
2060
|
+
See <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate" title="clutter_actor_animate ()"><code class="function">clutter_actor_animate()</code></a> for further details.
|
2061
|
+
</p>
|
2062
|
+
<p>
|
2063
|
+
This function is useful if you want to use an existing <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a>
|
2064
|
+
to animate <em class="parameter"><code>actor</code></em>.
|
2065
|
+
</p>
|
2066
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2067
|
+
<colgroup>
|
2068
|
+
<col align="left" valign="top">
|
2069
|
+
<col>
|
2070
|
+
</colgroup>
|
2071
|
+
<tbody>
|
2072
|
+
<tr>
|
2073
|
+
<td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
|
2074
|
+
<td>a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>
|
2075
|
+
</td>
|
2076
|
+
</tr>
|
2077
|
+
<tr>
|
2078
|
+
<td><p><span class="term"><em class="parameter"><code>alpha</code></em> :</span></p></td>
|
2079
|
+
<td>a <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a>
|
2080
|
+
</td>
|
2081
|
+
</tr>
|
2082
|
+
<tr>
|
2083
|
+
<td><p><span class="term"><em class="parameter"><code>first_property_name</code></em> :</span></p></td>
|
2084
|
+
<td>the name of a property</td>
|
2085
|
+
</tr>
|
2086
|
+
<tr>
|
2087
|
+
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
2088
|
+
<td>a <code class="literal">NULL</code> terminated list of property names and
|
2089
|
+
property values</td>
|
2090
|
+
</tr>
|
2091
|
+
<tr>
|
2092
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2093
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> object. The object is owned by the
|
2094
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> and should not be unreferenced with <code class="function">g_object_unref()</code>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
2095
|
+
</td>
|
2096
|
+
</tr>
|
2097
|
+
</tbody>
|
2098
|
+
</table></div>
|
2099
|
+
<p class="since">Since 1.0</p>
|
2100
|
+
</div>
|
2101
|
+
<hr>
|
2102
|
+
<div class="refsect2">
|
2103
|
+
<a name="clutter-actor-animatev"></a><h3>clutter_actor_animatev ()</h3>
|
2104
|
+
<pre class="programlisting"><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="returnvalue">ClutterAnimation</span></a> * clutter_actor_animatev (<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>,
|
2105
|
+
<em class="parameter"><code><span class="type">gulong</span> mode</code></em>,
|
2106
|
+
<em class="parameter"><code><span class="type">guint</span> duration</code></em>,
|
2107
|
+
<em class="parameter"><code><span class="type">gint</span> n_properties</code></em>,
|
2108
|
+
<em class="parameter"><code>const <span class="type">gchar</span> * const properties[]</code></em>,
|
2109
|
+
<em class="parameter"><code>const <span class="type">GValue</span> *values</code></em>);</pre>
|
2110
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2111
|
+
<h3 class="title">Warning</h3>
|
2112
|
+
<p><code class="literal">clutter_actor_animatev</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use the implicit transition for animatable properties
|
2113
|
+
in <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> instead.</p>
|
2114
|
+
</div>
|
2115
|
+
<p>
|
2116
|
+
Animates the given list of properties of <em class="parameter"><code>actor</code></em> between the current
|
2117
|
+
value for each property and a new final value. The animation has a
|
2118
|
+
definite duration and a speed given by the <em class="parameter"><code>mode</code></em>.
|
2119
|
+
</p>
|
2120
|
+
<p>
|
2121
|
+
This is the vector-based variant of <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate" title="clutter_actor_animate ()"><code class="function">clutter_actor_animate()</code></a>, useful
|
2122
|
+
for language bindings.
|
2123
|
+
</p>
|
2124
|
+
<p>
|
2125
|
+
</p>
|
2126
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2127
|
+
<h3 class="title">Warning</h3>Unlike <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate" title="clutter_actor_animate ()"><code class="function">clutter_actor_animate()</code></a>, this function will not
|
2128
|
+
allow you to specify "signal::" names and callbacks.</div>
|
2129
|
+
<p>
|
2130
|
+
</p>
|
2131
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2132
|
+
<colgroup>
|
2133
|
+
<col align="left" valign="top">
|
2134
|
+
<col>
|
2135
|
+
</colgroup>
|
2136
|
+
<tbody>
|
2137
|
+
<tr>
|
2138
|
+
<td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
|
2139
|
+
<td>a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>
|
2140
|
+
</td>
|
2141
|
+
</tr>
|
2142
|
+
<tr>
|
2143
|
+
<td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
|
2144
|
+
<td>an animation mode logical id</td>
|
2145
|
+
</tr>
|
2146
|
+
<tr>
|
2147
|
+
<td><p><span class="term"><em class="parameter"><code>duration</code></em> :</span></p></td>
|
2148
|
+
<td>duration of the animation, in milliseconds</td>
|
2149
|
+
</tr>
|
2150
|
+
<tr>
|
2151
|
+
<td><p><span class="term"><em class="parameter"><code>n_properties</code></em> :</span></p></td>
|
2152
|
+
<td>number of property names and values</td>
|
2153
|
+
</tr>
|
2154
|
+
<tr>
|
2155
|
+
<td><p><span class="term"><em class="parameter"><code>properties</code></em> :</span></p></td>
|
2156
|
+
<td>a vector
|
2157
|
+
containing the property names to set. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_properties][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8]</span>
|
2158
|
+
</td>
|
2159
|
+
</tr>
|
2160
|
+
<tr>
|
2161
|
+
<td><p><span class="term"><em class="parameter"><code>values</code></em> :</span></p></td>
|
2162
|
+
<td>a vector containing the
|
2163
|
+
property values to set. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_properties]</span>
|
2164
|
+
</td>
|
2165
|
+
</tr>
|
2166
|
+
<tr>
|
2167
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2168
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> object. The object is
|
2169
|
+
owned by the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> and should not be unreferenced with
|
2170
|
+
<code class="function">g_object_unref()</code>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
2171
|
+
</td>
|
2172
|
+
</tr>
|
2173
|
+
</tbody>
|
2174
|
+
</table></div>
|
2175
|
+
<p class="since">Since 1.0</p>
|
2176
|
+
</div>
|
2177
|
+
<hr>
|
2178
|
+
<div class="refsect2">
|
2179
|
+
<a name="clutter-actor-animate-with-timelinev"></a><h3>clutter_actor_animate_with_timelinev ()</h3>
|
2180
|
+
<pre class="programlisting"><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="returnvalue">ClutterAnimation</span></a> * clutter_actor_animate_with_timelinev
|
2181
|
+
(<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>,
|
2182
|
+
<em class="parameter"><code><span class="type">gulong</span> mode</code></em>,
|
2183
|
+
<em class="parameter"><code><a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> *timeline</code></em>,
|
2184
|
+
<em class="parameter"><code><span class="type">gint</span> n_properties</code></em>,
|
2185
|
+
<em class="parameter"><code>const <span class="type">gchar</span> * const properties[]</code></em>,
|
2186
|
+
<em class="parameter"><code>const <span class="type">GValue</span> *values</code></em>);</pre>
|
2187
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2188
|
+
<h3 class="title">Warning</h3>
|
2189
|
+
<p><code class="literal">clutter_actor_animate_with_timelinev</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use the implicit transition for animatable properties
|
2190
|
+
in <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> instead.</p>
|
2191
|
+
</div>
|
2192
|
+
<p>
|
2193
|
+
Animates the given list of properties of <em class="parameter"><code>actor</code></em> between the current
|
2194
|
+
value for each property and a new final value. The animation has a
|
2195
|
+
definite duration given by <em class="parameter"><code>timeline</code></em> and a speed given by the <em class="parameter"><code>mode</code></em>.
|
2196
|
+
</p>
|
2197
|
+
<p>
|
2198
|
+
See <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate" title="clutter_actor_animate ()"><code class="function">clutter_actor_animate()</code></a> for further details.
|
2199
|
+
</p>
|
2200
|
+
<p>
|
2201
|
+
This function is useful if you want to use an existing timeline
|
2202
|
+
to animate <em class="parameter"><code>actor</code></em>.
|
2203
|
+
</p>
|
2204
|
+
<p>
|
2205
|
+
This is the vector-based variant of <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate-with-timeline" title="clutter_actor_animate_with_timeline ()"><code class="function">clutter_actor_animate_with_timeline()</code></a>,
|
2206
|
+
useful for language bindings.
|
2207
|
+
</p>
|
2208
|
+
<p>
|
2209
|
+
</p>
|
2210
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2211
|
+
<h3 class="title">Warning</h3>Unlike <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate-with-timeline" title="clutter_actor_animate_with_timeline ()"><code class="function">clutter_actor_animate_with_timeline()</code></a>, this function
|
2212
|
+
will not allow you to specify "signal::" names and callbacks.</div>
|
2213
|
+
<p>
|
2214
|
+
</p>
|
2215
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2216
|
+
<colgroup>
|
2217
|
+
<col align="left" valign="top">
|
2218
|
+
<col>
|
2219
|
+
</colgroup>
|
2220
|
+
<tbody>
|
2221
|
+
<tr>
|
2222
|
+
<td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
|
2223
|
+
<td>a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>
|
2224
|
+
</td>
|
2225
|
+
</tr>
|
2226
|
+
<tr>
|
2227
|
+
<td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
|
2228
|
+
<td>an animation mode logical id</td>
|
2229
|
+
</tr>
|
2230
|
+
<tr>
|
2231
|
+
<td><p><span class="term"><em class="parameter"><code>timeline</code></em> :</span></p></td>
|
2232
|
+
<td>a <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a>
|
2233
|
+
</td>
|
2234
|
+
</tr>
|
2235
|
+
<tr>
|
2236
|
+
<td><p><span class="term"><em class="parameter"><code>n_properties</code></em> :</span></p></td>
|
2237
|
+
<td>number of property names and values</td>
|
2238
|
+
</tr>
|
2239
|
+
<tr>
|
2240
|
+
<td><p><span class="term"><em class="parameter"><code>properties</code></em> :</span></p></td>
|
2241
|
+
<td>a vector
|
2242
|
+
containing the property names to set. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_properties][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8]</span>
|
2243
|
+
</td>
|
2244
|
+
</tr>
|
2245
|
+
<tr>
|
2246
|
+
<td><p><span class="term"><em class="parameter"><code>values</code></em> :</span></p></td>
|
2247
|
+
<td>a vector containing the
|
2248
|
+
property values to set. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_properties]</span>
|
2249
|
+
</td>
|
2250
|
+
</tr>
|
2251
|
+
<tr>
|
2252
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2253
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> object. The object is
|
2254
|
+
owned by the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> and should not be unreferenced with
|
2255
|
+
<code class="function">g_object_unref()</code>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
2256
|
+
</td>
|
2257
|
+
</tr>
|
2258
|
+
</tbody>
|
2259
|
+
</table></div>
|
2260
|
+
<p class="since">Since 1.0</p>
|
2261
|
+
</div>
|
2262
|
+
<hr>
|
2263
|
+
<div class="refsect2">
|
2264
|
+
<a name="clutter-actor-animate-with-alphav"></a><h3>clutter_actor_animate_with_alphav ()</h3>
|
2265
|
+
<pre class="programlisting"><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="returnvalue">ClutterAnimation</span></a> * clutter_actor_animate_with_alphav (<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>,
|
2266
|
+
<em class="parameter"><code><a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> *alpha</code></em>,
|
2267
|
+
<em class="parameter"><code><span class="type">gint</span> n_properties</code></em>,
|
2268
|
+
<em class="parameter"><code>const <span class="type">gchar</span> * const properties[]</code></em>,
|
2269
|
+
<em class="parameter"><code>const <span class="type">GValue</span> *values</code></em>);</pre>
|
2270
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2271
|
+
<h3 class="title">Warning</h3>
|
2272
|
+
<p><code class="literal">clutter_actor_animate_with_alphav</code> has been deprecated since version 1.10 and should not be used in newly-written code. Use <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate-with-timelinev" title="clutter_actor_animate_with_timelinev ()"><code class="function">clutter_actor_animate_with_timelinev()</code></a> instead</p>
|
2273
|
+
</div>
|
2274
|
+
<p>
|
2275
|
+
Animates the given list of properties of <em class="parameter"><code>actor</code></em> between the current
|
2276
|
+
value for each property and a new final value. The animation has a
|
2277
|
+
definite behaviour given by the passed <em class="parameter"><code>alpha</code></em>.
|
2278
|
+
</p>
|
2279
|
+
<p>
|
2280
|
+
See <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate" title="clutter_actor_animate ()"><code class="function">clutter_actor_animate()</code></a> for further details.
|
2281
|
+
</p>
|
2282
|
+
<p>
|
2283
|
+
This function is useful if you want to use an existing <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a>
|
2284
|
+
to animate <em class="parameter"><code>actor</code></em>.
|
2285
|
+
</p>
|
2286
|
+
<p>
|
2287
|
+
This is the vector-based variant of <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate-with-alpha" title="clutter_actor_animate_with_alpha ()"><code class="function">clutter_actor_animate_with_alpha()</code></a>,
|
2288
|
+
useful for language bindings.
|
2289
|
+
</p>
|
2290
|
+
<p>
|
2291
|
+
</p>
|
2292
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2293
|
+
<h3 class="title">Warning</h3>Unlike <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate-with-alpha" title="clutter_actor_animate_with_alpha ()"><code class="function">clutter_actor_animate_with_alpha()</code></a>, this function will
|
2294
|
+
not allow you to specify "signal::" names and callbacks.</div>
|
2295
|
+
<p>
|
2296
|
+
</p>
|
2297
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2298
|
+
<colgroup>
|
2299
|
+
<col align="left" valign="top">
|
2300
|
+
<col>
|
2301
|
+
</colgroup>
|
2302
|
+
<tbody>
|
2303
|
+
<tr>
|
2304
|
+
<td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
|
2305
|
+
<td>a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>
|
2306
|
+
</td>
|
2307
|
+
</tr>
|
2308
|
+
<tr>
|
2309
|
+
<td><p><span class="term"><em class="parameter"><code>alpha</code></em> :</span></p></td>
|
2310
|
+
<td>a <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a>
|
2311
|
+
</td>
|
2312
|
+
</tr>
|
2313
|
+
<tr>
|
2314
|
+
<td><p><span class="term"><em class="parameter"><code>n_properties</code></em> :</span></p></td>
|
2315
|
+
<td>number of property names and values</td>
|
2316
|
+
</tr>
|
2317
|
+
<tr>
|
2318
|
+
<td><p><span class="term"><em class="parameter"><code>properties</code></em> :</span></p></td>
|
2319
|
+
<td>a vector
|
2320
|
+
containing the property names to set. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_properties][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8]</span>
|
2321
|
+
</td>
|
2322
|
+
</tr>
|
2323
|
+
<tr>
|
2324
|
+
<td><p><span class="term"><em class="parameter"><code>values</code></em> :</span></p></td>
|
2325
|
+
<td>a vector containing the
|
2326
|
+
property values to set. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_properties]</span>
|
2327
|
+
</td>
|
2328
|
+
</tr>
|
2329
|
+
<tr>
|
2330
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2331
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> object. The object is owned by the
|
2332
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> and should not be unreferenced with <code class="function">g_object_unref()</code>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
2333
|
+
</td>
|
2334
|
+
</tr>
|
2335
|
+
</tbody>
|
2336
|
+
</table></div>
|
2337
|
+
<p class="since">Since 1.0</p>
|
2338
|
+
</div>
|
2339
|
+
<hr>
|
2340
|
+
<div class="refsect2">
|
2341
|
+
<a name="clutter-actor-get-animation"></a><h3>clutter_actor_get_animation ()</h3>
|
2342
|
+
<pre class="programlisting"><a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="returnvalue">ClutterAnimation</span></a> * clutter_actor_get_animation (<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>);</pre>
|
2343
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2344
|
+
<h3 class="title">Warning</h3>
|
2345
|
+
<p><code class="literal">clutter_actor_get_animation</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use the implicit transition for animatable properties
|
2346
|
+
in <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> instead, and <a class="link" href="ClutterActor.html#clutter-actor-get-transition" title="clutter_actor_get_transition ()"><code class="function">clutter_actor_get_transition()</code></a> to retrieve
|
2347
|
+
the transition.</p>
|
2348
|
+
</div>
|
2349
|
+
<p>
|
2350
|
+
Retrieves the <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> used by <em class="parameter"><code>actor</code></em>, if <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate" title="clutter_actor_animate ()"><code class="function">clutter_actor_animate()</code></a>
|
2351
|
+
has been called on <em class="parameter"><code>actor</code></em>.
|
2352
|
+
</p>
|
2353
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2354
|
+
<colgroup>
|
2355
|
+
<col align="left" valign="top">
|
2356
|
+
<col>
|
2357
|
+
</colgroup>
|
2358
|
+
<tbody>
|
2359
|
+
<tr>
|
2360
|
+
<td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
|
2361
|
+
<td>a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>
|
2362
|
+
</td>
|
2363
|
+
</tr>
|
2364
|
+
<tr>
|
2365
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2366
|
+
<td>a <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
2367
|
+
</td>
|
2368
|
+
</tr>
|
2369
|
+
</tbody>
|
2370
|
+
</table></div>
|
2371
|
+
<p class="since">Since 1.0</p>
|
2372
|
+
</div>
|
2373
|
+
<hr>
|
2374
|
+
<div class="refsect2">
|
2375
|
+
<a name="clutter-actor-detach-animation"></a><h3>clutter_actor_detach_animation ()</h3>
|
2376
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_actor_detach_animation (<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>);</pre>
|
2377
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2378
|
+
<h3 class="title">Warning</h3>
|
2379
|
+
<p><code class="literal">clutter_actor_detach_animation</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use the implicit transition for animatable properties
|
2380
|
+
in <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> instead, and <a class="link" href="ClutterActor.html#clutter-actor-remove-transition" title="clutter_actor_remove_transition ()"><code class="function">clutter_actor_remove_transition()</code></a> to
|
2381
|
+
remove the transition.</p>
|
2382
|
+
</div>
|
2383
|
+
<p>
|
2384
|
+
Detaches the <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> used by <em class="parameter"><code>actor</code></em>, if <a class="link" href="clutter-Implicit-Animations.html#clutter-actor-animate" title="clutter_actor_animate ()"><code class="function">clutter_actor_animate()</code></a>
|
2385
|
+
has been called on <em class="parameter"><code>actor</code></em>.
|
2386
|
+
</p>
|
2387
|
+
<p>
|
2388
|
+
Once the animation has been detached, it loses a reference. If it was
|
2389
|
+
the only reference then the <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> becomes invalid.
|
2390
|
+
</p>
|
2391
|
+
<p>
|
2392
|
+
The <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation-completed" title='The "completed" signal'><span class="type">"completed"</span></a> signal will not be emitted.
|
2393
|
+
</p>
|
2394
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2395
|
+
<colgroup>
|
2396
|
+
<col align="left" valign="top">
|
2397
|
+
<col>
|
2398
|
+
</colgroup>
|
2399
|
+
<tbody><tr>
|
2400
|
+
<td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
|
2401
|
+
<td>a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>
|
2402
|
+
</td>
|
2403
|
+
</tr></tbody>
|
2404
|
+
</table></div>
|
2405
|
+
<p class="since">Since 1.4</p>
|
2406
|
+
</div>
|
2407
|
+
</div>
|
2408
|
+
<div class="refsect1">
|
2409
|
+
<a name="clutter-Implicit-Animations.property-details"></a><h2>Property Details</h2>
|
2410
|
+
<div class="refsect2">
|
2411
|
+
<a name="ClutterAnimation--alpha"></a><h3>The <code class="literal">"alpha"</code> property</h3>
|
2412
|
+
<pre class="programlisting"> "alpha" <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a>* : Read / Write</pre>
|
2413
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2414
|
+
<h3 class="title">Warning</h3>
|
2415
|
+
<p><code class="literal">ClutterAnimation:alpha</code> has been deprecated since version 1.10 and should not be used in newly-written code. Use the <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation--timeline" title='The "timeline" property'><span class="type">"timeline"</span></a> property and
|
2416
|
+
the <a class="link" href="ClutterTimeline.html#ClutterTimeline--progress-mode" title='The "progress-mode" property'><span class="type">"progress-mode"</span></a> property instead.</p>
|
2417
|
+
</div>
|
2418
|
+
<p>
|
2419
|
+
The <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> used by the animation.
|
2420
|
+
</p>
|
2421
|
+
<p class="since">Since 1.0</p>
|
2422
|
+
</div>
|
2423
|
+
<hr>
|
2424
|
+
<div class="refsect2">
|
2425
|
+
<a name="ClutterAnimation--duration"></a><h3>The <code class="literal">"duration"</code> property</h3>
|
2426
|
+
<pre class="programlisting"> "duration" <span class="type">guint</span> : Read / Write</pre>
|
2427
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2428
|
+
<h3 class="title">Warning</h3>
|
2429
|
+
<p><code class="literal">ClutterAnimation:duration</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition"><span class="type">ClutterPropertyTransition</span></a> instead</p>
|
2430
|
+
</div>
|
2431
|
+
<p>
|
2432
|
+
The duration of the animation, expressed in milliseconds.
|
2433
|
+
</p>
|
2434
|
+
<p>Default value: 0</p>
|
2435
|
+
<p class="since">Since 1.0</p>
|
2436
|
+
</div>
|
2437
|
+
<hr>
|
2438
|
+
<div class="refsect2">
|
2439
|
+
<a name="ClutterAnimation--loop"></a><h3>The <code class="literal">"loop"</code> property</h3>
|
2440
|
+
<pre class="programlisting"> "loop" <span class="type">gboolean</span> : Read / Write</pre>
|
2441
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2442
|
+
<h3 class="title">Warning</h3>
|
2443
|
+
<p><code class="literal">ClutterAnimation:loop</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition"><span class="type">ClutterPropertyTransition</span></a> instead</p>
|
2444
|
+
</div>
|
2445
|
+
<p>
|
2446
|
+
Whether the animation should loop.
|
2447
|
+
</p>
|
2448
|
+
<p>Default value: FALSE</p>
|
2449
|
+
<p class="since">Since 1.0</p>
|
2450
|
+
</div>
|
2451
|
+
<hr>
|
2452
|
+
<div class="refsect2">
|
2453
|
+
<a name="ClutterAnimation--mode"></a><h3>The <code class="literal">"mode"</code> property</h3>
|
2454
|
+
<pre class="programlisting"> "mode" <span class="type">gulong</span> : Read / Write</pre>
|
2455
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2456
|
+
<h3 class="title">Warning</h3>
|
2457
|
+
<p><code class="literal">ClutterAnimation:mode</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition"><span class="type">ClutterPropertyTransition</span></a> instead</p>
|
2458
|
+
</div>
|
2459
|
+
<p>
|
2460
|
+
The animation mode, either a value from <a class="link" href="ClutterTimeline.html#ClutterAnimationMode" title="enum ClutterAnimationMode"><span class="type">ClutterAnimationMode</span></a>
|
2461
|
+
or a value returned by <a class="link" href="ClutterAlpha.html#clutter-alpha-register-func" title="clutter_alpha_register_func ()"><code class="function">clutter_alpha_register_func()</code></a>. The
|
2462
|
+
default value is <a class="link" href="ClutterTimeline.html#CLUTTER-LINEAR:CAPS"><code class="literal">CLUTTER_LINEAR</code></a>.
|
2463
|
+
</p>
|
2464
|
+
<p class="since">Since 1.0</p>
|
2465
|
+
</div>
|
2466
|
+
<hr>
|
2467
|
+
<div class="refsect2">
|
2468
|
+
<a name="ClutterAnimation--object"></a><h3>The <code class="literal">"object"</code> property</h3>
|
2469
|
+
<pre class="programlisting"> "object" <span class="type">GObject</span>* : Read / Write</pre>
|
2470
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2471
|
+
<h3 class="title">Warning</h3>
|
2472
|
+
<p><code class="literal">ClutterAnimation:object</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition"><span class="type">ClutterPropertyTransition</span></a> instead</p>
|
2473
|
+
</div>
|
2474
|
+
<p>
|
2475
|
+
The <span class="type">GObject</span> to which the animation applies.
|
2476
|
+
</p>
|
2477
|
+
<p class="since">Since 1.0</p>
|
2478
|
+
</div>
|
2479
|
+
<hr>
|
2480
|
+
<div class="refsect2">
|
2481
|
+
<a name="ClutterAnimation--timeline"></a><h3>The <code class="literal">"timeline"</code> property</h3>
|
2482
|
+
<pre class="programlisting"> "timeline" <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a>* : Read / Write</pre>
|
2483
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2484
|
+
<h3 class="title">Warning</h3>
|
2485
|
+
<p><code class="literal">ClutterAnimation:timeline</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition"><span class="type">ClutterPropertyTransition</span></a> instead</p>
|
2486
|
+
</div>
|
2487
|
+
<p>
|
2488
|
+
The <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> used by the animation.
|
2489
|
+
</p>
|
2490
|
+
<p class="since">Since 1.0</p>
|
2491
|
+
</div>
|
2492
|
+
</div>
|
2493
|
+
<div class="refsect1">
|
2494
|
+
<a name="clutter-Implicit-Animations.signal-details"></a><h2>Signal Details</h2>
|
2495
|
+
<div class="refsect2">
|
2496
|
+
<a name="ClutterAnimation-completed"></a><h3>The <code class="literal">"completed"</code> signal</h3>
|
2497
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation,
|
2498
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
2499
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2500
|
+
<h3 class="title">Warning</h3>
|
2501
|
+
<p><code class="literal">ClutterAnimation::completed</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition"><span class="type">ClutterPropertyTransition</span></a> instead</p>
|
2502
|
+
</div>
|
2503
|
+
<p>
|
2504
|
+
The ::completed signal is emitted once the animation has
|
2505
|
+
been completed.
|
2506
|
+
</p>
|
2507
|
+
<p>
|
2508
|
+
The <em class="parameter"><code>animation</code></em> instance is guaranteed to be valid for the entire
|
2509
|
+
duration of the signal emission chain.
|
2510
|
+
</p>
|
2511
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2512
|
+
<colgroup>
|
2513
|
+
<col align="left" valign="top">
|
2514
|
+
<col>
|
2515
|
+
</colgroup>
|
2516
|
+
<tbody>
|
2517
|
+
<tr>
|
2518
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
2519
|
+
<td>the animation that emitted the signal</td>
|
2520
|
+
</tr>
|
2521
|
+
<tr>
|
2522
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2523
|
+
<td>user data set when the signal handler was connected.</td>
|
2524
|
+
</tr>
|
2525
|
+
</tbody>
|
2526
|
+
</table></div>
|
2527
|
+
<p class="since">Since 1.0</p>
|
2528
|
+
</div>
|
2529
|
+
<hr>
|
2530
|
+
<div class="refsect2">
|
2531
|
+
<a name="ClutterAnimation-started"></a><h3>The <code class="literal">"started"</code> signal</h3>
|
2532
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> *animation,
|
2533
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
2534
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2535
|
+
<h3 class="title">Warning</h3>
|
2536
|
+
<p><code class="literal">ClutterAnimation::started</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition"><span class="type">ClutterPropertyTransition</span></a> instead</p>
|
2537
|
+
</div>
|
2538
|
+
<p>
|
2539
|
+
The ::started signal is emitted once the animation has been
|
2540
|
+
started
|
2541
|
+
</p>
|
2542
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2543
|
+
<colgroup>
|
2544
|
+
<col align="left" valign="top">
|
2545
|
+
<col>
|
2546
|
+
</colgroup>
|
2547
|
+
<tbody>
|
2548
|
+
<tr>
|
2549
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
2550
|
+
<td>the animation that emitted the signal</td>
|
2551
|
+
</tr>
|
2552
|
+
<tr>
|
2553
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2554
|
+
<td>user data set when the signal handler was connected.</td>
|
2555
|
+
</tr>
|
2556
|
+
</tbody>
|
2557
|
+
</table></div>
|
2558
|
+
<p class="since">Since 1.0</p>
|
2559
|
+
</div>
|
2560
|
+
</div>
|
2561
|
+
<div class="refsect1">
|
2562
|
+
<a name="clutter-Implicit-Animations.see-also"></a><h2>See Also</h2>
|
2563
|
+
<a class="link" href="ClutterAnimatable.html" title="ClutterAnimatable"><span class="type">ClutterAnimatable</span></a>, <a class="link" href="clutter-Value-intervals.html#ClutterInterval"><span class="type">ClutterInterval</span></a>, <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a>,
|
2564
|
+
<a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a>
|
2565
|
+
</div>
|
2566
|
+
</div>
|
2567
|
+
<div class="footer">
|
2568
|
+
<hr>
|
2569
|
+
Generated by GTK-Doc V1.18.1</div>
|
2570
|
+
</body>
|
2571
|
+
</html>
|