1
0
Fork 0
mutter-performance-source/doc
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
..
common docs: Clean up the additional documentation build 2009-11-30 21:33:22 +00:00
cookbook cookbook: Clean up the text 2009-12-01 10:11:33 +00:00
manual docs: Clean up the additional documentation build 2009-11-30 21:33:22 +00:00
reference box-layout: Add knobs for controlling animations 2009-12-13 01:15:02 +00:00
clutter-actor-invariants.txt Enforce invariants on mapped, realized, visibility states 2009-04-24 15:27:19 +01:00
CODING_STYLE docs: Move documentation under doc/ 2009-12-01 10:16:25 +00:00
HACKING docs: Move documentation under doc/ 2009-12-01 10:16:25 +00:00
HACKING.backends docs: Move documentation under doc/ 2009-12-01 10:16:25 +00:00
Makefile.am docs: Move documentation under doc/ 2009-12-01 10:16:25 +00:00
RELEASING docs: Move RELEASING under docs/ 2009-12-09 18:10:52 +00:00