Change maxcarlson-20101220-Jwa by maxcarl...@friendly on 2010-12-20 13:35:02 PST
in /Users/maxcarlson/openlaszlo/trunk-clean/my-apps/components
for http://svn.lzxpatterns.com/components/trunk
Summary: Move border styling/drawing routines to basepanel.
Technical Reviewer: hminsky
QA Reviewer: ptw
Details: gradientfill - Add _gradientdistance attribute, use gradienttransition
attribute to store transitioned gradient values.
drawpanel - Remove unneeded test, add note to optimize later
basepanel - Add style/drawborder from button/draw.lzx. Read properties from
the context.
buttongroup - Remove extra mixin. Use the button draw routine to get the basic
border. Add white border in drawlast() for Flash 10. Use padding computation
to offset dividers correctly.
draw - Remove styling, move style/drawborder() to basepanel. Read gradient
value directly from this.gradienttransition, fall back to gradientfill.
virtualdrawview - Place super.init() first.
house - Remove borderwidth=0 from buttongroup instances.
Tests: demos/house.lzx runs as before in swf10 and dhtml.
Files:
M lib/gradientfill.lzx
M lib/drawpanel.lzx
M lib/basepanel.lzx
M lib/button/buttongroup.lzx
M lib/button/draw.lzx
M lib/virtualdrawview.lzx
M demos/house.lzx
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/maxcarlson-20101220-Jwa.tar