mutter/tests/interactive
Emmanuele Bassi 2e6397c391 box-layout: Add knobs for controlling animations
ClutterLayoutManager does not have any state associated with it, and
defers all the state to its sub-classes.

The BoxLayout is thus in charge of controlling:

  • whether or not animations should be used
  • the duration of the animation
  • the easing mode of the animation

By adding three new properties:

  • ClutterBoxLayout:use-animations
  • ClutterBoxLayout:easing-duration
  • ClutterBoxLayout:easing-mode

And their relative accessors pairs we can make BoxLayout decide whether
or not, and with which parameters, call the begin_animation() method of
ClutterLayoutManager.

The test-box-layout has been modified to reflect this new functionality,
by checking the key-press event for the 'a' key symbol to toggle the use
of animations.
2009-12-13 01:15:02 +00:00
..
Makefile.am tests: give all the arguments to the wrapper 2009-11-30 12:53:26 +01:00
test-actor-clone.c tests: Clean up interactive test build 2009-11-05 17:47:26 +00:00
test-actors.c tests: Clean up interactive test build 2009-11-05 17:47:26 +00:00
test-animation.c Remove usage of Units and macros 2009-06-04 16:30:30 +01:00
test-behave.c tests: Clean up interactive test build 2009-11-05 17:47:26 +00:00
test-bin-layout.c box: Add relative packing methods 2009-12-04 16:54:22 +00:00
test-binding-pool.c [tests] Fix a segfault in the binding-pool test 2009-06-11 12:36:41 +01:00
test-box-layout.c box-layout: Add knobs for controlling animations 2009-12-13 01:15:02 +00:00
test-clip.c Remove all internal use of deprecated cogl_clip_* API 2009-11-05 21:10:18 +00:00
test-clutter-cairo-flowers.c Add MSVC preprocessor guards in test-clutter-cairo-flowers.c 2009-07-28 12:13:43 +01:00
test-cogl-multitexture.c tests: Clean up interactive test build 2009-11-05 17:47:26 +00:00
test-cogl-offscreen.c cogl: deprecate cogl_draw_buffer API and replace with a cogl_framebuffer API 2009-11-26 19:33:14 +00:00
test-cogl-primitives.c Revert changes to test-cogl-primitives.c from 272e227109 2009-11-09 18:19:42 +00:00
test-cogl-tex-convert.c tests: Clean up interactive test build 2009-11-05 17:47:26 +00:00
test-cogl-tex-foreign.c [cogl-handle] Optimize how we define cogl handles 2009-04-02 11:58:43 +01:00
test-cogl-tex-getset.c tests: Clean up interactive test build 2009-11-05 17:47:26 +00:00
test-cogl-tex-polygon.c tests: Clean up interactive test build 2009-11-05 17:47:26 +00:00
test-cogl-tex-tile.c tests: Clean up interactive test build 2009-11-05 17:47:26 +00:00
test-cogl-vertex-buffer.c Reposition variable declarations to avoid C99. 2009-07-28 12:13:43 +01:00
test-depth.c tests: Clean up interactive test build 2009-11-05 17:47:26 +00:00
test-devices.c tests: Clean up interactive test build 2009-11-05 17:47:26 +00:00
test-easing.c [tests] Beautify the bouncing actor 2009-06-15 15:08:59 +01:00
test-events.c tests: Print out the captured event type 2009-10-26 11:42:16 +00:00
test-fbo.c tests: Clean up interactive test build 2009-11-05 17:47:26 +00:00
test-flow-layout.c layout: Report the correct size of FlowLayout 2009-10-14 11:31:35 +01:00
test-fullscreen.c [stage] Rename fullscreen methods 2009-06-09 14:07:35 +01:00
test-grab.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-layout.c tests: Clean up interactive test build 2009-11-05 17:47:26 +00:00
test-main.c * tests/interactive/test-main.c (main): Allow more than two 2008-11-10 16:30:42 +00:00
test-model.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-multistage.c tests: Clean up interactive test build 2009-11-05 17:47:26 +00:00
test-offscreen.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-paint-wrapper.c tests: Clean up interactive test build 2009-11-05 17:47:26 +00:00
test-pixmap.c tests: Clean up interactive test build 2009-11-05 17:47:26 +00:00
test-project.c Remove usage of Units and macros 2009-06-04 16:30:30 +01:00
test-random-text.c Update the interactive tests to ClutterText 2008-12-11 13:48:01 +00:00
test-rotate.c tests: Clean up interactive test build 2009-11-05 17:47:26 +00:00
test-scale.c Add white_color a variable on the stack. 2009-07-28 12:13:43 +01:00
test-score.c [timeline] Remove the concept of frames from timelines 2009-06-04 13:21:57 +01:00
test-script.c tests: Clean up interactive test build 2009-11-05 17:47:26 +00:00
test-shader.c tests: Clean up interactive test build 2009-11-05 17:47:26 +00:00
test-stage-read-pixels.c Remove Units from the public API 2009-05-06 16:44:47 +01:00
test-text-field.c [text] Add pre-edit string to ClutterText 2009-10-16 12:45:29 +01:00
test-text.c [tests] Update the ClutterText interactive test 2009-01-07 15:54:08 +00:00
test-texture-async.c tests: Clean up interactive test build 2009-11-05 17:47:26 +00:00
test-texture-quality.c tests: fix argument parsing of test-texture-quality 2009-11-30 12:53:54 +01:00
test-textures.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-threads.c introspection-friendly ClutterEvent accessors 2009-06-08 12:05:20 +01:00
test-unproject.c Remove Units from the public API 2009-05-06 16:44:47 +01:00
test-viewport.c tests: Clean up interactive test build 2009-11-05 17:47:26 +00:00
wrapper.sh tests: Clean up interactive test build 2009-11-05 17:47:26 +00:00