[layout] Add layers to BinLayout
authorEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 14 Sep 2009 20:51:49 +0000 (21:51 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Wed, 14 Oct 2009 10:27:29 +0000 (11:27 +0100)
commit9cccff504a40706e70b11878572d7e7db7430792
treeffe69c32c7739a731bf665be9d73fe430877890b
parent98474076a1310494fec252fb6bfce8001bca78da
[layout] Add layers to BinLayout

Each actor managed by a BinLayout policy should reside inside its
own "layer", with horizontal and vertical alignment. The :x-align
and :y-align properties of the BinLayout are the default alignment
policies, which are copied to each new "layer" when it is created.

The set_alignment() and get_alignment() methods of BinLayout can
be changed to operate on a specific "layer".

The whole machinery uses the new ChildMeta support inside the
LayoutManager base abstract class.
clutter/clutter-bin-layout.c
clutter/clutter-bin-layout.h
tests/interactive/test-box.c