I noticed that the Flickr applet when deciding how to best fit the
downloaded image assumes that the Jive display is taller than it is
wide, which is correct for the Jive hardware (240x320 I think).

However, to quote the wiki:
The key highlights of the Jive platform are: 

Jive Browser, a resolution and color-depth independent renderer that
allows us to power a wide range of display types, from monochrome VFDs
to full color LCD screens. 
Jive UI, a new, Lua-based, scalable user interface that can be
completely customized by anyone familiar with Lua, a powerful,
open-source scripting language. 

So I figured that the applet shouldn't make such an assumption about
the screen proportions (actually, I just wanted it to work properly on
my 480x320 setup that I'm playing with, it looks good!)

So here's a simple patch (my first ever, and my first dip into Lua,
woo-hoo!) that rotates the image based on whether the display width is
less than the height or not.

Edit: 666 bytes - how satanic is that!?


+-------------------------------------------------------------------+
|Filename: FlickrApplet.patch                                       |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=4103|
+-------------------------------------------------------------------+

-- 
rickwookie
------------------------------------------------------------------------
rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=42370

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

Reply via email to