Image panning VID face

A while ago, I made a small face which puts an image inside an face and allows you to pan it around with the mouse or the cursor keys if it's too big. I've just uploaded it to the Downloads section.

Clipboard01

Here are some simple instructions:

1. Download the source.
2. do %pan-image.r in a console.
3. PAN-IMAGE is now available as a style for layout and you can write something like:

view layout [
pan-image http://www.rebol.net/photos/carl-france-cahors.jpg
]

Now move the image by dragging it with the mouse. The face takes arguments the same way as an ordinary image face.

Enjoy!
|