[Laszlo-reviews] For Review: Change 20100623-maxcarlson-M Summary: Correct basecomponent tinting.
Max Carlson
max at openlaszlo.org
Wed Jun 23 16:53:04 PDT 2010
Change 20100623-maxcarlson-M by maxcarlson at friendly on 2010-06-23 16:46:00 PDT
in /Users/maxcarlson/openlaszlo/trunk-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Correct basecomponent tinting.
Bugs Fixed: LPP-9132 - Regression: examples/animation/animation.lzx?lzr=swf8&debug=true failing to start up
Technical Reviewer: ptw
QA Reviewer: hminsky, mdemmon
Details: Updating to address comments from Andre and Tucker. Since there is no good replacement for LzView.setColorTransform(), I moved it to a setter. I also fixed the tinting implementation to work consistently across swf8 and swf10.
LzUtils - Ensure LzColorUtils.fromrgb() returns integers when no alpha component is supplied.
LzUtils - Update/refactor LzColorUtils
LaszloView - Update docs, add colortransform setter to be used in place of setColorTransform(), update tintcolor when possible. Update tintcolor setter to tint correctly in swf8 and swf10.
basecomponent - Use LzView.colortransform instead of setColorTransform().
Tests: See LPP-9132 for a testcase that passes in swf8 and swf10. test/lfc/lzunit-lzutils.lzx passes across all runtimes.
Files:
M WEB-INF/lps/lfc/services/LzUtils.lzs
M WEB-INF/lps/lfc/views/LaszloView.lzs
M lps/components/base/basecomponent.lzx
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20100623-maxcarlson-M.tar
More information about the Laszlo-reviews
mailing list