1
0
Fork 0
mutter-performance-source/doc/reference
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
..
clutter box-layout: Add knobs for controlling animations 2009-12-13 01:15:02 +00:00
cogl cogl: deprecate cogl_draw_buffer API and replace with a cogl_framebuffer API 2009-11-26 19:33:14 +00:00
ChangeLog 2008-12-08 Emmanuele Bassi <ebassi@linux.intel.com> 2008-12-08 14:22:39 +00:00
Makefile.am [docs] Build COGL API reference first 2009-01-21 10:58:32 +00:00