Sounds like an interesting UI to try out.

Look in original-painter to see where the icon is painted.
You'll replace the function with one of your own which will look at the current 
scale (zoom factor) of the Timeline band when deciding which icon file to paint 
onto the screen.

I believe that the band is repainted after a zoom in or out. In that case, the 
painter will then be called and your sw will then paint the appropriate icon.

Please let us know how it works out and please post a link to your project when 
ready.

Regards,

Larry





________________________________
From: jqueryui-vienna <[email protected]>
To: SIMILE Widgets <[email protected]>
Sent: Tuesday, January 13, 2009 9:12:23 AM
Subject: Timeline: Different Icon Sizes based on zoom level


I want to use SIMILE Timeline to display a chronological view of my
photos. I already figured out that I can (ab)use the event icon in
order to show a tiny thumbnail image of my photo - the event bubble
could offer a bigger version.

The problem are the different zoom steps of the timeline: when i zoom
out, the thumbnail icons should be replaced by smaller versions or
just the default dot icon. When I zoom in, the Icon size should
increase. How can I implement this behaviour?

regards,

Franz

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