Author: qmathe
Date: Thu Apr 16 13:08:38 2009
New Revision: 4581
URL: http://svn.gna.org/viewcvs/etoile?rev=4581&view=rev
Log:
Fixed -visibleContentRect invalid return value in ETWindowItem, by modifying
-[ETDecoratorItem visibleContentRect] to simply return -contentRect.
Fixed -[ETWindowItem handleSetDecorationRect:] to match the window size with
the decorated item size as expected.
Overriden -setDecoratorItem: in ETLayoutItem, to insert a supervisor view on the
fly if needed before inserting the decorator.
Fixed -[ETLayoutItem contentBounds] to return a correct value when the receiver
is decorated.
Written more decorator-related geometry tests.
Modified:
trunk/Etoile/Frameworks/EtoileUI/Container.xcodeproj/project.pbxproj
trunk/Etoile/Frameworks/EtoileUI/Headers/ETGeometry.h
trunk/Etoile/Frameworks/EtoileUI/Source/ETDecoratorItem.m
trunk/Etoile/Frameworks/EtoileUI/Source/ETLayoutItem.m
trunk/Etoile/Frameworks/EtoileUI/Source/ETWindowItem.m
trunk/Etoile/Frameworks/EtoileUI/Tests/test_ETLayoutItem.m
_______________________________________________
Etoile-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-cvs