[layout] Add LayoutMeta

Instead of overloading ClutterChildMeta with both container and layout
metadata and delegate to every LayoutManager implementation to keep a
backpointer to the layout manager instance, we can simply subclass
ChildMeta into LayoutMeta and presto! everything works out pretty well
for everyone.
This commit is contained in:
Emmanuele Bassi
2009-09-15 17:37:11 +01:00
parent 899db6f226
commit a2086f1178
11 changed files with 364 additions and 108 deletions

View File

@ -56,6 +56,7 @@
<xi:include href="xml/clutter-child-meta.xml"/>
<xi:include href="xml/clutter-media.xml"/>
<xi:include href="xml/clutter-layout-manager.xml"/>
<xi:include href="xml/clutter-layout-meta.xml"/>
</chapter>
<chapter>
@ -207,13 +208,13 @@
<chapter id="clutterobjecthierarchy">
<title>Object Hierarchy</title>
<xi:include href="xml/tree_index.sgml"/>
<xi:include href="xml/tree_index.sgml"><xi:fallback /></xi:include>
</chapter>
<chapter id="clutterobjectindex">
<title>Object Index</title>
<xi:include href="xml/object_index.sgml"/>
<xi:include href="xml/object_index.sgml"><xi:fallback /></xi:include>
</chapter>
</part>