Hi Larry:

I see you are on top of things as usual. I have identified four files
which I have modified to work with my "ordered" painter:

sources.js -- modified to add events to an array in the order in which
they are read from the input stream(XML,JSON,SPARQL).
timeline.js -- modified to include "ordered" parameter for layout
(just like overview) as well as declaration of the eventArray
timeline-api.js -- modified to include "ordered-painter.js" when
looking up other script files
ordered-painter.js -- New painter which loops through the event array
to draw tapes/labels.

I have tested this new painter on IE7 and FF3. I could not get even
the examples to work consistently with Safari. No time to see why. My
"test suite" involved an application which generates multiple events
(currently 30) spread out over a 3 year period. As soon as my boss
clears it, I will send along a screen shot of the result. IMHO it
looks pretty cool. I am eager to submit my changes for the next
release. Please let me know what to do. I am working on sources that I
downloaded as a ZIP file the version is Version 2.2.0 -- September 23,
2008 rev 1589 (from the CHANGES.txt file in the ZIP file)

Thanks for all your help.

greg

On Nov 5, 12:25 pm, LarryK <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I just checked in rev 1661.
>
> * Improved painting of labels for imprecise instant events. If the
> tape was thick then the label could overlap the tape.
>   Test case is example 2, imprecise instant event at year 4400 (thick
> tape). Now looks much better.
>
> Theme additions:
> * Added  track.offset setting to original-painter. Enables specific
>   control over top margin of band event painting. Very useful when a
>   Timeline has multiple event bands or a pseudo event band that is
> just
>   used for labeling above an event band.
> * Added instant.impreciseIconMargin to original-painter. Enables
> specific
>   control over top margin of icon (margin between bottom of tape and
>   top of icon). Only used if the event has a tape and an icon.
>   Example 2 is also a test case for this. With a thick tape, icon top
> was too close to tape.
>
> For developers
> * Added EventPaintListener hook to original-painter. Enables clients
> to hook into
>   painting life cycle. See original-painter.js.
>
> Tested on IE 7, Safari 3/Win, FF 3/Win, Chrome / Win
>
> Regards,
>
> Larry
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to