vanilla-wow-addons – Rev 1
?pathlinks?
<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>
<!--.............................................................. OPTIONS ..............................................................-->
<Frame name="distance_options_frame" parent="UIParent" frameStrata="HIGH" level="BACKGROUND" enableMouse="true" resizable="false" hidden="true" movable="true">
<Size><AbsDimension x="520" y="400"/></Size>
<Backdrop 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="LEFT">
</Anchor>
</Anchors>
<!--.............................................................. HEADER ..............................................................-->
<Frames>
<Frame name="distance_options_frame_header" parent="distance_options_frame" frameStrata="HIGH" level="BACKGROUND">
<Size><AbsDimension x="510" y="30"/></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" relativeTo="distance_options_frame">
<Offset><AbsDimension x="0" y="-5"/></Offset>
</Anchor>
</Anchors>
<!--...................................... HEADER TEXT ......................................-->
<Layers>
<Layer>
<FontString inherits="GameFontNormal" text="Distance v1.3">
<Anchors>
<Anchor point="CENTER" relativeTo="distance_options_frame_header">
<Offset><AbsDimension x="0" y="0"/></Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<!--...................................... OPTION FRAME LEFT ......................................-->
<Frame name="distance_option_left" parent="distance_options_frame" frameStrata="HIGH" level="BACKGROUND">
<Size><AbsDimension x="195" y="360"/></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="LEFT" relativeTo="distance_options_frame">
<Offset><AbsDimension x="5" y="-15"/></Offset>
</Anchor>
</Anchors>
<!--...................................... lock ......................................-->
<Layers>
<Layer>
<FontString name="distance_lock_text" inherits="GameFontNormal" text="Lock position">
<Anchors>
<Anchor point="TOP" relativeTo="distance_option_left">
<Offset><AbsDimension x="0" y="-20"/></Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<!--...................................... rotate ......................................-->
<Layer>
<FontString name="distance_rotate_text" inherits="GameFontNormal" text="Horizontal">
<Anchors>
<Anchor point="TOP" relativeTo="distance_lock_text">
<Offset><AbsDimension x="0" y="-50"/> </Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<!--...................................... anchor ......................................-->
<Layer>
<FontString name="distance_anchor_text" inherits="GameFontNormal" text="Text Anchor">
<Anchors>
<Anchor point="TOP" relativeTo="distance_rotate_text">
<Offset><AbsDimension x="0" y="-50"/></Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<!--...................................... Width ......................................-->
<Layer>
<FontString name="distance_width_text" inherits="GameFontNormal" text="Width">
<Anchors>
<Anchor point="TOP" relativeTo="distance_anchor_text">
<Offset><AbsDimension x="0" y="-80"/></Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<!--...................................... height ......................................-->
<Layer>
<FontString name="distance_height_text" inherits="GameFontNormal" text="Height">
<Anchors>
<Anchor point="TOP" relativeTo="distance_width_text">
<Offset><AbsDimension x="0" y="-50"/></Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<!--...................................... alpha ......................................-->
<Layer>
<FontString name="distance_alpha_text" inherits="GameFontNormal" text="Alpha">
<Anchors>
<Anchor point="TOP" relativeTo="distance_height_text">
<Offset><AbsDimension x="0" y="-50"/></Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<!--.............................................................. CLOSE OPTIONS ..............................................................-->
<Button name="distance_options_frame_close_button" inherits="GameMenuButtonTemplate" text="Close">
<Size><AbsDimension x="50" y="20"/></Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="distance_options_frame_header">
<Offset><AbsDimension x="-5" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
distance_options_OnClick();
</OnClick>
</Scripts>
</Button>
<!--.............................................................. RESET OPTIONS ..............................................................-->
<Button name="distance_options_frame_reset_button" inherits="GameMenuButtonTemplate" text="Reset">
<Size><AbsDimension x="50" y="20"/></Size>
<Anchors>
<Anchor point="LEFT" relativeTo="distance_options_frame_header">
<Offset><AbsDimension x="5" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
distance_frame_reset_OnClick();
</OnClick>
</Scripts>
</Button>
<!--.............................................................. LOCK FRAME ..............................................................-->
<CheckButton name="distance_options_frame_lock_button" parent="distance_option_left" inherits="OptionsCheckButtonTemplate" checked="true">
<Size><AbsDimension x="30" y="30"/></Size>
<Anchors>
<Anchor point="TOP" relativeTo="distance_lock_text">
<Offset><AbsDimension x="0" y="-10"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
distance_frame_lock_OnClick();
</OnClick>
</Scripts>
</CheckButton>
<!--.............................................................. ROTATE FRAME ..............................................................-->
<CheckButton name="distance_options_frame_rotate_button" parent="distance_option_left" inherits="OptionsCheckButtonTemplate" checked="false">
<Size><AbsDimension x="30" y="30"/></Size>
<Anchors>
<Anchor point="TOP" relativeTo="distance_rotate_text">
<Offset><AbsDimension x="0" y="-10"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
distance_frame_rotate_OnClick();
</OnClick>
</Scripts>
</CheckButton>
<!--.............................................................. ANCHORS ..............................................................-->
<!--...................................... BR ......................................-->
<Button name="distance_options_frame_BR_button" parent="distance_option_left" inherits="OptionsButtonTemplate" text="BR">
<Size><AbsDimension x="20" y="20"/></Size>
<Anchors>
<Anchor point="TOP" relativeTo="distance_anchor_text">
<Offset><AbsDimension x="30" y="-40"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
distance_frame_BR_OnClick();
</OnClick>
</Scripts>
</Button>
<!--...................................... TR ......................................-->
<Button name="distance_options_frame_TR_button" parent="distance_option_left" inherits="OptionsButtonTemplate" text="TR">
<Size><AbsDimension x="20" y="20"/></Size>
<Anchors>
<Anchor point="TOP" relativeTo="distance_anchor_text">
<Offset><AbsDimension x="30" y="-15"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
distance_frame_TR_OnClick();
</OnClick>
</Scripts>
</Button>
<!--...................................... BL ......................................-->
<Button name="distance_options_frame_BL_button" parent="distance_option_left" inherits="OptionsButtonTemplate" text="BL">
<Size><AbsDimension x="20" y="20"/></Size>
<Anchors>
<Anchor point="TOP" relativeTo="distance_anchor_text">
<Offset><AbsDimension x="-30" y="-40"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
distance_frame_BL_OnClick();
</OnClick>
</Scripts>
</Button>
<!--...................................... TL ......................................-->
<Button name="distance_options_frame_TL_button" parent="distance_option_left" inherits="OptionsButtonTemplate" text="TL">
<Size><AbsDimension x="20" y="20"/></Size>
<Anchors>
<Anchor point="TOP" relativeTo="distance_anchor_text">
<Offset><AbsDimension x="-30" y="-15"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
distance_frame_TL_OnClick();
</OnClick>
</Scripts>
</Button>
<!--...................................... BC ......................................-->
<Button name="distance_options_frame_BC_button" parent="distance_option_left" inherits="OptionsButtonTemplate" text="BC">
<Size><AbsDimension x="20" y="20"/></Size>
<Anchors>
<Anchor point="TOP" relativeTo="distance_anchor_text">
<Offset><AbsDimension x="0" y="-40"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
distance_frame_BC_OnClick();
</OnClick>
</Scripts>
</Button>
<!--...................................... TC ......................................-->
<Button name="distance_options_frame_TC_button" parent="distance_option_left" inherits="OptionsButtonTemplate" text="TC">
<Size><AbsDimension x="20" y="20"/></Size>
<Anchors>
<Anchor point="TOP" relativeTo="distance_anchor_text">
<Offset><AbsDimension x="0" y="-15"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
distance_frame_TC_OnClick();
</OnClick>
</Scripts>
</Button>
<!--.............................................................. SLIDERS ..............................................................-->
<!--...................................... WIDTH ......................................-->
<Slider name="distance_options_slider_width" parent="distance_option_left" inherits="OptionsSliderTemplate">
<Size><AbsDimension x="160" y="15"/></Size>
<Anchors>
<Anchor point="TOP" relativeTo="distance_width_text">
<Offset><AbsDimension x="0" y="-15"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnValueChanged>
distance_slider_width();
</OnValueChanged>
</Scripts>
</Slider>
<!--...................................... HEIGHT ......................................-->
<Slider name="distance_options_slider_height" parent="distance_option_left" inherits="OptionsSliderTemplate">
<Size><AbsDimension x="160" y="15"/></Size>
<Anchors>
<Anchor point="TOP" relativeTo="distance_height_text">
<Offset><AbsDimension x="0" y="-15"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnValueChanged>
distance_slider_height();
</OnValueChanged>
</Scripts>
</Slider>
<!--...................................... ALPHA ......................................-->
<Slider name="distance_options_slider_alpha" parent="distance_option_left" inherits="OptionsSliderTemplate">
<Size><AbsDimension x="160" y="15"/></Size>
<Anchors>
<Anchor point="TOP" relativeTo="distance_alpha_text">
<Offset><AbsDimension x="0" y="-15"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnValueChanged>
distance_slider_alpha();
</OnValueChanged>
</Scripts>
</Slider>
<!--.............................................................. OPTION FRAME RIGHT ..............................................................-->
<Frame name="distance_option_right" parent="distance_options_frame" frameStrata="HIGH" level="BACKGROUND">
<Size><AbsDimension x="315" y="360"/></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="RIGHT" relativeTo="distance_options_frame">
<Offset><AbsDimension x="-5" y="-15"/></Offset>
</Anchor>
</Anchors>
<!--...................................... background texture ......................................-->
<Layers>
<Layer>
<FontString name="distance_background_texture" inherits="GameFontNormal" text="Background texture">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="distance_option_right">
<Offset> <AbsDimension x="20" y="-20" /> </Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<Layer>
</Layer>
<!--...................................... border texture ......................................-->
<Layer>
<FontString name="distance_border_texture" inherits="GameFontNormal" text="Border texture">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="distance_background_texture">
<Offset> <AbsDimension x="0" y="-50" /> </Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<!--...................................... bar texture ......................................-->
<Layer>
<FontString name="distance_bar_height_texture" inherits="GameFontNormal" text="Bar height texture">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="distance_border_texture">
<Offset> <AbsDimension x="0" y="-50" /> </Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<!--...................................... bar texture ......................................-->
<Layer>
<FontString name="distance_bar_width_texture" inherits="GameFontNormal" text="Bar width texture">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="distance_bar_height_texture">
<Offset> <AbsDimension x="0" y="-50" /> </Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<!--...................................... text texture ......................................-->
</Layers>
</Frame>
<!--.............................................................. BACKGROUND ..............................................................-->
<!--...................................... background texture ......................................-->
<EditBox name="distance_background_texture_editbox" frameStrata="HIGH" level="ARTWORK">
<Size><AbsDimension x="140" 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="TOPLEFT" relativeTo="distance_background_texture">
<Offset><AbsDimension x="0" y="-20"/></Offset>
</Anchor>
</Anchors>
<FontString inherits="GameFontHighlightSmall"/>
<Scripts>
<OnEnterPressed>
</OnEnterPressed>
</Scripts>
</EditBox>
<!--...................................... ok ......................................-->
<Button name="distance_background_texture_ok" inherits="OptionsButtonTemplate" text="Ok">
<Size><AbsDimension x="25" y="25"/></Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="distance_background_texture_editbox">
<Offset><AbsDimension x="30" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
distance_enter_background_texture();
</OnClick>
</Scripts>
</Button>
<!--...................................... color ......................................-->
<Button name="distance_background_texture_color" inherits="OptionsButtonTemplate" text="Color">
<Size><AbsDimension x="50" y="25"/></Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="distance_background_texture_ok">
<Offset><AbsDimension x="55" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
</OnClick>
</Scripts>
</Button>
<!--...................................... default ......................................-->
<Button name="distance_background_texture_default" inherits="OptionsButtonTemplate" text="Default">
<Size><AbsDimension x="60" y="25"/></Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="distance_background_texture_color">
<Offset><AbsDimension x="65" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
</OnClick>
</Scripts>
</Button>
<!--.............................................................. BORDER ..............................................................-->
<!--...................................... border texture ......................................-->
<EditBox name="distance_border_texture_editbox" frameStrata="HIGH" level="ARTWORK">
<Size><AbsDimension x="140" 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="TOPLEFT" relativeTo="distance_border_texture">
<Offset><AbsDimension x="0" y="-20"/></Offset>
</Anchor>
</Anchors>
<FontString inherits="GameFontHighlightSmall"/>
<Scripts>
<OnEnterPressed>
</OnEnterPressed>
</Scripts>
</EditBox>
<!--...................................... ok ......................................-->
<Button name="distance_border_texture_ok" inherits="OptionsButtonTemplate" text="Ok">
<Size><AbsDimension x="25" y="25"/></Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="distance_border_texture_editbox">
<Offset><AbsDimension x="30" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
distance_enter_border_texture();
</OnClick>
</Scripts>
</Button>
<!--...................................... border color ......................................-->
<Button name="distance_border_texture_color" inherits="OptionsButtonTemplate" text="Color">
<Size><AbsDimension x="50" y="25"/></Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="distance_border_texture_ok">
<Offset><AbsDimension x="55" y="0"/></Offset>
</Anchor>
</Anchors>
</Button>
<!--...................................... border default ......................................-->
<Button name="distance_border_texture_default" inherits="OptionsButtonTemplate" text="Default">
<Size><AbsDimension x="60" y="25"/></Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="distance_border_texture_color">
<Offset><AbsDimension x="65" y="0"/></Offset>
</Anchor>
</Anchors>
</Button>
<!--.............................................................. BAR HEIGHT ..............................................................-->
<!--...................................... bar texture ......................................-->
<EditBox name="distance_bar_height_texture_editbox" frameStrata="HIGH" level="ARTWORK">
<Size><AbsDimension x="140" 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="TOPLEFT" relativeTo="distance_bar_height_texture">
<Offset><AbsDimension x="0" y="-20"/></Offset>
</Anchor>
</Anchors>
<FontString inherits="GameFontHighlightSmall"/>
<Scripts>
<OnEnterPressed>
distance_enter_bar_height_texture();
</OnEnterPressed>
</Scripts>
</EditBox>
<!--...................................... ok ......................................-->
<Button name="distance_bar_height_texture_ok" inherits="OptionsButtonTemplate" text="Ok">
<Size><AbsDimension x="25" y="25"/></Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="distance_bar_height_texture_editbox">
<Offset><AbsDimension x="30" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
distance_enter_bar_height_texture();
</OnClick>
</Scripts>
</Button>
<!--...................................... border default ......................................-->
<Button name="distance_bar_height_texture_default" inherits="OptionsButtonTemplate" text="Default">
<Size><AbsDimension x="60" y="25"/></Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="distance_bar_height_texture_ok">
<Offset><AbsDimension x="65" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
distance_default_bar_height_texture();
</OnClick>
</Scripts>
</Button>
<!--.............................................................. BAR WIDTH ..............................................................-->
<!--...................................... bar texture ......................................-->
<EditBox name="distance_bar_width_texture_editbox" frameStrata="HIGH" level="ARTWORK">
<Size><AbsDimension x="140" 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="TOPLEFT" relativeTo="distance_bar_width_texture">
<Offset><AbsDimension x="0" y="-20"/></Offset>
</Anchor>
</Anchors>
<FontString inherits="GameFontHighlightSmall"/>
<Scripts>
<OnEnterPressed>
distance_enter_bar_width_texture();
</OnEnterPressed>
</Scripts>
</EditBox>
<!--...................................... ok ......................................-->
<Button name="distance_bar_width_texture_ok" inherits="OptionsButtonTemplate" text="Ok">
<Size><AbsDimension x="25" y="25"/></Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="distance_bar_width_texture_editbox">
<Offset><AbsDimension x="30" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
distance_enter_bar_width_texture();
</OnClick>
</Scripts>
</Button>
<!--...................................... border default ......................................-->
<Button name="distance_bar_width_texture_default" inherits="OptionsButtonTemplate" text="Default">
<Size><AbsDimension x="60" y="25"/></Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="distance_bar_width_texture_ok">
<Offset><AbsDimension x="65" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
distance_default_bar_width_texture();
</OnClick>
</Scripts>
</Button>
<!--.............................................................. TEXT ..............................................................-->
<!--...................................... text texture ......................................-->
<!--.............................................................. COLOR FRAME ..............................................................-->
<!--...................................... color frame ......................................-->
<Frame name="distance_option_colors" parent="distance_option_right" frameStrata="HIGH" level="BACKGROUND">
<Size><AbsDimension x="240" y="125"/></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="BOTTOMRIGHT" relativeTo="distance_option_right">
<Offset><AbsDimension x="-5" y="5"/></Offset>
</Anchor>
</Anchors>
<!--...................................... tab1text ......................................-->
<Layers>
<Layer>
<FontString name="distance_options_color_tab1" inherits="GameFontNormal" text="Bar 1">
<Anchors>
<Anchor point="RIGHT" relativeTo="distance_option_colors">
<Offset><AbsDimension x="-245" y="50" /></Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<Layer>
<FontString name="distance_options_color_tab2" inherits="GameFontNormal" text="Bar 2">
<Anchors>
<Anchor point="RIGHT" relativeTo="distance_option_colors">
<Offset><AbsDimension x="-245" y="25" /></Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<Layer>
<FontString name="distance_options_color_tab3" inherits="GameFontNormal" text="Bar 3">
<Anchors>
<Anchor point="RIGHT" relativeTo="distance_option_colors">
<Offset><AbsDimension x="-245" y="0" /></Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<Layer>
<FontString name="distance_options_color_tab4" inherits="GameFontNormal" text="Bar 4">
<Anchors>
<Anchor point="RIGHT" relativeTo="distance_option_colors">
<Offset><AbsDimension x="-245" y="-25" /></Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<Layer>
<FontString name="distance_options_color_tab5" inherits="GameFontNormal" text="BGB">
<Anchors>
<Anchor point="RIGHT" relativeTo="distance_option_colors">
<Offset><AbsDimension x="-245" y="-50" /></Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<!--...................................... red slider name ......................................-->
<Layer>
<FontString name="distance_red_slider_name" inherits="GameFontNormal" text="Red:">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="distance_option_colors">
<Offset> <AbsDimension x="10" y="-10" /> </Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<!--...................................... green slider name ......................................-->
<Layer>
<FontString name="distance_green_slider_name" inherits="GameFontNormal" text="Green:">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="distance_red_slider_name">
<Offset> <AbsDimension x="0" y="-40" /> </Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<!--...................................... blue slider name ......................................-->
<Layer>
<FontString name="distance_blue_slider_name" inherits="GameFontNormal" text="Blue:">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="distance_green_slider_name">
<Offset> <AbsDimension x="0" y="-40" /> </Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<!--.............................................................. COLOR FRAME TABS ..............................................................-->
<!--...................................... TAB1 ......................................-->
<Button name="distance_options_color_bar1" virtual="true">
<Size><AbsDimension x="50" y="20"/></Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="distance_option_colors">
<Offset><AbsDimension x="-240" y="50"/></Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<Texture name="distance_color_bar1">
</Texture>
</Layer>
</Layers>
<Scripts>
<OnClick>
distance_options_color_bar1_OnClick();
</OnClick>
</Scripts>
</Button>
<!--...................................... TAB2 ......................................-->
<Button name="distance_options_color_bar2" virtual="true">
<Size><AbsDimension x="50" y="20"/></Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="distance_option_colors">
<Offset><AbsDimension x="-240" y="25"/></Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<Texture name="distance_color_bar2">
</Texture>
</Layer>
</Layers>
<Scripts>
<OnClick>
distance_options_color_bar2_OnClick();
</OnClick>
</Scripts>
</Button>
<!--...................................... TAB3 ......................................-->
<Button name="distance_options_color_bar3" virtual="true">
<Size><AbsDimension x="50" y="20"/></Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="distance_option_colors">
<Offset><AbsDimension x="-240" y="0"/></Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<Texture name="distance_color_bar3">
</Texture>
</Layer>
</Layers>
<Scripts>
<OnClick>
distance_options_color_bar3_OnClick();
</OnClick>
</Scripts>
</Button>
<!--...................................... TAB4 ......................................-->
<Button name="distance_options_color_bar4" virtual="true">
<Size><AbsDimension x="50" y="20"/></Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="distance_option_colors">
<Offset><AbsDimension x="-240" y="-25"/></Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<Texture name="distance_color_bar4">
</Texture>
</Layer>
</Layers>
<Scripts>
<OnClick>
distance_options_color_bar4_OnClick();
</OnClick>
</Scripts>
</Button>
<!--...................................... TAB5 ......................................-->
<Button name="distance_options_color_bar5" virtual="true">
<Size><AbsDimension x="50" 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="RIGHT" relativeTo="distance_option_colors">
<Offset><AbsDimension x="-240" y="-50"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
distance_options_color_bar5_OnClick();
</OnClick>
</Scripts>
</Button>
<!--.............................................................. COLOR SLIDERS ..............................................................-->
<!--...................................... RED ......................................-->
<Slider name="distance_options_slider_red" parent="distance_option_colors" inherits="OptionsSliderTemplate">
<Size><AbsDimension x="120" y="15"/></Size>
<Anchors>
<Anchor point="LEFT" relativeTo="distance_red_slider_name">
<Offset><AbsDimension x="50" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnValueChanged>
distance_slider_red();
</OnValueChanged>
</Scripts>
</Slider>
<!--...................................... EDIT BOX RED ......................................-->
<EditBox name="distance_options_editbox_red" parent="distance_option_colors" frameStrata="HIGH" level="ARTWORK">
<Size><AbsDimension x="50" 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="TOPRIGHT" relativeTo="distance_options_slider_red">
<Offset><AbsDimension x="55" y="0"/></Offset>
</Anchor>
</Anchors>
<FontString inherits="GameFontHighlightSmall"/>
<Scripts>
<OnEnterPressed>
</OnEnterPressed>
<OnLoad>
this:SetAutoFocus(false);
</OnLoad>
</Scripts>
</EditBox>
<!--...................................... GREEN ......................................-->
<Slider name="distance_options_slider_green" parent="distance_option_colors" inherits="OptionsSliderTemplate">
<Size><AbsDimension x="120" y="15"/></Size>
<Anchors>
<Anchor point="LEFT" relativeTo="distance_green_slider_name">
<Offset><AbsDimension x="50" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnValueChanged>
distance_slider_green();
</OnValueChanged>
</Scripts>
</Slider>
<!--...................................... EDIT BOX RED ......................................-->
<EditBox name="distance_options_editbox_green" parent="distance_option_colors" frameStrata="HIGH" level="ARTWORK">
<Size><AbsDimension x="50" 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="TOPRIGHT" relativeTo="distance_options_slider_green">
<Offset><AbsDimension x="55" y="0"/></Offset>
</Anchor>
</Anchors>
<FontString inherits="GameFontHighlightSmall"/>
<Scripts>
<OnEnterPressed>
</OnEnterPressed>
<OnLoad>
this:SetAutoFocus(false);
</OnLoad>
</Scripts>
</EditBox>
<!--...................................... BLUE ......................................-->
<Slider name="distance_options_slider_blue" parent="distance_option_colors" inherits="OptionsSliderTemplate">
<Size><AbsDimension x="120" y="15"/></Size>
<Anchors>
<Anchor point="LEFT" relativeTo="distance_blue_slider_name">
<Offset><AbsDimension x="50" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnValueChanged>
distance_slider_blue();
</OnValueChanged>
</Scripts>
</Slider>
<!--...................................... EDIT BOX RED ......................................-->
<EditBox name="distance_options_editbox_blue" parent="distance_option_colors" frameStrata="HIGH" level="ARTWORK">
<Size><AbsDimension x="50" 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="TOPRIGHT" relativeTo="distance_options_slider_blue">
<Offset><AbsDimension x="55" y="0"/></Offset>
</Anchor>
</Anchors>
<FontString inherits="GameFontHighlightSmall"/>
<Scripts>
<OnEnterPressed>
</OnEnterPressed>
<OnLoad>
this:SetAutoFocus(false);
</OnLoad>
</Scripts>
</EditBox>
</Frames>
<!--.............................................................. SCRIPT ..............................................................-->
<!--...................................... HANDLERS ......................................-->
<Scripts>
<OnLoad>
distance_textures_OnLoad();
distance_options_editbox_red:SetText("red");
distance_options_editbox_green:SetText("green");
distance_options_editbox_blue:SetText("blue");
</OnLoad>
<OnEnter>
distance_options_color_bar1:SetHighlightTexture(distance_bar_texture_w);
distance_options_color_bar2:SetHighlightTexture(distance_bar_texture_w);
distance_options_color_bar3:SetHighlightTexture(distance_bar_texture_w);
distance_options_color_bar4:SetHighlightTexture(distance_bar_texture_w);
distance_options_color_bar5:SetHighlightTexture(distance_bar_texture_w);
</OnEnter>
<OnEvent>
distance_Load_OnEvent();
</OnEvent>
<!--...................................... DRAGABLE ......................................-->
<OnMouseUp>
distance_options_OnMouseUp();
</OnMouseUp>
<OnMouseDown>
distance_options_OnMouseDown();
</OnMouseDown>
</Scripts>
</Frame>
</Ui>
Generated by GNU Enscript 1.6.5.90.