ralphy wrote:
> Looks like the word clock is causing the problem. It doesn't play nice
> with the QVGAportrait and QVGAlandscape skins.
>
> ...
>
> Thanks.
Ralphy,
Please try attached version of the Clock applet and include images. I
fixed an issue with the WordClock code (forgot several self. before
skinName) and made WordClock versions for the QVGA skins. Also changed
an if statement for all clocks in [clock name]__init, e.g.:
Code:
--------------------
--changed the following if statement because otherwise
getDotMatrixClockSkin() is never called
--after a skin change -> self.skin ~= nil
-- if not self.skin and skinName ~= self.oldSkinName then
if (not self.skin and skinName ~= self.oldSkinName) or (self.skin and
skinName ~= self.oldSkinName) then
self.oldSkinName = skinName
self.skin = DotMatrix:getDotMatrixClockSkin(skinName)
end
--------------------
and removed the double style definition. I've tested this version in
SqueezePlay and don't have any issues, but you never know ;)
Arie
20789
+-------------------------------------------------------------------+
|Filename: Clockv2.zip |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=20789|
+-------------------------------------------------------------------+
------------------------------------------------------------------------
kolossos4730's Profile: http://forums.slimdevices.com/member.php?userid=63988
View this thread: http://forums.slimdevices.com/showthread.php?t=103330
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix