Mike Meyer;339506 Wrote: > Greg, this sounds interesting. Do I need to make a different call to > use this long display or how does that work?
Hey Mike- Yes I know, I really do need to document the API stuff better... For those curious I did a lengthy post on it in this thread a while back. As far as the new stuff goes, please look at the getLongWeather procedure for an example. That's the proc that adds the long weather forecasts. Its very simple since it just grabs the long weather forecasts info from an existing hash. Basically you call addDisplayItem like before, but instead of passing in a time you pass in 'L'. This will tell the plugin you want left justified scrolling text. Internally the plugin will use some timers when displaying the item to allow adequate time for it to scroll. Right now there's a hardcoded minimum of 5seconds to ensure items that aren't long enough to trigger scrolling to be shown. When I have a chance I'll probably add an option to specify a minimum as an argument, such as 'L5'. Thanks, happy to see some interest in this. -Greg -- GoCubs ------------------------------------------------------------------------ GoCubs's Profile: http://forums.slimdevices.com/member.php?userid=312 View this thread: http://forums.slimdevices.com/showthread.php?t=14327 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
