Saay - why not use the new dropshadow APIs where available?
[email protected] wrote:
Author: hqm
Date: 2009-10-02 04:17:08 -0700 (Fri, 02 Oct 2009)
New Revision: 14912
Added:
openlaszlo/trunk/lps/components/incubator/resources/shadowbox/shadow_inset.png
openlaszlo/trunk/lps/components/incubator/resources/shadowbox/shadow_inset_vert.png
Removed:
openlaszlo/trunk/lps/components/incubator/resources/shadowbox/autoPng/
openlaszlo/trunk/lps/components/incubator/resources/shadowbox/shadow_inset.swf
Modified:
openlaszlo/trunk/lps/components/incubator/shadowbox.lzx
Log:
Change 20091001-hqm-G by [email protected] on 2009-10-01 17:43:26 EDT
in /Users/hqm/openlaszlo/trunk6
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: make shadowbox work in IE7/DHTML
New Features:
Bugs Fixed: LPP-8207
Technical Reviewer: maynard
QA Reviewer: max
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Create a rotated bitmap resource for the shadow
Tests:
<canvas width="100%" height="80%" >
<include href="incubator/shadowbox.lzx"/>
<shadowbox width="200" height="200" y="10" x="10" shadowleft="true">
<view bgcolor="#cccccc" width="200" height="200"/>
</shadowbox>
</canvas>
shadow appears in IE7 DHTML on the left and top of the square
Added:
openlaszlo/trunk/lps/components/incubator/resources/shadowbox/shadow_inset.png
Property changes on:
openlaszlo/trunk/lps/components/incubator/resources/shadowbox/shadow_inset.png
___________________________________________________________________
Name: svn:mime-type
+ image/png
Deleted:
openlaszlo/trunk/lps/components/incubator/resources/shadowbox/shadow_inset.swf
Added:
openlaszlo/trunk/lps/components/incubator/resources/shadowbox/shadow_inset_vert.png
Property changes on:
openlaszlo/trunk/lps/components/incubator/resources/shadowbox/shadow_inset_vert.png
___________________________________________________________________
Name: svn:mime-type
+ image/png
Modified: openlaszlo/trunk/lps/components/incubator/shadowbox.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/shadowbox.lzx 2009-10-02
08:00:13 UTC (rev 14911)
+++ openlaszlo/trunk/lps/components/incubator/shadowbox.lzx 2009-10-02
11:17:08 UTC (rev 14912)
@@ -1,6 +1,7 @@
<library>
- <resource name="shadow_rsc" src="resources/shadowbox/shadow_inset.swf" />
+ <resource name="shadow_rsc" src="resources/shadowbox/shadow_inset.png" />
+ <resource name="shadow_rsc_vert"
src="resources/shadowbox/shadow_inset_vert.png" />
<!--- A basic container view with an inner dropshadow effect.
<example executable="false">
@@ -45,13 +46,13 @@
<!-- shadows on left and top -->
<view resource="shadow_rsc" x="0" width="${parent.width}"
stretches="width" />
- <view resource="shadow_rsc" y="${width + 1}"
- width="${parent.height - 1}" stretches="width" rotation="-90" visible="${classroot.shadowleft}"/>
+ <view resource="shadow_rsc_vert" y="0"
+ height="${parent.height}" stretches="height" visible="${classroot.shadowleft}"/>
</class>
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2006-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2006-2007, 2009 Laszlo Systems, Inc. All Rights Reserved.
*
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@ -->
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins
--
Regards,
Max Carlson
OpenLaszlo.org