You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2015/06/15 08:30:50 UTC
[16/48] git commit: [flex-utilities] [refs/heads/develop] - move
installer into flex-installer
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/installer/src/ws/tink/spark/skins/controls/ColorCheckBoxSkin.mxml
----------------------------------------------------------------------
diff --git a/installer/src/ws/tink/spark/skins/controls/ColorCheckBoxSkin.mxml b/installer/src/ws/tink/spark/skins/controls/ColorCheckBoxSkin.mxml
deleted file mode 100644
index b8f9e35..0000000
--- a/installer/src/ws/tink/spark/skins/controls/ColorCheckBoxSkin.mxml
+++ /dev/null
@@ -1,181 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-
-<!--- The default skin class for the Spark CheckBox component.
-
- @see spark.components.CheckBox
-
- @langversion 3.0
- @playerversion Flash 10
- @playerversion AIR 1.5
- @productversion Flex 4
--->
-<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
- xmlns:fb="http://ns.adobe.com/flashbuilder/2009" alpha.disabledStates="0.5">
-
- <fx:Metadata>
- <![CDATA[
- /**
- * @copy spark.skins.spark.ApplicationSkin#hostComponent
- */
- [HostComponent("spark.components.CheckBox")]
- ]]>
- </fx:Metadata>
-
- <fx:Script>
- <![CDATA[
- /**
- * @private
- */
- private static const focusExclusions:Array = ["labelDisplay"];
-
- /**
- * @private
- */
- override public function get focusSkinExclusions():Array { return focusExclusions;};
- ]]>
- </fx:Script>
-
- <s:states>
- <s:State name="up" />
- <s:State name="over" stateGroups="overStates" />
- <s:State name="down" stateGroups="downStates" />
- <s:State name="disabled" stateGroups="disabledStates" />
- <s:State name="upAndSelected" stateGroups="selectedStates" />
- <s:State name="overAndSelected" stateGroups="overStates, selectedStates" />
- <s:State name="downAndSelected" stateGroups="downStates, selectedStates" />
- <s:State name="disabledAndSelected" stateGroups="disabledStates, selectedStates" />
- </s:states>
-
- <s:Group verticalCenter="0" width="13" height="13" layoutDirection="ltr">
- <!-- drop shadow -->
- <s:Rect left="-1" top="-1" right="-1" bottom="-1">
- <s:stroke>
- <s:LinearGradientStroke rotation="90" weight="1">
- <s:GradientEntry color="0x000000"
- color.downStates="0xFFFFFF"
- alpha="0.011"
- alpha.downStates="0" />
- <s:GradientEntry color="0x000000"
- color.downStates="0xFFFFFF"
- alpha="0.121"
- alpha.downStates="0.57" />
- </s:LinearGradientStroke>
- </s:stroke>
- </s:Rect>
-
- <!-- fill -->
- <s:Rect left="1" top="1" right="1" bottom="1">
- <s:fill>
- <s:LinearGradient rotation="90">
- <s:GradientEntry color="0xFFFFFF"
- color.overStates="0xBBBDBD"
- color.downStates="0xAAAAAA"
- alpha="0.85" />
- <s:GradientEntry color="0xD8D8D8"
- color.overStates="0x9FA0A1"
- color.downStates="0x929496"
- alpha="0.85" />
- </s:LinearGradient>
- </s:fill>
- </s:Rect>
-
- <!-- fill highlight -->
- <s:Rect left="1" right="1" top="1" height="5">
- <s:fill>
- <s:SolidColor color="0xFFFFFF" alpha="0.33" alpha.downStates="0" />
- </s:fill>
- </s:Rect>
-
- <!-- layer 6: highlight stroke (all states except down) -->
- <s:Rect left="1" right="1" top="1" bottom="1" excludeFrom="downStates">
- <s:stroke>
- <s:LinearGradientStroke rotation="90" weight="1">
- <s:GradientEntry color="0xFFFFFF" alpha.overStates="0.33" />
- <s:GradientEntry color="0xFFFFFF" alpha="0.12" alpha.overStates="0.0396" />
- </s:LinearGradientStroke>
- </s:stroke>
- </s:Rect>
-
- <!-- layer 6: highlight stroke (down state only) -->
- <s:Rect left="1" top="1" bottom="1" width="1" includeIn="downStates">
- <s:fill>
- <s:SolidColor color="0x000000" alpha="0.07" />
- </s:fill>
- </s:Rect>
- <s:Rect right="1" top="1" bottom="1" width="1" includeIn="downStates">
- <s:fill>
- <s:SolidColor color="0x000000" alpha="0.07" />
- </s:fill>
- </s:Rect>
- <s:Rect left="1" top="1" right="1" height="1" includeIn="downStates">
- <s:fill>
- <s:SolidColor color="0x000000" alpha="0.25" />
- </s:fill>
- </s:Rect>
- <s:Rect left="1" top="2" right="1" height="1" includeIn="downStates">
- <s:fill>
- <s:SolidColor color="0x000000" alpha="0.09" />
- </s:fill>
- </s:Rect>
-
- <!-- border - put on top of the fill so it doesn't disappear when scale is less than 1 -->
- <s:Rect left="0" top="0" right="0" bottom="0">
- <s:stroke>
- <s:LinearGradientStroke rotation="90" weight="1">
- <s:GradientEntry color="0x000000"
- alpha="0.5625"
- alpha.downStates="0.6375" />
- <s:GradientEntry color="0x000000"
- alpha="0.75"
- alpha.downStates="0.85" />
- </s:LinearGradientStroke>
- </s:stroke>
- </s:Rect>
-
- <!-- checkmark -->
- <!--- Shows green color when selected, red when unselected -->
- <s:Path left="2" top="0" includeIn="selectedStates" id="check" itemCreationPolicy="immediate"
- data="M 9.2 0.1 L 4.05 6.55 L 3.15 5.0 L 0.05 5.0 L 4.6 9.7 L 12.05 0.1 L 9.2 0.1">
- <s:fill>
- <!---
- @private
- The solid color fill for the CheckBox's checkmark. The default alpha is .9, and the default fill color is 0x000000.
- -->
- <s:SolidColor id="checkMarkFill" color="0" alpha="0.8" />
- </s:fill>
- </s:Path>
- <s:Rect left="2" top="0"
- width="100%" height="100%">
- <s:fill>
- <s:SolidColor id="checkMarkOverlay" color="{hostComponent.selected?0x00FF00:0xFF0000}" alpha="0.5" />
- </s:fill>
- </s:Rect>
- </s:Group>
-
- <!-- Label -->
- <!--- @copy spark.components.supportClasses.ButtonBase#labelDisplay -->
- <s:Label id="labelDisplay"
- textAlign="start"
- verticalAlign="middle"
- maxDisplayedLines="1"
- left="18" right="0" top="3" bottom="3" verticalCenter="2" />
-
-</s:SparkSkin>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/installer/src/ws/tink/spark/skins/controls/InstallApacheFlexSkin.mxml
----------------------------------------------------------------------
diff --git a/installer/src/ws/tink/spark/skins/controls/InstallApacheFlexSkin.mxml b/installer/src/ws/tink/spark/skins/controls/InstallApacheFlexSkin.mxml
deleted file mode 100644
index c6211be..0000000
--- a/installer/src/ws/tink/spark/skins/controls/InstallApacheFlexSkin.mxml
+++ /dev/null
@@ -1,131 +0,0 @@
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<!--- A skin class for the Spark WindowedApplication and Window containers.
- This class defines just a border and status bar, but no gripper button,
- title bar, or title bar buttons.
-
- <p>You can either use system chrome, the FlexChromSkin class, or
- the WindowedApplicationSkin class to define the appearance of
- the WindowedApplication and Window containers.
- To use the WindowedApplicationSkin class with the WindowedApplication container,
- set <code>systemChrome</code> to "none"
- in the application's .xml file, and set the <code>skinClass</code> style to
- spark.skins.spark.WindowedApplicationSkin.
- To use the WindowedApplicationSkin class with the Window container,
- set the <code>Window.systemChrome</code> property to "none",
- and set the <code>skinClass</code> style to
- spark.skins.spark.WindowedApplicationSkin.</p>
-
- @see spark.components.WindowedApplication
-
- @langversion 3.0
- @playerversion Flash 10
- @playerversion AIR 1.5
- @productversion Flex 4
-
--->
-<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
- xmlns:fb="http://ns.adobe.com/flashbuilder/2009" alpha.disabledGroup="0.5" >
- <fx:Metadata>[HostComponent("spark.components.WindowedApplication")]</fx:Metadata>
-
- <fx:Script fb:purpose="styling">
- /* Define the skin elements that should not be colorized.
- * For WindowedApplication, border and status bar background are colorized,
- * but the content area and status text are not.
- * Exclude the titleBar and scroller because they are SparkSkins and we
- * don't want to colorize them twice.
- *
- * @langversion 3.0
- * @playerversion Flash 10
- * @playerversion AIR 1.5
- * @productversion Flex 4
- */
- static private const exclusions:Array = ["backgroundRect", "contentGroup", "statusText"];
-
- /**
- * @private
- */
- override public function get colorizeExclusions():Array {return exclusions;}
-
- /**
- * @private
- */
- override protected function initializationComplete():void
- {
- useChromeColor = true;
- super.initializationComplete();
- }
-
- </fx:Script>
-
- <s:states>
- <s:State name="normal" />
- <s:State name="disabled" stateGroups="disabledGroup" />
- <s:State name="normalAndInactive" stateGroups="inactiveGroup" />
- <s:State name="disabledAndInactive" stateGroups="disabledGroup, inactiveGroup" />
- </s:states>
-
- <!-- layer 1: background fill -->
- <s:BitmapImage source="@Embed('/assets/icons/bg_logo.png')" top="0" left="0" scaleMode="letterbox" />
- <s:BitmapImage source="@Embed('/assets/icons/bg_logo.png')" top="25" left="0" scaleMode="letterbox" />
- <s:BitmapImage id="textIcon" source="@Embed('/assets/icons/apache_flex_logo_text.png')" scaleX=".3" scaleY=".3" smooth="true" horizontalCenter="0" top="5" />
-
- <!-- layer 2: content + status bar -->
- <s:Group left="0" right="0" top="0" bottom="0" minHeight="24" minWidth="0" >
- <s:layout>
- <s:VerticalLayout gap="0"/>
- </s:layout>
-
- <!-- content -->
- <!--- @copy spark.components.SkinnableContainer#contentGroup -->
- <s:Group id="contentGroup" width="100%" height="100%" minHeight="0" minWidth="0"/>
-
- <!-- status bar -->
- <!--- @copy spark.components.WindowedApplication#statusBar -->
- <s:Group id="statusBar" width="100%" minHeight="24" >
-
- <!-- status bar fill -->
- <s:Rect left="0" right="0" top="0" bottom="0">
- <s:fill>
- <s:LinearGradient rotation="90">
- <s:GradientEntry color="0xE2E2E2" />
- <s:GradientEntry color="0xD9D9D9" />
- </s:LinearGradient>
- </s:fill>
- </s:Rect>
-
- <!-- status bar highlight -->
- <s:Rect left="1" right="1" top="1" bottom="0" >
- <s:stroke>
- <s:LinearGradientStroke rotation="90" weight="1">
- <s:GradientEntry color="0xEAEAEA" />
- <s:GradientEntry color="0xBEBEBE" />
- </s:LinearGradientStroke>
- </s:stroke>
- </s:Rect>
-
- <!-- status text -->
- <!--- @copy spark.components.WindowedApplication#statusText -->
- <s:Label id="statusText" top="2" bottom="2" left="10" right="10" verticalAlign="middle"
- fontSize="10" color="0x585858" width="100%" maxDisplayedLines="1" />
-
- </s:Group>
- </s:Group>
-
-</s:SparkSkin>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/installer/src/ws/tink/spark/skins/controls/ProgressBarSkin.mxml
----------------------------------------------------------------------
diff --git a/installer/src/ws/tink/spark/skins/controls/ProgressBarSkin.mxml b/installer/src/ws/tink/spark/skins/controls/ProgressBarSkin.mxml
deleted file mode 100644
index b1acb05..0000000
--- a/installer/src/ws/tink/spark/skins/controls/ProgressBarSkin.mxml
+++ /dev/null
@@ -1,106 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:s="library://ns.adobe.com/flex/spark"
- xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:local="*" xmlns:controls="ws.tink.spark.controls.*">
- <!-- host component -->
- <fx:Metadata>
- [HostComponent("ws.tink.spark.controls.ProgressBar")]
- </fx:Metadata>
-
- <fx:Script>
- <![CDATA[
-
- override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
- {
- barColor.color = getStyle( "chromeColor" );
-
- border.radiusX = border.radiusY = unscaledHeight / 2;
- fill.radiusX = fill.radiusY = ( unscaledHeight - 2 ) / 2;
- barFill.radiusX = barFill.radiusY = ( unscaledHeight - 4 ) / 2;
- barHighlight.radiusX = barHighlight.radiusY = ( unscaledHeight - 4 ) / 2;
-
- bar.minWidth = unscaledHeight-4;
-
- super.updateDisplayList( unscaledWidth, unscaledHeight );
- }
- ]]>
- </fx:Script>
-
- <!-- SkinParts
- name=percentLayout, type=PercentLayout, required=true
- -->
-
- <s:layout>
- <controls:PercentLayout id="percentLayout" resizeItems="{[bar]}"/>
- </s:layout>
-
-
-
- <s:Group width="100%" height="100%">
-
- <s:filters>
- <s:DropShadowFilter blurX="4" blurY="4" inner="true" distance="1" angle="124" color="0x7b7b7b" alpha="0.4"/>
- </s:filters>
-
- <!-- border -->
- <!--- @private -->
- <s:Rect id="border" left="0" right="0" top="0" bottom="0">
- <s:fill>
- <s:LinearGradient rotation="90">
- <s:GradientEntry color="0xBFBFBF"/>
- <s:GradientEntry color="0xFFFFFF"/>
- </s:LinearGradient>
- </s:fill>
- </s:Rect>
-
- <!-- fill -->
- <!--- @private -->
- <s:Rect id="fill" left="1" right="1" top="1" bottom="1">
- <s:fill>
- <s:SolidColor color="0xFFFFFF"/>
- </s:fill>
- </s:Rect>
-
- </s:Group>
-
- <s:Group id="bar" left="2" right="2" top="2" bottom="2">
-
- <s:filters>
- <s:DropShadowFilter blurX="0" blurY="0" inner="true" distance="1" angle="90" color="0xffffff" alpha="0.2"/>
- </s:filters>
-
- <s:Rect id="barFill" width="100%" height="100%">
- <s:fill>
- <s:SolidColor id="barColor"/>
- </s:fill>
- </s:Rect>
-
- <s:Rect id="barHighlight" width="100%" height="100%">
- <s:fill>
- <s:LinearGradient rotation="90">
- <s:GradientEntry alpha="0.5" color="0xFFFFFF"/>
- <s:GradientEntry alpha="0" color="0xFFFFFF"/>
- </s:LinearGradient>
- </s:fill>
- </s:Rect>
-
- </s:Group>
-</s:Skin>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/installer/src/ws/tink/spark/skins/controls/RotatorSkin.mxml
----------------------------------------------------------------------
diff --git a/installer/src/ws/tink/spark/skins/controls/RotatorSkin.mxml b/installer/src/ws/tink/spark/skins/controls/RotatorSkin.mxml
deleted file mode 100644
index b2aa92c..0000000
--- a/installer/src/ws/tink/spark/skins/controls/RotatorSkin.mxml
+++ /dev/null
@@ -1,46 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:s="library://ns.adobe.com/flex/spark"
- xmlns:mx="library://ns.adobe.com/flex/mx">
-
- <!-- host component -->
- <fx:Metadata>
- <![CDATA[
- /**
- * @copy spark.skins.spark.ApplicationSkin#hostComponent
- */
- [HostComponent("ws.tink.spark.controls.Rotator")]
- ]]>
- </fx:Metadata>
-
- <s:Ellipse width="100%" height="100%">
- <s:fill>
- <s:SolidColor color="0xff0000"/>
- </s:fill>
- </s:Ellipse>
-
- <s:Line horizontalCenter="0" height="100%">
- <s:stroke>
- <s:SolidColorStroke caps="none" color="0x000000" weight="3"/>
- </s:stroke>
- </s:Line>
-
-</s:Skin>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/installer/src/ws/tink/spark/skins/controls/StepActivityIndicatorSkin.mxml
----------------------------------------------------------------------
diff --git a/installer/src/ws/tink/spark/skins/controls/StepActivityIndicatorSkin.mxml b/installer/src/ws/tink/spark/skins/controls/StepActivityIndicatorSkin.mxml
deleted file mode 100644
index 987e8f4..0000000
--- a/installer/src/ws/tink/spark/skins/controls/StepActivityIndicatorSkin.mxml
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:s="library://ns.adobe.com/flex/spark"
- xmlns:mx="library://ns.adobe.com/flex/mx"
- xmlns:controls="ws.tink.spark.controls.*">
-
- <!-- host component -->
- <fx:Metadata>
- <![CDATA[
- /**
- * @copy spark.skins.spark.ApplicationSkin#hostComponent
- */
- [HostComponent("ws.tink.spark.controls.ActivityIndicator")]
- ]]>
- </fx:Metadata>
-
- <!--- @copy ws.tink.spark.controls.ActivityIndicator#indicator -->
- <controls:Rotator id="indicator" height="100%" width="100%" delta="35"/>
-
-</s:Skin>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/installer/src/ws/tink/spark/skins/controls/StepRotatorSkin.mxml
----------------------------------------------------------------------
diff --git a/installer/src/ws/tink/spark/skins/controls/StepRotatorSkin.mxml b/installer/src/ws/tink/spark/skins/controls/StepRotatorSkin.mxml
deleted file mode 100644
index 036bb24..0000000
--- a/installer/src/ws/tink/spark/skins/controls/StepRotatorSkin.mxml
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:s="library://ns.adobe.com/flex/spark"
- xmlns:mx="library://ns.adobe.com/flex/mx"
- xmlns:layouts="ws.tink.spark.layouts.*">
-
- <!-- host component -->
- <fx:Metadata>
- <![CDATA[
- /**
- * @copy spark.skins.spark.ApplicationSkin#hostComponent
- */
- [HostComponent("ws.tink.spark.controls.Rotator")]
- ]]>
- </fx:Metadata>
-
- <s:DataGroup width="100%" height="100%">
- <s:layout>
- <layouts:EllipseLayout />
- </s:layout>
- <s:dataProvider>
- <s:ArrayList>
- <fx:Object/>
- <fx:Object/>
- <fx:Object/>
- <fx:Object/>
- <fx:Object/>
- <fx:Object/>
- <fx:Object/>
- <fx:Object/>
- </s:ArrayList>
- </s:dataProvider>
- <s:itemRenderer>
- <fx:Component>
- <s:ItemRenderer width="3" height="3">
- <s:Ellipse width="100%" height="100%">
- <s:fill>
- <s:SolidColor alpha="{((1/7)*itemIndex)}"/>
- </s:fill>
- </s:Ellipse>
- </s:ItemRenderer>
- </fx:Component>
- </s:itemRenderer>
- </s:DataGroup>
-
-</s:Skin>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/installer/src/ws/tink/spark/skins/controls/TextInputSkin.mxml
----------------------------------------------------------------------
diff --git a/installer/src/ws/tink/spark/skins/controls/TextInputSkin.mxml b/installer/src/ws/tink/spark/skins/controls/TextInputSkin.mxml
deleted file mode 100644
index b748a9b..0000000
--- a/installer/src/ws/tink/spark/skins/controls/TextInputSkin.mxml
+++ /dev/null
@@ -1,224 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
- xmlns:fb="http://ns.adobe.com/flashbuilder/2009"
- alpha.disabledStates="0.5" blendMode="normal">
-
- <fx:Metadata>
- <![CDATA[
- /**
- * @copy spark.skins.spark.ApplicationSkin#hostComponent
- */
- [HostComponent("spark.components.TextInput")]
- ]]>
- </fx:Metadata>
-
- <fx:Script fb:purpose="styling">
- <![CDATA[
- import mx.core.FlexVersion;
-
- private var paddingChanged:Boolean;
-
-
- /**
- * @private
- */
- override protected function commitProperties():void
- {
- super.commitProperties();
-
- if (paddingChanged)
- {
- updatePadding();
- paddingChanged = false;
- }
- }
-
-
- /**
- * @private
- */
- override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
- {
- if (getStyle("borderVisible") == true)
- {
- border.visible = true;
- borderGradient.visible = true;
- background.left = background.top = background.right = background.bottom = 1;
- textDisplay.left = textDisplay.top = textDisplay.right = textDisplay.bottom = 1;
- if (promptDisplay)
- {
- promptDisplay.setLayoutBoundsSize(unscaledWidth - 2, unscaledHeight - 2);
- promptDisplay.setLayoutBoundsPosition(1, 1);
- }
- }
- else
- {
- border.visible = false;
- borderGradient.visible = false;
- background.left = background.top = background.right = background.bottom = 0;
- textDisplay.left = textDisplay.top = textDisplay.right = textDisplay.bottom = 0;
- if (promptDisplay)
- {
- promptDisplay.setLayoutBoundsSize(unscaledWidth, unscaledHeight);
- promptDisplay.setLayoutBoundsPosition(0, 0);
- }
- }
-
- borderStroke.color = getStyle("borderColor");
- borderStroke.alpha = getStyle("borderAlpha");
-
- super.updateDisplayList(unscaledWidth, unscaledHeight);
- }
-
- /**
- * @private
- */
- private function updatePadding():void
- {
- if (!textDisplay)
- return;
-
- // Push padding styles into the textDisplay
- var padding:Number;
-
- padding = getStyle("paddingLeft");
- if (textDisplay.getStyle("paddingLeft") != padding)
- textDisplay.setStyle("paddingLeft", padding);
-
- padding = getStyle("paddingTop");
- if (textDisplay.getStyle("paddingTop") != padding)
- textDisplay.setStyle("paddingTop", padding);
-
- padding = getStyle("paddingRight");
- if (textDisplay.getStyle("paddingRight") != padding)
- textDisplay.setStyle("paddingRight", padding);
-
- padding = getStyle("paddingBottom");
- if (textDisplay.getStyle("paddingBottom") != padding)
- textDisplay.setStyle("paddingBottom", padding);
-
- if (!promptDisplay)
- return;
-
- padding = getStyle("paddingLeft");
- if (promptDisplay.getStyle("paddingLeft") != padding)
- promptDisplay.setStyle("paddingLeft", padding);
-
- padding = getStyle("paddingTop");
- if (promptDisplay.getStyle("paddingTop") != padding)
- promptDisplay.setStyle("paddingTop", padding);
-
- padding = getStyle("paddingRight");
- if (promptDisplay.getStyle("paddingRight") != padding)
- promptDisplay.setStyle("paddingRight", padding);
-
- padding = getStyle("paddingBottom");
- if (promptDisplay.getStyle("paddingBottom") != padding)
- promptDisplay.setStyle("paddingBottom", padding);
- }
-
- /**
- * @private
- */
- override public function styleChanged(styleProp:String):void
- {
- var allStyles:Boolean = !styleProp || styleProp == "styleName";
-
- super.styleChanged(styleProp);
-
- if (allStyles || styleProp.indexOf("padding") == 0)
- {
- paddingChanged = true;
- invalidateProperties();
- }
- }
- ]]>
- </fx:Script>
-
- <fx:Script>
- <![CDATA[
- /**
- * @private
- */
- private static const focusExclusions:Array = ["textDisplay"];
-
- /**
- * @private
- */
- override public function get focusSkinExclusions():Array { return focusExclusions;};
- ]]>
- </fx:Script>
-
- <s:states>
- <s:State name="normal"/>
- <s:State name="disabled" stateGroups="disabledStates"/>
- <s:State name="normalWithPrompt"/>
- <s:State name="disabledWithPrompt" stateGroups="disabledStates"/>
- </s:states>
-
- <!-- border -->
- <!--- @private -->
- <s:Rect left="0" right="0" top="0" bottom="0" id="border"
- radiusX="2" radiusY="2">
- <s:stroke>
- <!--- @private -->
- <s:SolidColorStroke id="borderStroke" weight="1" />
- </s:stroke>
- </s:Rect>
-
- <!-- border gradient -->
- <!--- @private -->
- <s:Rect left="0" right="0" top="0" bottom="0" id="borderGradient"
- radiusX="2" radiusY="2">
- <s:fill>
- <s:LinearGradient rotation="90">
- <s:GradientEntry color="0xffffff" alpha="0"/>
- <s:GradientEntry color="0xffffff" alpha="1"/>
- </s:LinearGradient>
- </s:fill>
- </s:Rect>
-
- <!-- fill -->
- <!--- Defines the appearance of the TextInput component's background. -->
- <s:Rect id="background" left="1" right="1" top="1" bottom="1"
- radiusX="1" radiusY="1">
- <s:fill>
- <!--- @private Defines the background fill color. -->
- <s:SolidColor id="bgFill" color="0xFFFFFF" />
- </s:fill>
- </s:Rect>
-
- <!-- text -->
- <!--- @copy spark.components.supportClasses.SkinnableTextBase#textDisplay -->
- <s:RichEditableText id="textDisplay"
- verticalAlign="middle"
- widthInChars="10"
- left="1" right="1" top="1" bottom="1" />
- <!--- Defines the Label that is used for prompt text. The includeInLayout property is false so the prompt text does not affect measurement. -->
- <s:Label id="promptDisplay" maxDisplayedLines="1"
- verticalAlign="middle"
- mouseEnabled="false" mouseChildren="false"
- includeIn="normalWithPrompt,disabledWithPrompt"
- includeInLayout="false"
- fontFamily="openSansSemibold"
- />
-
-</s:Skin>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/installer/src/ws/tink/spark/skins/controls/UpdaterDialogSkin.mxml
----------------------------------------------------------------------
diff --git a/installer/src/ws/tink/spark/skins/controls/UpdaterDialogSkin.mxml b/installer/src/ws/tink/spark/skins/controls/UpdaterDialogSkin.mxml
deleted file mode 100644
index 44113b2..0000000
--- a/installer/src/ws/tink/spark/skins/controls/UpdaterDialogSkin.mxml
+++ /dev/null
@@ -1,211 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-
-
-<!--- The default skin class for a Spark TitleWindow container.
-
- @see spark.skins.spark.TitleWindowCloseButtonSkin
- @see spark.components.TitleWindow
-
- @langversion 3.0
- @playerversion Flash 10
- @playerversion AIR 1.5
- @productversion Flex 4
--->
-<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
- xmlns:fb="http://ns.adobe.com/flashbuilder/2009" blendMode="normal" mouseEnabled="false"
- minWidth="76" minHeight="76" alpha.disabled="0.5" alpha.disabledWithControlBar="0.5">
-
- <fx:Metadata>
- <![CDATA[
- /**
- * @copy spark.skins.spark.ApplicationSkin#hostComponent
- */
- [HostComponent("spark.components.TitleWindow")]
- ]]>
- </fx:Metadata>
-
- <!--
- NOTE: this skin file contains sub-parts that may continue to react to
- Style code. To remove this behavior create new copies of those skins
- and remove the styles.
- -->
- <s:states>
- <s:State name="normal" />
- <s:State name="inactive" stateGroups="inactiveGroup" />
- <s:State name="disabled" />
- <s:State name="normalWithControlBar" stateGroups="withControls" />
- <s:State name="inactiveWithControlBar" stateGroups="withControls, inactiveGroup" />
- <s:State name="disabledWithControlBar" stateGroups="withControls" />
- </s:states>
-
- <!--- drop shadow can't be hittable so it stays sibling of other graphics @private-->
- <s:RectangularDropShadow id="dropShadow" blurX="20" blurY="20" alpha="0.32"
- alpha.inactiveGroup="0.22" distance="11" distance.inactiveGroup="7"
- angle="90" color="0x000000" left="0" top="0" right="0" bottom="0"/>
-
- <!--- drop shadow can't be hittable so all other graphics go in this group -->
- <s:Group left="0" right="0" top="0" bottom="0">
-
- <!--- top group mask @private-->
- <s:Group left="1" top="1" right="1" bottom="1" id="topGroupMask">
- <!--- @private-->
- <s:Rect id="topMaskRect" left="0" top="0" right="0" bottom="0">
- <s:fill>
- <s:SolidColor alpha="0"/>
- </s:fill>
- </s:Rect>
- </s:Group>
-
- <!--- bottom group mask @private-->
- <s:Group left="1" top="1" right="1" bottom="1" id="bottomGroupMask"
- includeIn="withControls">
- <!--- @private-->
- <s:Rect id="bottomMaskRect" left="0" top="0" right="0" bottom="0">
- <s:fill>
- <s:SolidColor alpha="0"/>
- </s:fill>
- </s:Rect>
- </s:Group>
-
- <!--- layer 1: border @private -->
- <s:Rect id="border" left="0" right="0" top="0" bottom="0" >
- <s:stroke>
- <!--- Defines the TitleWindowSkin class's border stroke. The default value is 1. -->
- <s:SolidColorStroke id="borderStroke" weight="1" />
- </s:stroke>
- </s:Rect>
-
-
- <s:BitmapImage source="@Embed('/assets/icons/bg_logo.png')" width="100%" height="100%" scaleMode="stretch" />
-
- <!-- layer 3: contents -->
- <!--- Contains the vertical stack of title bar content and control bar. -->
- <s:Group left="1" right="1" top="1" bottom="1" id="contents">
- <s:layout>
- <s:VerticalLayout gap="0" horizontalAlign="justify" />
- </s:layout>
- <!--- @private -->
- <s:Group id="topGroup" mask="{topGroupMask}">
-
- <!--- layer 0: title bar fill @private -->
- <s:Rect id="tbFill" left="0" right="0" top="0" bottom="1">
- <s:fill>
- <s:LinearGradient rotation="90">
- <s:GradientEntry color="0xD2D2D2"
- color.inactiveGroup="0xEAEAEA"/>
- <s:GradientEntry color="0x9A9A9A"
- color.inactiveGroup="0xCECECE"/>
- </s:LinearGradient>
- </s:fill>
- </s:Rect>
-
- <!--- layer 1: title bar highlight @private -->
- <s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0">
- <s:stroke>
- <s:LinearGradientStroke rotation="90" weight="1">
- <s:GradientEntry color="0xE6E6E6" />
- <s:GradientEntry color="0xFFFFFF" alpha="0.22"/>
- </s:LinearGradientStroke>
- </s:stroke>
- <s:fill>
- <s:LinearGradient rotation="90">
- <s:GradientEntry color="0xFFFFFF" alpha="0.15" />
- <s:GradientEntry color="0xFFFFFF" alpha="0.15" ratio="0.44"/>
- <s:GradientEntry color="0xFFFFFF" alpha="0" ratio="0.4401"/>
- </s:LinearGradient>
- </s:fill>
- </s:Rect>
-
- <!--- layer 2: title bar divider @private -->
- <s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0">
- <s:fill>
- <s:SolidColor color="0x000000" alpha="0.75" />
- </s:fill>
- </s:Rect>
-
- <!-- layer 3: text -->
- <!--- @copy spark.components.Panel#titleDisplay -->
- <s:Label id="titleDisplay" maxDisplayedLines="1"
- left="9" right="36" top="1" bottom="0" minHeight="30"
- verticalAlign="middle" fontWeight="bold" />
-
- <!-- layer 4: moveArea -->
- <!--- @copy spark.components.TitleWindow#moveArea -->
- <s:Group id="moveArea" left="0" right="0" top="0" bottom="0" />
-
- <!--- @copy spark.components.TitleWindow#closeButton -->
- <s:Button id="closeButton" skinClass="spark.skins.spark.TitleWindowCloseButtonSkin"
- width="15" height="15" right="7" top="7" />
- </s:Group>
-
- <!--
- Note: setting the minimum size to 0 here so that changes to the host component's
- size will not be thwarted by this skin part's minimum size. This is a compromise,
- more about it here: http://bugs.adobe.com/jira/browse/SDK-21143
- -->
- <!--- @copy spark.components.SkinnableContainer#contentGroup -->
- <s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0">
- </s:Group>
-
- <!--- @private -->
- <s:Group id="bottomGroup" minWidth="0" minHeight="0"
- includeIn="withControls">
-
- <s:Group left="0" right="0" top="0" bottom="0" mask="{bottomGroupMask}">
-
- <!-- layer 0: control bar divider line -->
- <s:Rect left="0" right="0" top="0" height="1" alpha="0.22">
- <s:fill>
- <s:SolidColor color="0x000000" />
- </s:fill>
- </s:Rect>
-
- <!-- layer 1: control bar highlight -->
- <s:Rect left="0" right="0" top="1" bottom="0">
- <s:stroke>
- <s:LinearGradientStroke rotation="90" weight="1">
- <s:GradientEntry color="0xFFFFFF" />
- <s:GradientEntry color="0xD8D8D8" />
- </s:LinearGradientStroke>
- </s:stroke>
- </s:Rect>
-
- <!-- layer 2: control bar fill -->
- <s:Rect left="1" right="1" top="2" bottom="1">
- <s:fill>
- <s:LinearGradient rotation="90">
- <s:GradientEntry color="0xEDEDED"/>
- <s:GradientEntry color="0xCDCDCD"/>
- </s:LinearGradient>
- </s:fill>
- </s:Rect>
- </s:Group>
-
- <!--- @copy spark.components.Panel#controlBarGroup -->
- <s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0">
- <s:layout>
- <s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" />
- </s:layout>
- </s:Group>
- </s:Group>
- </s:Group>
- </s:Group>
-</s:SparkSkin>