mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
2e6397c391
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. |
||
---|---|---|
.. | ||
actor-box.png | ||
bin-layout.png | ||
box-layout.png | ||
building-clutter.xml | ||
clutter-animation-tutorial.xml | ||
clutter-docs.xml.in | ||
clutter-overview.xml | ||
clutter-sections.txt | ||
clutter.types | ||
creating-behaviours.xml | ||
easing-modes.png | ||
easing-modes.svg | ||
event-flow.dia | ||
event-flow.png | ||
flow-layout-horizontal.png | ||
flow-layout-vertical.png | ||
glossary.xml | ||
Makefile.am | ||
migrating-ClutterEffect.xml | ||
migrating-ClutterPath.xml | ||
path-alpha-func.png | ||
running-clutter.xml | ||
subclassing-ClutterActor.xml |