vanilla-wow-addons – Rev 1

Subversion Repositories:
Rev:
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"   xsi:schemaLocation="http://www.blizzard.com/wow/ui/"> 

<script file="distance.lua"></script>
<script file="distance_options.lua"></script>
<script file="localization.lua"></script>
<script file="localization.de.lua"></script>
<script file="localization.kr.lua"></script>
<script file="localization.fr.lua"></script>
<script file="localization.cn.lua"></script>
<script file="localization.tw.lua"></script>

<!--#############################################################################################-->    
<!--BACKGROUND-->
 <Frame name="distance_frame" parent="UIParent" frameStrata="BACKGROUND" level="BACKGROUND" enableMouse="true" resizable="false" hidden="true" movable="false">
                <Size><AbsDimension x="14" y="171"/></Size>
                        <Backdrop bgFile="\\Interface\\AddOns\\Distance\\texture\\Background" edgeFile="\\Interface\\AddOns\\Distance\\texture\\Border">
                                <EdgeSize><AbsValue val="10"/></EdgeSize>       
                                        <BackgroundInsets><AbsInset left="3" right="2" top="2" bottom="2"/></BackgroundInsets>
                        </Backdrop>
                                <Anchors>
                                        <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT">
                                        </Anchor>
                                </Anchors>
                
<!--#############################################################################################-->    
<!--RANGE WHITE-->
        <Frames>
                <Frame name="distance_range1" parent="distance_frame" frameStrata="BACKGROUND" level="BACKGROUND">
                        <Size><AbsDimension x="7" y="64"/></Size>
                                <Anchors>
                                        <Anchor point="BOTTOM" relativePoint="BOTTOM">
                                                <Offset><AbsDimension x="0" y="2"/></Offset>
                                        </Anchor>
                                </Anchors>
                                        <Layers>
                                                <Layer> 
                                                        <Texture name="distance_range_color1"> <!-- File="\\Interface\\AddOns\\Distance\\texture\\bar_h_W.tga"-->
                                                        </Texture>
                                                </Layer>
                                        </Layers>
                </Frame>
                
<!--#############################################################################################-->    

<!--RANGE YELLOW-->                     
                <Frame name="distance_range2" parent="distance_frame" frameStrata="LOW" level="BACKGROUND">
                        <Size><AbsDimension x="7" y="32"/></Size>
                                <Anchors>
                                        <Anchor point="BOTTOM" relativePoint="BOTTOM">
                                                <Offset><AbsDimension x="0" y="2"/></Offset>
                                        </Anchor>
                                </Anchors>
                                        <Layers>
                                                <Layer> 
                                                        <Texture name="distance_range_color2"> <!-- File="\\Interface\\AddOns\\Distance\\texture\\bar_h_Y.tga"-->
                                                        </Texture>
                                                </Layer>
                                        </Layers>
                </Frame>
                
<!--#############################################################################################-->    
                
<!--RANGE GREEN-->
                <Frame name="distance_range4" parent="distance_frame" frameStrata="LOW" level="BACKGROUND">
                        <Size><AbsDimension x="7" y="32"/></Size>
                                <Anchors>
                                        <Anchor point="BOTTOM" relativePoint="BOTTOM">
                                                <Offset><AbsDimension x="0" y="2"/></Offset>
                                        </Anchor>
                                </Anchors>
                                        <Layers>
                                                <Layer> 
                                                        <Texture name="distance_range_color4"> <!-- File="\\Interface\\AddOns\\Distance\\texture\\bar_h_G.tga"-->
                                                        </Texture>
                                                </Layer>
                                        </Layers>
                </Frame>        
                
<!--#############################################################################################-->    

<!--RANGE RED-->
                <Frame name="distance_range3" parent="distance_frame" frameStrata="MEDIUM" level="BACKGROUND">
                        <Size><AbsDimension x="7" y="16"/></Size>
                                <Anchors>
                                        <Anchor point="BOTTOM" relativePoint="BOTTOM">
                                                <Offset><AbsDimension x="0" y="2"/></Offset>
                                        </Anchor>
                                </Anchors>
                                        <Layers>
                                                <Layer> 
                                                        <Texture name="distance_range_color3"> <!--File="\\Interface\\AddOns\\Distance\\texture\\bar_h_R.tga"-->
                                                        </Texture>
                                                </Layer>
                                        </Layers>
                </Frame>
                
<!--#############################################################################################-->
        
<!--RANGE ENEMY-->
                <Frame name="distance_text" parent="distance_range2" frameStrata="MEDIUM" level="ARTWORK">
                        <size><AbsDimension x="30" y="20"/></size>
                                <Backdrop bgFile="\\Interface\\AddOns\\Distance\\texture\\Background" edgeFile="\\Interface\\AddOns\\Distance\\texture\\Border" tile="true">
                                        <EdgeSize><AbsValue val="10"/></EdgeSize>                               
                                        <BackgroundInsets><AbsInset left="3" right="3" top="2" bottom="3"/></BackgroundInsets>
                                </Backdrop>
                                        <Anchors>
                                                <Anchor point="TOP" relativePoint="CENTER">
                                                        <Offset><AbsDimension x="9" y="4"/></Offset>
                                                </Anchor>
                                        </Anchors>
                                <Layers>
                                        <Layer>
                                                <FontString name="distance_number" inherits="GameFontNormal" text="99">
                                                        <Anchors>
                                                                <Anchor point="CENTER"  relativePoint="RIGHT">
                                                                <Offset><AbsDimension x="-14" y="1"/> 
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </FontString>
                                </Layer>
                        </Layers>
                </Frame>
<!--#############################################################################################-->            
<!--RANGE FRIEND-->
                                <Frame name="distance_text1" parent="distance_range4" frameStrata="MEDIUM" level="ARTWORK">
                        <size><AbsDimension x="30" y="20"/></size>
                                <Backdrop bgFile="\\Interface\\AddOns\\Distance\\texture\\Background" edgeFile="\\Interface\\AddOns\\Distance\\texture\\Border">
                                        <EdgeSize><AbsValue val="10"/></EdgeSize>                               
                                        <BackgroundInsets><AbsInset left="3" right="2" top="2" bottom="2"/></BackgroundInsets>
                                </Backdrop>
                                        <Anchors>
                                                <Anchor point="TOP" relativePoint="CENTER">
                                                        <Offset><AbsDimension x="9" y="4"/></Offset>
                                                </Anchor>
                                        </Anchors>
                                <Layers>
                                        <Layer>
                                                <FontString name="distance_number1" inherits="GameFontNormal" text="99">
                                                        <Anchors>
                                                                <Anchor point="CENTER"  relativePoint="RIGHT">
                                                                <Offset><AbsDimension x="-14" y="0"/> 
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </FontString>
                                </Layer>
                        </Layers>
                </Frame>
        </Frames>

<!--#############################################################################################-->



<!--HANDLERS-->
<Scripts>
<OnLoad>
distance_OnLoad();
</OnLoad>

<OnEvent>
distance_Load_OnEvent();
distance_Change_OnEvent();
</OnEvent>

<OnUpdate>
distance_range1_OnUpdate(arg1);
distance_range2_OnUpdate(arg1);
distance_range3_OnUpdate(arg1);
distance_range4_OnUpdate(arg1);
</OnUpdate>

<!--#############################################################################################-->

<!--DRAGABLE-->

<OnMouseUp>
distance_OnMouseUp();
</OnMouseUp>

<OnMouseDown>
distance_OnMouseDown();
</OnMouseDown>

</Scripts>
</Frame>
        
</Ui>
                

Generated by GNU Enscript 1.6.5.90.