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/
..\FrameXML\UI.xsd">
<Script file="Perl_Config_Target_Target.lua"/>
<Frame name="Perl_Config_Target_Target_Frame" frameStrata="DIALOG" hidden="true" enableMouse="true">
<Size>
<AbsDimension x="600" y="380"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="Perl_Config_Frame">
<Offset>
<AbsDimension x="0" y="-120"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="Perl_Config_Target_Target_Header" file="Interface\DialogFrame\UI-DialogBox-Header">
<Size>
<AbsDimension x="256" y="64"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="12"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<FontString inherits="GameFontNormal" text="Target_Target">
<Anchors>
<Anchor point="TOP" relativeTo="Perl_Config_Target_Target_Header">
<Offset>
<AbsDimension x="0" y="-14"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parent_Main_Text" inherits="GameFontNormal" text="Main">
<Anchors>
<Anchor point="LEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="20" y="-30"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parent_ToT_Text" inherits="GameFontNormal" text="Alert Mode">
<Anchors>
<Anchor point="LEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="20" y="-100"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parent_Misc_Text" inherits="GameFontNormal" text="Misc">
<Anchors>
<Anchor point="LEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="20" y="-190"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parent_Alert_Text" inherits="GameFontNormal" text="Alert Size">
<Anchors>
<Anchor point="LEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="175" y="-100"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parent_Transparency_Text" inherits="GameFontNormal" text="Transparency">
<Anchors>
<Anchor point="LEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="350" y="-30"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parent_Scaling_Text" inherits="GameFontNormal" text="Scaling">
<Anchors>
<Anchor point="LEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="20" y="-325"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<CheckButton name="$parent_CheckButton1" inherits="UICheckButtonTemplate" id="1">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Main_Text">
<Offset>
<AbsDimension x="20" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText("Enable Target of Target");
</OnLoad>
<OnClick>
Perl_Config_Target_Target_ToT_Update();
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="$parent_CheckButton2" inherits="UICheckButtonTemplate" id="2">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton1">
<Offset>
<AbsDimension x="0" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText("Enable Target of Target of Target");
</OnLoad>
<OnClick>
Perl_Config_Target_Target_ToToT_Update();
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="$parent_CheckButton7" inherits="UICheckButtonTemplate" id="7">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Misc_Text">
<Offset>
<AbsDimension x="20" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText("Audio Alert on Agro");
</OnLoad>
<OnClick>
Perl_Config_Target_Target_Sound_Update();
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="$parent_CheckButton3" inherits="UICheckButtonTemplate" id="3">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton7">
<Offset>
<AbsDimension x="0" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText("MobHealth Support");
</OnLoad>
<OnClick>
Perl_Config_Target_Target_MobHealth_Update();
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="$parent_CheckButton5" inherits="UICheckButtonTemplate" id="5">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton3">
<Offset>
<AbsDimension x="0" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText("Lock Target_Target Frames");
</OnLoad>
<OnClick>
Perl_Config_Target_Target_Lock_Update();
</OnClick>
</Scripts>
</CheckButton>
<Slider name="$parent_Slider1" inherits="OptionsSliderTemplate" minValue="1" maxValue="149" valueStep="1">
<Size>
<AbsDimension x="200" y="15"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Scaling_Text">
<Offset>
<AbsDimension x="20" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnValueChanged>
getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
Perl_Config_Target_Target_Set_Scale(getglobal(this:GetName()):GetValue());
</OnValueChanged>
</Scripts>
</Slider>
<CheckButton name="$parent_CheckButton6" inherits="UICheckButtonTemplate" id="6">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_Slider1">
<Offset>
<AbsDimension x="20" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText("Set To Current UI Scale");
</OnLoad>
<OnClick>
Perl_Config_Target_Target_Set_Scale();
</OnClick>
</Scripts>
</CheckButton>
<Slider name="$parent_Slider2" inherits="OptionsSliderTemplate" minValue="0" maxValue="100" valueStep="1">
<Size>
<AbsDimension x="200" y="15"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Transparency_Text">
<Offset>
<AbsDimension x="20" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnValueChanged>
getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
Perl_Config_Target_Target_Set_Transparency(getglobal(this:GetName()):GetValue());
</OnValueChanged>
</Scripts>
</Slider>
<CheckButton name="$parent_CheckButton8" inherits="UICheckButtonTemplate" id="8">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_ToT_Text">
<Offset>
<AbsDimension x="20" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText("DPS Mode");
</OnLoad>
<OnClick>
Perl_Config_Target_Target_Frame_CheckButton9:SetChecked(nil); <!-- We need to uncheck Button 9 -->
Perl_Config_Target_Target_Frame_CheckButton10:SetChecked(nil); <!-- We need to uncheck Button 10 -->
Perl_Config_Target_Target_Mode_Update();
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="$parent_CheckButton9" inherits="UICheckButtonTemplate" id="9">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton8" >
<Offset>
<AbsDimension x="0" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText("Tank Mode");
</OnLoad>
<OnClick>
Perl_Config_Target_Target_Frame_CheckButton8:SetChecked(nil); <!-- We need to uncheck Button 8 -->
Perl_Config_Target_Target_Frame_CheckButton10:SetChecked(nil); <!-- We need to uncheck Button 10 -->
Perl_Config_Target_Target_Mode_Update();
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="$parent_CheckButton10" inherits="UICheckButtonTemplate" id="10">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton9">
<Offset>
<AbsDimension x="0" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText("Healer Mode");
</OnLoad>
<OnClick>
Perl_Config_Target_Target_Frame_CheckButton8:SetChecked(nil); <!-- We need to uncheck Button 8 -->
Perl_Config_Target_Target_Frame_CheckButton9:SetChecked(nil); <!-- We need to uncheck Button 9 -->
Perl_Config_Target_Target_Mode_Update();
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="$parent_CheckButton11" inherits="UICheckButtonTemplate" id="11">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Alert_Text">
<Offset>
<AbsDimension x="20" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText("Small Text");
</OnLoad>
<OnClick>
Perl_Config_Target_Target_Frame_CheckButton12:SetChecked(nil); <!-- We need to uncheck Button 12 -->
Perl_Config_Target_Target_Frame_CheckButton13:SetChecked(nil); <!-- We need to uncheck Button 13 -->
Perl_Config_Target_Target_Alert_Size_Update();
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="$parent_CheckButton12" inherits="UICheckButtonTemplate" id="12">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton11">
<Offset>
<AbsDimension x="0" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText("Large Text");
</OnLoad>
<OnClick>
Perl_Config_Target_Target_Frame_CheckButton11:SetChecked(nil); <!-- We need to uncheck Button 11 -->
Perl_Config_Target_Target_Frame_CheckButton13:SetChecked(nil); <!-- We need to uncheck Button 13 -->
Perl_Config_Target_Target_Alert_Size_Update();
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="$parent_CheckButton13" inherits="UICheckButtonTemplate" id="13">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton12">
<Offset>
<AbsDimension x="0" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText("No Text");
</OnLoad>
<OnClick>
Perl_Config_Target_Target_Frame_CheckButton11:SetChecked(nil); <!-- We need to uncheck Button 11 -->
Perl_Config_Target_Target_Frame_CheckButton12:SetChecked(nil); <!-- We need to uncheck Button 12 -->
Perl_Config_Target_Target_Alert_Size_Update();
</OnClick>
</Scripts>
</CheckButton>
<Button name="$parent_Button1" inherits="UIPanelButtonTemplate" text="Right of Target Frame">
<Size>
<AbsDimension x="170" y="22"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Transparency_Text">
<Offset>
<AbsDimension x="0" y="-100"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
Perl_Target_Target_Allign(1);
DEFAULT_CHAT_FRAME:AddMessage("|cffffff00Perl Classic Unit Frames: Target of Target frames have been 'Right Aligned'.");
</OnClick>
</Scripts>
</Button>
<Button name="$parent_Button2" inherits="UIPanelButtonTemplate" text="Top of Target Frame">
<Size>
<AbsDimension x="170" y="22"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Button1">
<Offset>
<AbsDimension x="0" y="-30"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
Perl_Target_Target_Allign(2);
DEFAULT_CHAT_FRAME:AddMessage("|cffffff00Perl Classic Unit Frames: Target of Target frames have been 'Top Aligned'.");
</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
</Ui>
Generated by GNU Enscript 1.6.5.90.