flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject git commit: [flex-sdk] [refs/heads/release4.12.0] - FLEX-34097 add missing skins and fix wrong 480 dpi skins
Date Thu, 20 Feb 2014 01:32:30 GMT
Repository: flex-sdk
Updated Branches:
  refs/heads/release4.12.0 a8799bd93 -> 534c5b636


FLEX-34097 add missing skins and fix wrong 480 dpi skins


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/534c5b63
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/534c5b63
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/534c5b63

Branch: refs/heads/release4.12.0
Commit: 534c5b63672a0be4cbfce90ab76ced16c0cedf48
Parents: a8799bd
Author: Justin Mclean <jmclean@apache.org>
Authored: Thu Feb 20 12:32:17 2014 +1100
Committer: Justin Mclean <jmclean@apache.org>
Committed: Thu Feb 20 12:32:17 2014 +1100

----------------------------------------------------------------------
 .../TabbedViewNavigatorTabBarFirstTabSkin.as    | 23 +++++++++----
 .../TabbedViewNavigatorTabBarLastTabSkin.as     | 36 ++++++++++++++------
 2 files changed, 42 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/534c5b63/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorTabBarFirstTabSkin.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorTabBarFirstTabSkin.as
b/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorTabBarFirstTabSkin.as
index bab35b3..eecee54 100644
--- a/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorTabBarFirstTabSkin.as
+++ b/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorTabBarFirstTabSkin.as
@@ -24,6 +24,8 @@ import mx.core.DPIClassification;
 import spark.skins.mobile.assets.TabbedViewNavigatorButtonBarFirstButton_down;
 import spark.skins.mobile.assets.TabbedViewNavigatorButtonBarFirstButton_up;
 import spark.skins.mobile.supportClasses.TabbedViewNavigatorTabBarTabSkinBase;
+import spark.skins.mobile120.assets.TabbedViewNavigatorButtonBarFirstButton_down;
+import spark.skins.mobile120.assets.TabbedViewNavigatorButtonBarFirstButton_up;
 import spark.skins.mobile320.assets.TabbedViewNavigatorButtonBarFirstButton_down;
 import spark.skins.mobile320.assets.TabbedViewNavigatorButtonBarFirstButton_up;
 import spark.skins.mobile480.assets.TabbedViewNavigatorButtonBarFirstButton_down;
@@ -70,13 +72,20 @@ public class TabbedViewNavigatorTabBarFirstTabSkin extends TabbedViewNavigatorTa
 				selectedBorderSkin = spark.skins.mobile480.assets.TabbedViewNavigatorButtonBarFirstButton_selected;
 				break;
 			}
