Author: qmathe
Date: Sun Jul 20 15:11:19 2008
New Revision: 3310
URL: http://svn.gna.org/viewcvs/etoile?rev=3310&view=rev
Log:
Improved -reloadAndUpdateLayout to find the first ancestor item on which the
layout update should occur. This allows to minimize the amount of reloading
that
occurs by simply calling -reloadAndUpdateLayout on the item group which has
been
modified, instead of having to call it on the item group whose opaque layout is
currently active.
Eric is currently working around this problem in EtoileTunes by calling -reload
on the modified item group then -updateLayout on the first ancestor with a
container.
* ETLayoutItemGroup
(-ancestorItemForOpaqueLayout): New method.
(-reloadAndUpdateLayout): Updated to use the previous method.
* ETLayout
(-isOpaque, -isLayoutViewInUse): New methods.
Modified:
branches/qmathe/Container/ETLayout.h
branches/qmathe/Container/ETLayout.m
branches/qmathe/Container/ETLayoutItemGroup.h
branches/qmathe/Container/ETLayoutItemGroup.m
_______________________________________________
Etoile-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-cvs