]> git.proxmox.com Git - mirror_novnc.git/commit
Add a viewport example/test.
authorJoel Martin <github@martintribe.org>
Wed, 3 Aug 2011 23:18:41 +0000 (18:18 -0500)
committerJoel Martin <github@martintribe.org>
Wed, 3 Aug 2011 23:18:41 +0000 (18:18 -0500)
commit4245363cf4b2c123939f2f8cce5fd6b1e3b8a85b
tree5f9a0240b9f76fc84d1c29f9ef0ad9bb96f36f97
parentce3bdbccc2a58d6c9ab6d0eeceb3f6ac3bc3b5e5
Add a viewport example/test.

Tested with an iPad 2.

This example shows a 400x200 viewport of an 800x400 display.

It tries to be intelligent about how much it redraws. It copies what
it can, and then when the user releases the mouse, it redraws the
"dirty" areas that were newly revealed.
tests/viewport.html [new file with mode: 0644]