On Mon, Feb 25, 2008 at 10:51 PM, Havoc Pennington <[EMAIL PROTECTED]> wrote:
I'm wondering exactly what scenarios and types of layout management
will be possible by this added infrastructure and what would remain
impossible/outside the scope of it. Like matthew I'm accustomed
to some more free form APIs than GUI toolkits and 2d canvases provide
and I wonder whether this is only about 2D layouts or if the
infrastructure is powerful enough to cater to other, unforeseen needs
as well.
> Most layout managers have additional hints specific to the layout
> manager. For example, GtkFixed has the x,y position. GtkBox has the
> expand and fill flags. A layout manager container will have to provide
> a way to set these additional hints for actors.
How would this be implemented, by adding a hashtable to the container
with a mappings between the child actors and the additional layout
implementation specific hints?
What possibilities open up for layout management that interacts with
animated properties? In particular I wonder how it is possible to
integrate with 3D specific properties, like rotation around the x or y
axes or change of depth? By doing layout management like this, would
one need to rely on the coordinates of
actors as projected onto the stage (to reduce the problem to a 2d
one?) or would it be possible to even at this level to choose to only
do the level management relative to the immediate parent container and
operate only with this parents coordinates? (which could be neccesary
if the container is rotated around the z-axis)?
Or are the above quesitons and concerns mostly irrelevant and such
layout management something that only really applies when doing pure
2D static / fluid due to containers changing size interfaces. And
animated or more 3d use of the API would only make sense with the
fixed layout provided by the default implementation?
/Øyvind K.
--
«The future is already here. It's just not very evenly distributed»
-- William Gibson
http://pippin.gimp.org/ http://ffii.org/
--
To unsubscribe send a mail to [EMAIL PROTECTED]