Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Dynamic global char arrays.

Re: Dynamic global char arrays.

From: Jens Arnold <arnold-j_at_t-online.de>
Date: 2005-08-20

Hello XavierGr

> Also I would like some suggestions about the buuton handling
> (thinking of other targets too).
> Currently I change files with joystick up or down (previous
> -next) when the picture is in default state. LinusN suggested
> right - left while rasher said that a combination of buttons
> would be better. My opinion is the up-down (or left-right it
> is the same) in the default state, and play+up-play+down when
> the image is zoomed.

Neither up - down nor left - right will work on its own.

There is no such thing as a default state, there is only a
smallest zoom level which depends on the original image size.

The JPEG decoder can scale images by 1, 1/2, 1/4 or 1/8, and the
viewer initially chooses the largest of these scale factors that
makes the image entirely fit the screen. However, if an image is
larger than a certain size, even the smallest scale factor (1/8)
doesn't make the image fit without scrolling, and this would
then interfere with changing pictures.

The image size where this will happen depends on the unit's
display, and is easily calculated (display resolution *8).

Iriver H1x0: 1280x1024 pixels
Archos recorder/Ondio: 896x512 pixels

Most digital camera images are larger those days...

Regards, Jens

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox
Received on Sat Aug 20 11:25:05 2005


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa