You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ca...@apache.org on 2013/05/04 23:07:45 UTC
[1/4] git commit: [flex-asjs] [refs/heads/develop] - remove
duplicated Event metadata for html5 controls
Updated Branches:
refs/heads/develop f2757a5a0 -> a34f288ab
remove duplicated Event metadata for html5 controls
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/7b4787cf
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/7b4787cf
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/7b4787cf
Branch: refs/heads/develop
Commit: 7b4787cf4e36b667309749c13174f0757495adb9
Parents: f2757a5
Author: Carlos Rovira <ca...@apache.org>
Authored: Sat May 4 23:06:21 2013 +0200
Committer: Carlos Rovira <ca...@apache.org>
Committed: Sat May 4 23:06:21 2013 +0200
----------------------------------------------------------------------
.../apache/flex/html5/staticControls/ComboBox.as | 2 --
.../flex/html5/staticControls/DropDownList.as | 4 +---
.../org/apache/flex/html5/staticControls/List.as | 4 +---
3 files changed, 2 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7b4787cf/frameworks/as/src/org/apache/flex/html5/staticControls/ComboBox.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html5/staticControls/ComboBox.as b/frameworks/as/src/org/apache/flex/html5/staticControls/ComboBox.as
index 48aeeac..ebeea35 100644
--- a/frameworks/as/src/org/apache/flex/html5/staticControls/ComboBox.as
+++ b/frameworks/as/src/org/apache/flex/html5/staticControls/ComboBox.as
@@ -20,8 +20,6 @@ package org.apache.flex.html5.staticControls
{
import org.apache.flex.html.staticControls.ComboBox;
- [Event("change", org.apache.flex.events.Event)]
-
public class ComboBox extends org.apache.flex.html.staticControls.ComboBox
{
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7b4787cf/frameworks/as/src/org/apache/flex/html5/staticControls/DropDownList.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html5/staticControls/DropDownList.as b/frameworks/as/src/org/apache/flex/html5/staticControls/DropDownList.as
index 0c2fbb5..14aa0fe 100644
--- a/frameworks/as/src/org/apache/flex/html5/staticControls/DropDownList.as
+++ b/frameworks/as/src/org/apache/flex/html5/staticControls/DropDownList.as
@@ -20,9 +20,7 @@ package org.apache.flex.html5.staticControls
{
import org.apache.flex.html.staticControls.DropDownList;
- [Event("change", org.apache.flex.events.Event)]
-
- public class DropDownList extends org.apache.flex.html.staticControls.DropDownList
+ public class DropDownList extends org.apache.flex.html.staticControls.DropDownList
{
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7b4787cf/frameworks/as/src/org/apache/flex/html5/staticControls/List.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html5/staticControls/List.as b/frameworks/as/src/org/apache/flex/html5/staticControls/List.as
index 93c3133..86e8ef8 100644
--- a/frameworks/as/src/org/apache/flex/html5/staticControls/List.as
+++ b/frameworks/as/src/org/apache/flex/html5/staticControls/List.as
@@ -20,9 +20,7 @@ package org.apache.flex.html5.staticControls
{
import org.apache.flex.html.staticControls.List;
- [Event("change", org.apache.flex.events.Event)]
-
- /**
+ /**
* Label probably should extend TextField directly,
* but the player's APIs for TextLine do not allow
* direct instantiation, and we might want to allow
[3/4] git commit: [flex-asjs] [refs/heads/develop] - add button pngs
for skinning in html5 example
Posted by ca...@apache.org.
add button pngs for skinning in html5 example
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/0591569e
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/0591569e
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/0591569e
Branch: refs/heads/develop
Commit: 0591569e09506a9f64a81c8c098a2588f76bb217
Parents: 58180d8
Author: Carlos Rovira <ca...@apache.org>
Authored: Sat May 4 23:06:57 2013 +0200
Committer: Carlos Rovira <ca...@apache.org>
Committed: Sat May 4 23:06:57 2013 +0200
----------------------------------------------------------------------
examples/FlexJSTest_HTML5/src/ButtonImageDown.png | Bin 0 -> 206 bytes
examples/FlexJSTest_HTML5/src/ButtonImageOver.png | Bin 0 -> 266 bytes
examples/FlexJSTest_HTML5/src/ButtonImageUp.png | Bin 0 -> 236 bytes
3 files changed, 0 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0591569e/examples/FlexJSTest_HTML5/src/ButtonImageDown.png
----------------------------------------------------------------------
diff --git a/examples/FlexJSTest_HTML5/src/ButtonImageDown.png b/examples/FlexJSTest_HTML5/src/ButtonImageDown.png
new file mode 100644
index 0000000..0cf7f8a
Binary files /dev/null and b/examples/FlexJSTest_HTML5/src/ButtonImageDown.png differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0591569e/examples/FlexJSTest_HTML5/src/ButtonImageOver.png
----------------------------------------------------------------------
diff --git a/examples/FlexJSTest_HTML5/src/ButtonImageOver.png b/examples/FlexJSTest_HTML5/src/ButtonImageOver.png
new file mode 100644
index 0000000..2f78d59
Binary files /dev/null and b/examples/FlexJSTest_HTML5/src/ButtonImageOver.png differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0591569e/examples/FlexJSTest_HTML5/src/ButtonImageUp.png
----------------------------------------------------------------------
diff --git a/examples/FlexJSTest_HTML5/src/ButtonImageUp.png b/examples/FlexJSTest_HTML5/src/ButtonImageUp.png
new file mode 100644
index 0000000..927e1c8
Binary files /dev/null and b/examples/FlexJSTest_HTML5/src/ButtonImageUp.png differ
[4/4] git commit: [flex-asjs] [refs/heads/develop] - Merge branch
'feature/fix-html5-example' into develop
Posted by ca...@apache.org.
Merge branch 'feature/fix-html5-example' into develop
* feature/fix-html5-example:
add button pngs for skinning in html5 example
update html5 example with button skinning styles
remove duplicated Event metadata for html5 controls
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/a34f288a
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/a34f288a
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/a34f288a
Branch: refs/heads/develop
Commit: a34f288ab31a0e4c0b355f1e4f6ee27c79eb9c1c
Parents: f2757a5 0591569
Author: Carlos Rovira <ca...@apache.org>
Authored: Sat May 4 23:07:34 2013 +0200
Committer: Carlos Rovira <ca...@apache.org>
Committed: Sat May 4 23:07:34 2013 +0200
----------------------------------------------------------------------
examples/FlexJSTest_HTML5/src/ButtonImageDown.png | Bin 0 -> 206 bytes
examples/FlexJSTest_HTML5/src/ButtonImageOver.png | Bin 0 -> 266 bytes
examples/FlexJSTest_HTML5/src/ButtonImageUp.png | Bin 0 -> 236 bytes
examples/FlexJSTest_HTML5/src/MyInitialView.mxml | 18 +++++++++++++++
.../apache/flex/html5/staticControls/ComboBox.as | 2 -
.../flex/html5/staticControls/DropDownList.as | 4 +--
.../org/apache/flex/html5/staticControls/List.as | 4 +--
7 files changed, 20 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
[2/4] git commit: [flex-asjs] [refs/heads/develop] - update html5
example with button skinning styles
Posted by ca...@apache.org.
update html5 example with button skinning styles
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/58180d8a
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/58180d8a
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/58180d8a
Branch: refs/heads/develop
Commit: 58180d8abe19603bb6887bb75f0fe0a77186a775
Parents: 7b4787c
Author: Carlos Rovira <ca...@apache.org>
Authored: Sat May 4 23:06:41 2013 +0200
Committer: Carlos Rovira <ca...@apache.org>
Committed: Sat May 4 23:06:41 2013 +0200
----------------------------------------------------------------------
examples/FlexJSTest_HTML5/src/MyInitialView.mxml | 18 +++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/58180d8a/examples/FlexJSTest_HTML5/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSTest_HTML5/src/MyInitialView.mxml b/examples/FlexJSTest_HTML5/src/MyInitialView.mxml
index ac0d891..08d1c7b 100644
--- a/examples/FlexJSTest_HTML5/src/MyInitialView.mxml
+++ b/examples/FlexJSTest_HTML5/src/MyInitialView.mxml
@@ -62,6 +62,23 @@ limitations under the License.
}
]]>
</fx:Script>
+ <fx:Style>
+ @namespace html5 "library://ns.apache.org/flexjs/html5";
+
+ .skinned {
+ background-image: url('ButtonImageUp.png');
+ border-style: none;
+ }
+
+ .skinned:hover {
+ background-image: url('ButtonImageOver.png');
+ }
+
+ .skinned:active {
+ background-image: url('ButtonImageDown.png');
+ }
+
+ </fx:Style>
<html5:Label id="lbl" x="100" y="25" >
<html5:beads>
<basic:SimpleBinding eventName="labelTextChanged"
@@ -113,6 +130,7 @@ limitations under the License.
</html5:beads>
</html5:DropDownList>
<html5:TextButton text="OK" x="200" y="230" click="dispatchEvent(new CustomEvent('buttonClicked'))" />
+ <html5:TextButton text="Skinned" x="200" y="260" width="80" height="24" className="skinned" click="dispatchEvent(new CustomEvent('buttonClicked'))" />
<html5:ComboBox id="comboBox" x="320" y="200" width="100" change="dispatchEvent(new CustomEvent('comboBoxChanged'))">
<html5:beads>