| <?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 up button of a Spark Spinner component. |
| |
| @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"> |
| |
| <fx:Metadata> |
| <![CDATA[ |
| /** |
| * @copy spark.skins.spark.ApplicationSkin#hostComponent |
| */ |
| [HostComponent("spark.components.Button")] |
| ]]> |
| </fx:Metadata> |
| |
| |
| <s:states> |
| <s:State name="up" /> |
| <s:State name="over"/> |
| <s:State name="down" /> |
| <s:State name="disabled" /> |
| </s:states> |
| |
| <s:Group left="0" top="0" right="0" bottom="0"> |
| |
| <!-- border/fill --> |
| <s:Rect id="fill" left="0" top="0" right="0" bottom="0" width="18" height="16" topRightRadiusX="2"> |
| <s:stroke> |
| <s:SolidColorStroke color="0x686868" weight="1"/> |
| </s:stroke> |
| <s:fill> |
| <s:LinearGradient rotation="90"> |
| <s:GradientEntry color="0xFFFFFF" |
| color.over="0xC2C2C2" |
| color.down="0xAEB0B1" /> |
| <s:GradientEntry color="0xF0F0F0" |
| color.over="0xADAEAF" |
| color.down="0xA1A3A5" /> |
| </s:LinearGradient> |
| </s:fill> |
| </s:Rect> |
| |
| <!-- highlight --> |
| <s:Rect id="highlight" left="1" top="1" right="1" bottom="1" topRightRadiusX="2"> |
| <s:stroke> |
| <s:LinearGradientStroke rotation="90" weight="1"> |
| <s:GradientEntry color="0xFFFFFF" |
| color.down="0x000000" |
| alpha.over="0.55" |
| alpha.down="0.15" /> |
| <s:GradientEntry color="0xFFFFFF" |
| color.down="0x000000" |
| alpha="0.45" |
| alpha.over="0.2475" |
| alpha.down="0" /> |
| </s:LinearGradientStroke> |
| </s:stroke> |
| </s:Rect> |
| |
| <!-- shadow --> |
| <s:Rect left="1" top="2" right="1" height="1" includeIn="down"> |
| <s:fill> |
| <s:SolidColor color="0x000000" alpha="0.07" /> |
| </s:fill> |
| </s:Rect> |
| </s:Group> |
| |
| <!-- arrow --> |
| <!--- Defines the appearance of the up arrow. --> |
| <s:Path horizontalCenter="0" verticalCenter="0" id="arrow" |
| data="M 3.0 0.0 L 3.0 1.0 L 4.0 1.0 L 4.0 2.0 L 5.0 2.0 L 5.0 3.0 L 0.0 3.0 L 0.0 2.0 L 1.0 2.0 L 1.0 1.0 L 2.0 1.0 L 2.0 0.0 L 3.0 0.0"> |
| <s:fill> |
| <!--- Defines the up arrow's fill. The default color is 0x000000. The default alpha is .8. --> |
| <s:SolidColor id="arrowFill" color="0" alpha="0.8" /> |
| </s:fill> |
| </s:Path> |
| |
| </s:SparkSkin> |