Sounds to me like the LayoutManager and GroupManager are performing similar or related functions. Should they be merged into one entity that implements their summed functions?
I don't know the answer myself to those questions I asked, I just wanted to see what you thought is reasonable. Do you think that this is what everyone will want? If not, perhaps make the behavior customizable? In summary, instead of a GroupManager and LayoutManager, I think what would be nice is a LayerManager that implements both and is customizable. --JYL > Hi Jacob > > In what way do you mean react? If you mean that all layers should move, > thats already included into the groupmanager. How do you mean "and when > they are hidden, the Z-order changes" If they are hidden they should be > overseen i think, and when they are made visible again, then they should > invoke a redraw of the layer positions. > > Regards > Daniel > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Jacob Levy > Sent: den 22 september 2003 16:48 > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: [Dynapi-Dev] LayoutManager > > > Well, the next thing you'll want would be to react to when one of the > layers moves, you want to move the other ones in concert, and when they > are hidden, the Z-order changes, and so on. Sounds like a window manager > to me, before too long :) > > --JYL > >> Hi! >> >> I had a big problem and that was i had 3 layers that i needed to have >> exacly 10 pixels vertical from eachother. The problem was not to place > >> them but to keep the distance when they resized. I have now made a >> function for that, that triggers on "onresize" but its just for the >> vertical bit. >> >> I will however make one for horizontal resize and both vertical and >> horizontal aswell, and now i wonder if there is something else that >> needs to be added to this manager, so if you have any idees please >> send them to me. >> >> Regards >> Daniel >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Dynapi-Dev mailing list >> [EMAIL PROTECTED] >> http://www.mail-archive.com/[EMAIL PROTECTED]/ > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf _______________________________________________ > Dynapi-Dev mailing list > [EMAIL PROTECTED] > http://www.mail-archive.com/[EMAIL PROTECTED]/ > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > [EMAIL PROTECTED] > http://www.mail-archive.com/[EMAIL PROTECTED]/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/[EMAIL PROTECTED]/