blob: 81aca9c76cb3f95299ae246d35ce35239927a0e2 [file]
<?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 wireframe skin class for the MX RadioButton component.
@see mx.controls.RadioButton
@langversion 3.0
@playerversion Flash 10
@playerversion AIR 1.5
@productversion Flex 4
-->
<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
alpha.disabledStates="0.5">
<!-- have to use disabledAlpha style rather than alpha.disabled as in most of our skins
because the enabled property gets pushed down in here from the Halo button, and since
the skin is a Group, it handles setting of alpha when disabled via the disabledAlpha style -->
<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="selectedUp" stateGroups="selectedStates" />
<s:State name="selectedOver" stateGroups="overStates, selectedStates" />
<s:State name="selectedDown" stateGroups="downStates, selectedStates" />
<s:State name="selectedDisabled" stateGroups="disabledStates, selectedStates" />
</s:states>
<s:Group width="13" height="13">
<!-- background -->
<s:Ellipse left="0" top="0" right="0" bottom="0">
<s:stroke>
<s:SolidColorStroke color="#707070" color.disabled="#BABABA" />
</s:stroke>
<s:fill>
<s:SolidColor color="#FFFFFF" color.overStates="#EEEEEE"
color.downStates="#EEEEEE" />
</s:fill>
</s:Ellipse>
<!-- shadow (down states only) -->
<s:Ellipse left="1.0" top="0.5" right="1" bottom="0.5" includeIn="downStates">
<s:stroke>
<s:LinearGradientStroke rotation="90">
<s:GradientEntry color="#5C5C5C" alpha="0.25" />
<s:GradientEntry color="#5C5C5C" alpha="0" />
</s:LinearGradientStroke>
</s:stroke>
</s:Ellipse>
<!-- dot -->
<!--- @private -->
<s:Ellipse verticalCenter="0" horizontalCenter="0" width="5" height="5"
includeIn="selectedStates" id="dot" itemCreationPolicy="immediate">
<s:fill>
<!--- @private -->
<s:SolidColor id="dotFill" color="#5C5C5C" />
</s:fill>
</s:Ellipse>
</s:Group>
</s:Skin>