approved tested in iPad simulator on OSX
On Mon, Dec 13, 2010 at 7:18 PM, Max Carlson <[email protected]> wrote: > Change maxcarlson-20101213-uce by maxcarl...@friendly on 2010-12-13 > 16:12:33 PST > in /Users/maxcarlson/openlaszlo/trunk-clean > for http://svn.openlaszlo.org/openlaszlo/trunk > > Summary: Add support for screen orientation > > Bugs Fixed: LPP-9048 - Add support for screen orientation > > Technical Reviewer: hminsky > QA Reviewer: [email protected] > > Release Notes: Canvas now has a screenorientation attribute that fires when > the screen orientation changes on a supported device, currently Android and > iOS in HTML5. > > Details: LzSprite - Add screenorientation capability, set to true for iOS > and Android. > > LzScreenKernel - If capabilities.screenorientation is true, listen for > oreintationchange events, and update the value sent to the screen resize > listener. > > LaszloCanvas - Add screenorientation attribute, update when > capabilities.screenorientation is true. > > Tests: canvas.onscreenorientation fires when the device changes from > landscape to portrait mode. > > Files: > M WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js > M WEB-INF/lps/lfc/kernel/dhtml/LzScreenKernel.js > M WEB-INF/lps/lfc/views/LaszloCanvas.lzs > > Changeset: > http://svn.openlaszlo.org/openlaszlo/patches/maxcarlson-20101213-uce.tar > -- Henry Minsky Software Architect [email protected]
