Patrick,

Those lines of code choose an icon for the main menu of a SqueezeOS
device, not the list of icons in the screenshot that you're referring
to.

Icon 32 just happens to be the "Full-Sun" icon, and was easy to
select.

Check out these subs:
SUB SDT10DAY
and 
SUB SDTFORECAST

They present icons on these lines:
> 
> 'icon-id' =>
> 'plugins/SuperDateTime/html/images/'.$wetData{'d'.$i}{'forecastIcon'}.'.png',
> 
> 'icon-id' =>
> 'plugins/SuperDateTime/html/images/'.$wetData{$i}{'forecastIcon'}.'.png',
> 

I believe what you are seeing is a loooooong skinny version of your
.png file - there doesn't look like there's any code in the plugin to
handle animation or frame sizing.

Unless I'm misunderstanding something, you need to put the animation
code in Custom Clock, since it's not refreshing very often.

Maybe I'm missing something and there's an Animated Icon structure in
SqueezeOS?  Otherwise Erland will need something to cycle through the
frames, and SDT will have to tell Custom Clock that each icon is
animated or not, right?

-Dan

madpatrick;548637 Wrote: 
> Greg,
> 
> can you change the name of sdt icon. these will conflict with the
> animated icons. if you name is sdt.png and add an extra image the
> problem is solved (i think)
> > 
Code:
--------------------
  >   > 
  >     my @menu = ({
  >             text   => 'SuperDateTime',
  >             'icon-id' => 'plugins/SuperDateTime/html/images/32.png',
  >             id     => 'pluginSuperDateTime',
  > 
--------------------
> > 
> into
> 
> > 
Code:
--------------------
  >   > 
  >     my @menu = ({
  >             text   => 'SuperDateTime',
  >             'icon-id' => 'plugins/SuperDateTime/html/images/sdt.png',
  >             id     => 'pluginSuperDateTime',
  > 
  > 
--------------------
> > 
> 
> Animated images gives a bad result in the forecast.


-- 
plympton
------------------------------------------------------------------------
plympton's Profile: http://forums.slimdevices.com/member.php?userid=12955
View this thread: http://forums.slimdevices.com/showthread.php?t=77864

_______________________________________________
jive mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive

Reply via email to