Change 20070119-maxcarlson-N by [EMAIL PROTECTED]
computer.local on 2007-01-19 15:14:49 PST
in /Users/maxcarlson/openlaszlo/legals
Summary: Make canvas resizing work in both SWF and DHTML
New Features:
Bugs Fixed: LPP-3201 - DHTML canvas with percentage width/height
should set canvas.width/height values when window is resized.
Technical Reviewer: promanik
QA Reviewer: hminsky
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Henry, this might help with the context menu bug in IE...
html.lzx - Use new canvas resizing code
Library.lzs - Include LzScreenKernels
LzScreenKernel.as - Capture and send canvas/window resize events
LzSprite.as - track right-click movieclip, set flag to avoid scaling
canvas to percentage values - SWF already scales the viewport size,
so take window size literally to avoid scaling twice
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
LzPlatform.as - Remove canvas resize listening code
LaszloCanvas.lzs - Clean up swf-specific code, unused methods,
initialization
Tests: Canvas resizing (with percentage values) now works in DHTML
and SWF!
Files:
M test/extensions/html.lzx
A WEB-INF/lps/lfc/kernel/swf/LzScreenKernel.as
M WEB-INF/lps/lfc/kernel/swf/Library.lzs
M WEB-INF/lps/lfc/kernel/swf/LzSprite.as
A WEB-INF/lps/lfc/kernel/dhtml/LzScreenKernel.js
M WEB-INF/lps/lfc/kernel/dhtml/LzKeyboardKernel.js
M WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M WEB-INF/lps/lfc/kernel/dhtml/LzMouseKernel.js
M WEB-INF/lps/lfc/kernel/dhtml/Library.lzs
M WEB-INF/lps/lfc/views/platform/swf/LzPlatform.as
M WEB-INF/lps/lfc/views/LaszloCanvas.lzs
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070119-
maxcarlson-N.tar