Hi Ralph,

Thank you for your kind comments. And thank you for your willingness to pitch 
in and help out.

The Timeline library is truly a community project. A contributor added the zoom 
functionality a while ago and it has been there ever since. It is definately in 
ver 2.1 and in later versions. How well it works and how well it is documented 
is a different story.

I suggest that the best next step is to create an example file that 
demonstrates/tests the zoom capability. You can start with the 
wiki info:
http://code.google.com/p/simile-widgets/wiki/MouseWheelScrollingAndZooming

If you can't get that to work, then I suggest that you download the version of 
the Timeline library from when the zooming feature was introduced, get a test 
file to work, and then jump forward until the feature stops working.

Look at the timeline changes file (in the root dir).
As you can see from that file, rev 1418 added mouse-wheel zooming.
Then in rev 1553, I added mouse-wheel panning. I tried quite hard to maintain 
the zooming feature. And I believe that I even tested it at the time. 

I don't think there have been  any purposeful changes to those areas of the 
software since then.

To put it another way, if you create a test file that works with zooming with 
rev 1553, and it no longer works with the trunk ver, then I'd like to see it.

Once you have a test file for mouse zooming, I'm happy to add it to the library 
so it will become part of the tests.

Thanks,

Larry

ps.  eventPainter has no getLayout() or setLayout() methods -- those methods 
were removed long before I came on the scene as part of the ver 1 to ver 2 
work. If a Timeline client file is referenceing them, then the file needs to be 
updated to ver 2. (And had never worked with ver 2.) If that is the case, I 
suggest starting with one of the simple current examples, such as the 
webapp/site/examples/monet example. Then add zooming to it.




________________________________
From: Ralph <[email protected]>
To: SIMILE Widgets <[email protected]>
Sent: Monday, January 26, 2009 11:02:04 AM
Subject: timeline zoom function not working - bug in trunk?


Hello,

First of all I do think that Exhibit and Timeline are fantastic!

Having said this ;-) I  have to admit that I am getting frustrated
with the lack of coherent documentation and examples as far as the
zoom function is concerned :-(

- Which version of timeline supports the zoom function? 2.1, 2.2, the
trunk?

If I download the trunk of timeline and run it locally all the
examples under
http://localhost:9999/timeline/docs/create-timelines.html are broken
as the
line

bandInfos[1].eventPainter.setLayout(bandInfos[0].eventPainter.getLayout
());
throws an error. eventPainter has no getLayout() or setLayout()
methods as far as I can
see.....I am working on mac and have the same result in 3 browsers
(Safari, Opera, Firefox).

Can someone please have a look at this?

I would like to tweak the zoom function such that it can be triggered
independently from the mouseWheel
for example by a slider control (or other controls). If I call the
zoom methods directly that
seems to work largely but due to issues with the eventPainter
repainting of the display doesn't seem to work.
I would appreciate any suggestions and ideas!

Thanks
Ralph





--~--~---------~--~----~------------~-------~--~----~
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