On Sun, 2010-07-11 at 16:04 +0100, donn wrote:
> Hi,
> This sounds so simple, but I have burned days on it and my hacks always 
> fall short. Here's the ideal:
> 
> A Group that has a background color (a cogl.rectangle) which always 
> draws big enough to encompass all its children.
> The children can:
> 1. be added, removed, be moved around and be of all kinds of sizes.
> 2. can also be Groups.
> *3. can be placed at positions left and above the Group's origin. i.e. 
> x=-n and y=-n
> 
> This 'feels' like the opposite of the layout/container examples: here, 
> the container is resizing (visually) to fit all its children (recurse).
> 
> Can anyone help? Am I visiting crazyville trying it? :D


Sounds like a ClutterGroup, with an extra paint function. ClutterActors
are allowed to draw outside their allocation.

Regards,

Thomas

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to