Author: qmathe
Date: Mon Aug 25 12:58:27 2008
New Revision: 3532
URL: http://svn.gna.org/viewcvs/etoile?rev=3532&view=rev
Log:
Implemented the direct drawing of the layout items, so items without view can
now draw themselves directly into the closest enclosing view. As a byproduct,
this also implies every items with or without a view can also be styled (for
stuff such as selection indicator, border etc.). The item style is currently
hardcoded but it is going to be modularized in order to be fully pluggable at
runtime. This feature can also be useful for implementing a graphics editor or
a photo browser, whose contents may consist of thousands of elements, hence
require lightweight items to diplay fast enough.
Fixed selection handling in layouts that doesn't use a layout view and
reenabled
the display of a visual indicator for selected items... a crude blue square :)
WARNING: When scrolling a container made of items without views, the redisplay
doesn't occur transparently right now, clicking or resizing allows to
workaround
this issue. In a similar vein, pick and drop work for both items with or
without
view, but the result only becomes visible when you click or resize the
container
if the picked items have no views.
Modified:
trunk/Etoile/Frameworks/EtoileUI/ChangeLog
trunk/Etoile/Frameworks/EtoileUI/Headers/ETLayoutItem.h
trunk/Etoile/Frameworks/EtoileUI/Source/ETLayout.m
trunk/Etoile/Frameworks/EtoileUI/Source/ETLayoutItem.m
trunk/Etoile/Frameworks/EtoileUI/Source/ETLayoutItemGroup.m
trunk/Etoile/Frameworks/EtoileUI/Source/ETTableLayout.m
trunk/Etoile/Frameworks/EtoileUI/Source/ETView.m
_______________________________________________
Etoile-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-cvs