mirror of
https://github.com/brl/mutter.git
synced 2024-12-28 05:42:14 +00:00
07b01888ba
Layout managers are using the same code to allocate a child while taking into consideration: • horizontal and vertical alignment • horizontal and vertical fill • the preferred minimum and natural size, depending on the :request-mode property • the text direction for the horizontal alignment • an offset given by the fixed position properties Given the amount of code involved, and the amount of details that can go horribly wrong while copy and pasting such code in various classes - let alone various projects - Clutter should provide an allocate() variant that does the right thing in the right way. This way, we have a single point of failure. |
||
---|---|---|
.. | ||
actor-box.png | ||
animator-key-frames.png | ||
animator-key-frames.svg | ||
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 |