jonathan wrote:
One thing I would try to fix is that currently if you scroll the image prior to zooming, the zoom box comes in centered on the image, and not the screen. So, the zoom box could end up off the screen if the virtual image is big enough.
if the virtual image is big enough, and you scroll it before zooming, then it should scroll when you start zooming so that the zoombox _center_ becomes visible, does it not? if that image is not big enough, it doesn't scroll when you start zooming, because the zoombox _center_ is already visible, even if you scroll it to any image corner before zooming.. (sxdots <= 2 * vesa_xres && sydots <= 2 * vesa_yres)
I'd also like to see the zoom box starting size be the size of the screen and not the image. That way it would be visible immediately. Besides, how can you tell what the resulting zoom will look like if you can't see it?
it's simple, just count PG_UPs / PG_DNs :o) well, changing the starting size looks easy, but what should it do when you enlarge zoombox so that it reaches the screen size? stop zooming or wait until it reaches the image size? what about adding a hair-cross to the zoombox center? and maybe that hair-cross should scale along with the zoombox? (though it looks not that easy..) charlie ____________________________________________________________ Nakup ojeteho vozu ... nonstop a v pohode na www.vyzkouseno.cz http://ad2.seznam.cz/redir.cgi?instance=46834%26url=http://www.vyzkouseno.cz