checked in as

r17973 | hqm | 2010-12-08 10:05:19 -0500 (Wed, 08 Dec 2010) | 44 lines
Changed paths:
   M /openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
   M /openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzTextSprite.as
   M /openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloView.lzs

Change hqm-20101207-QEn by [email protected] on 2010-12-07 23:09:59 EST
    in /Users/hqm/openlaszlo/trunk3
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: fixes for swf10 shadow rendering

New Features:

Bugs Fixed: LPP-9494, LPP-9565

Technical Reviewer: max
QA Reviewer: ffeng
Doc Reviewer: (pending)

Documentation:

Release Notes:

Overview:


Details:

+ shadowcolor alpha value needs to be converted to value between 0 and 1

+ for LzSprite, create a dedicated sprite to form a filled bounding
box for the shadow filter shape.

There may be an optimization to use the bgsprite as a shadow outline
if it exists and is hidden, but I didn't want to try to figure out the
logic for that right now, and it's not clear it would work if alpha !=
1.

Tests:

For swf10, verify that the focus shadow glow effect applies to
bounding box of the whole component (button), not to the internal text
or icon.

+ demos/house.lzx
+ demos/ptw.lzx
+ see test case attached to bug report, lpp-9440.lzx



On Wed, Dec 8, 2010 at 2:25 AM, Captain Feng <[email protected]> wrote:

> Hi Henry,
>
> Have you submitted your change to svn?
>
> thanks,
> -Fred
>
> 2010/12/8 Max Carlson <[email protected]>
>
> Please take Tucker's suggestion.  Otherwise, approved!
>>
>>
>> On 12/7/10 8:39 PM, P T Withington wrote:
>>
>>> It would be more direct to use coloralphafrominternal, which returns
>>> [24-bit RGB, alpha fraction].  If you trace inttocolorobj, it is scaling the
>>> alpha by 100 and you are unscaling it by 100, you could cut out the middle
>>> man and save 2 function calls...  I'm just saying'.
>>>
>>> On 2010-12-07, at 20:23, Henry Minsky wrote:
>>>
>>>  Change hqm-20101207-QEn by [email protected] on 2010-12-07 23:09:59
>>>> EST
>>>>    in /Users/hqm/openlaszlo/trunk3
>>>>    for http://svn.openlaszlo.org/openlaszlo/trunk
>>>>
>>>> Summary: fixes for swf10 shadow rendering
>>>>
>>>> New Features:
>>>>
>>>> Bugs Fixed: LPP-9494, LPP-9565
>>>>
>>>> Technical Reviewer: max
>>>> QA Reviewer: ffeng
>>>> Doc Reviewer: (pending)
>>>>
>>>> Documentation:
>>>>
>>>> Release Notes:
>>>>
>>>> Overview:
>>>>
>>>>
>>>> Details:
>>>>
>>>> + shadowcolor alpha value needs to be converted to value between 0 and 1
>>>>
>>>> + for LzSprite, create a dedicated sprite to form a filled bounding
>>>> box for the shadow filter shape.
>>>>
>>>> There may be an optimization to use the bgsprite as a shadow outline
>>>> if it exists and is hidden, but I didn't want to try to figure out the
>>>> logic for that right now, and it's not clear it would work if alpha !=
>>>> 1.
>>>>
>>>> Tests:
>>>>
>>>> For swf10, verify that the focus shadow glow effect applies to
>>>> bounding box of the whole component (button), not to the internal text
>>>> or icon.
>>>>
>>>> + demos/house.lzx
>>>> + demos/ptw.lzx
>>>> + see test case attached to bug report, lpp-9440.lzx
>>>>
>>>> Files:
>>>> M       WEB-INF/lps/lfc/kernel/swf9/LzTextSprite.as
>>>> M       WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
>>>>
>>>>
>>>> Changeset:
>>>> http://svn.openlaszlo.org/openlaszlo/patches/hqm-20101207-QEn.tar
>>>>
>>>
>>>
>
>
> --
> captain
>



-- 
Henry Minsky
Software Architect
[email protected]

Reply via email to