-            case DPIClassification.DPI_320:
-            {
-                upBorderSkin = spark.skins.mobile320.assets.TabbedViewNavigatorButtonBarFirstButton_up;
-                downBorderSkin = spark.skins.mobile320.assets.TabbedViewNavigatorButtonBarFirstButton_down;
-                selectedBorderSkin = spark.skins.mobile320.assets.TabbedViewNavigatorButtonBarFirstButton_selected;
-                break;
-            }
+			case DPIClassification.DPI_320:
+			{
+				upBorderSkin = spark.skins.mobile320.assets.TabbedViewNavigatorButtonBarFirstButton_up;
+				downBorderSkin = spark.skins.mobile320.assets.TabbedViewNavigatorButtonBarFirstButton_down;
+				selectedBorderSkin = spark.skins.mobile320.assets.TabbedViewNavigatorButtonBarFirstButton_selected;
+				break;
+			}
+			case DPIClassification.DPI_120:
+			{
+				upBorderSkin = spark.skins.mobile120.assets.TabbedViewNavigatorButtonBarFirstButton_up;
+				downBorderSkin = spark.skins.mobile120.assets.TabbedViewNavigatorButtonBarFirstButton_down;
+				selectedBorderSkin = spark.skins.mobile120.assets.TabbedViewNavigatorButtonBarFirstButton_selected;
+				break;
+			}
             default:
             {
                 upBorderSkin = spark.skins.mobile.assets.TabbedViewNavigatorButtonBarFirstButton_up;

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/534c5b63/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorTabBarLastTabSkin.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorTabBarLastTabSkin.as
b/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorTabBarLastTabSkin.as
index 90ae7ae..1da75c2 100644
--- a/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorTabBarLastTabSkin.as
+++ b/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorTabBarLastTabSkin.as
@@ -24,6 +24,8 @@ import mx.core.DPIClassification;
 import spark.skins.mobile.assets.TabbedViewNavigatorButtonBarLastButton_down;
 import spark.skins.mobile.assets.TabbedViewNavigatorButtonBarLastButton_up;
 import spark.skins.mobile.supportClasses.TabbedViewNavigatorTabBarTabSkinBase;
+import spark.skins.mobile120.assets.TabbedViewNavigatorButtonBarLastButton_down;
+import spark.skins.mobile120.assets.TabbedViewNavigatorButtonBarLastButton_up;
 import spark.skins.mobile320.assets.TabbedViewNavigatorButtonBarLastButton_down;
 import spark.skins.mobile320.assets.TabbedViewNavigatorButtonBarLastButton_up;
 import spark.skins.mobile480.assets.TabbedViewNavigatorButtonBarLastButton_down;
@@ -56,20 +58,34 @@ public class TabbedViewNavigatorTabBarLastTabSkin extends TabbedViewNavigatorTab
         
         switch (applicationDPI)
         {
+			case DPIClassification.DPI_640:
+			{
+				upBorderSkin = spark.skins.mobile640.assets.TabbedViewNavigatorButtonBarLastButton_up;
+				downBorderSkin = spark.skins.mobile640.assets.TabbedViewNavigatorButtonBarLastButton_down;
+				selectedBorderSkin = spark.skins.mobile640.assets.TabbedViewNavigatorButtonBarLastButton_selected;
+				break;
+			}
 			case DPIClassification.DPI_480:
 			{
-				upBorderSkin = spark.skins.mobile480.assets.TabbedViewNavigatorButtonBarFirstButton_up;
-				downBorderSkin = spark.skins.mobile480.assets.TabbedViewNavigatorButtonBarFirstButton_down;
-				selectedBorderSkin = spark.skins.mobile480.assets.TabbedViewNavigatorButtonBarFirstButton_selected;
+				upBorderSkin = spark.skins.mobile480.assets.TabbedViewNavigatorButtonBarLastButton_up;
+				downBorderSkin = spark.skins.mobile480.assets.TabbedViewNavigatorButtonBarLastButton_down;
+				selectedBorderSkin = spark.skins.mobile480.assets.TabbedViewNavigatorButtonBarLastButton_selected;
+				break;
+			}
+			case DPIClassification.DPI_320:
+			{
+				upBorderSkin = spark.skins.mobile320.assets.TabbedViewNavigatorButtonBarLastButton_up;
+				downBorderSkin = spark.skins.mobile320.assets.TabbedViewNavigatorButtonBarLastButton_down;
+				selectedBorderSkin = spark.skins.mobile320.assets.TabbedViewNavigatorButtonBarLastButton_selected;
+				break;
+			}
+			case DPIClassification.DPI_120:
+			{
+				upBorderSkin = spark.skins.mobile120.assets.TabbedViewNavigatorButtonBarLastButton_up;
+				downBorderSkin = spark.skins.mobile120.assets.TabbedViewNavigatorButtonBarLastButton_down;
+				selectedBorderSkin = spark.skins.mobile120.assets.TabbedViewNavigatorButtonBarLastButton_selected;
 				break;
 			}
-            case DPIClassification.DPI_320:
-            {
-                upBorderSkin = spark.skins.mobile320.assets.TabbedViewNavigatorButtonBarLastButton_up;
-                downBorderSkin = spark.skins.mobile320.assets.TabbedViewNavigatorButtonBarLastButton_down;
-                selectedBorderSkin = spark.skins.mobile320.assets.TabbedViewNavigatorButtonBarLastButton_selected;
-                break;
-            }
             default:
             {
                 upBorderSkin = spark.skins.mobile.assets.TabbedViewNavigatorButtonBarLastButton_up;


Mime
View raw message