Peter Wehrfritz wrote: > dan sinclair schrieb: >> Currently Ewl positions widgets based on absolute coordinates. This >> works but isn't unnecessarily optional. Thoughts on changing the >> internals of Ewl to use parent relative placement of widgets? >> >> This would, hopefully, simplify some of the container code and allow >> for more code re-use internally. >> >> We would need to convert all containers to a relative layout and >> modify the theme system to map the coordinates properly. >> >> This would cause issues if we do need to place a widget absolutely, as >> we'd need to walk the parent tree to figure out where we were, but, >> how often we need to do this I'm not sure. >> > I don't know if we need to place a widget absolutely, but we need at the > end to place the edje and evas objects the absolute coordinates. That > was my main concern. >
We could work around that. Parent containers could cache their current absolute positioning which could be used during Evas/Edje placement. Just, all the internal code that takes position parameters would store them based on relative positioning. That make sense? dan ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel