You can use a StackPane for this. Within each layer, you can use an appropriate 
container to get the layout you need at that layer. If you need a custom 
layout, you can write your own container class, or you can use Panel (which 
performs no layout, leaving it up to the caller).

You can turn the visibility of components in each layer on or off using the 
component's "visible" property. You can attach visual effects to any component 
in any layer using decorators.

G

On Aug 11, 2010, at 11:33 AM, Sandro Martini wrote:

> 
> Hi to all,
> for a prototype I have in mind, I wonder if all features I need are already
> available in Pivot 2 (trunk):
> 
> I imagine the GUI organized in Layers (like in the StackLayout) but where
> here I would be able to dynamically change attributes of layers, like in a
> CAD application, or better in an image editing program.
> 
> For example I could put some elements in the first layer, like a top menu
> bar by default visible, but when a timeout occurs, that layer could vanish
> (with some effect like slide or fade or other).
> 
> And more complex, I could have other elements in other layers (some on, some
> off), but for example I want to position elements of layer 2 exactly at the
> bottom of layer 1 end ... sorry, I hope to be clear.
> So I'd need some api (or styling infos) to get position, extents, flags,
> effects, etc on any layer ...
> 
> And last, I could mix layers using other effects like in image editing:
> blend, colorize, filters, etc ... also block input to a layer (??).
> 
> 
> This could help us to create much more visually complex Applications.
> I agree that all this is complex to do and probably more graphic-oriented
> than usual Pivot applications, but one step a time could help going in this
> direction ...
> 
> What do you think ?
> A custom layout could be enough or a container (and related classes) should
> be created ?
> 
> And, more important, is interesting also to others than me ?
> 
> Bye,
> Sandro
> 
> -- 
> View this message in context: 
> http://apache-pivot-developers.417237.n3.nabble.com/Layered-Interface-tp1089258p1089258.html
> Sent from the Apache Pivot - Developers mailing list archive at Nabble.com.

Reply via email to