[Laszlo-dev] For Review: Change 20070122-maxcarlson-z Summary: Make canvas resizing work in both SWF and DHTML.
max at openlaszlo.org
Mon Jan 22 12:58:12 PST 2007
Change 20070122-maxcarlson-z by maxcarlson at max-carlsons-
computer.local on 2007-01-22 12:51:28 PST
Summary: Make canvas resizing work in both SWF and DHTML.
New Features: Added callJS() to dhtml (just does an eval)
Technical Reviewer: promanik
QA Reviewer: hminsky
Doc Reviewer: (pending)
Details: Henry, this might help with the context menu bug in IE...
html.lzx - Use new canvas resizing code
LzScreenKernel.as - Capture and send canvas/window resize events
Library.lzs - Include LzScreenKernels
LzScreenKernel.js - Capture and send canvas/window resize events
LzKeyboardKernel.js - Capture events after callback is set up
LzSprite.js - Set flag to scale canvas to percentage values
LzMouseKernel.js - Capture events after callback is set up
LzBrowser.as - Clean up @flashspecific directives
LzBrowser.js - Add callJS(), clean up @flashspecific directives
LzPlatform.as - Remove canvas resize listening code
LaszloCanvas.lzs - Clean up swf-specific code, unused methods,
initialization. Added callback for LzScreenKernel window resize events.
app-console_jp.xslt - Added updated japanese app console from Togawa-san
app-console.xslt - Canvas size now accurate with percentage values
Tests: Canvas resizing (with percentage values) now works in DHTML
and SWF! Before, it only worked with lzt=html, and didn't account
for scrollbars when measuring the screen size. SWF and DHTML canvas
sizes are identical in almost all cases.
More information about the Laszlo-dev