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_CombatDisplay.lua"/>
<Frame name="Perl_Config_CombatDisplay_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_CombatDisplay_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="PERL_LOCALIZED_CONFIG_COMBATDISPLAY">
<Anchors>
<Anchor point="TOP" relativeTo="Perl_Config_CombatDisplay_Header">
<Offset>
<AbsDimension x="0" y="-14"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parent_Display_Mode_Text" inherits="GameFontNormal" text="PERL_LOCALIZED_CONFIG_DISPLAY_MODE">
<Anchors>
<Anchor point="LEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="20" y="-30"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parent_Persist_Modes_Text" inherits="GameFontNormal" text="PERL_LOCALIZED_CONFIG_COMBATDISPLAY_PERSIST_MODES">
<Anchors>
<Anchor point="LEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="20" y="-140"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parent_Misc_Text" inherits="GameFontNormal" text="PERL_LOCALIZED_CONFIG_MISC">
<Anchors>
<Anchor point="LEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="20" y="-210"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parent_Misc2_Text" inherits="GameFontNormal" text=" ">
<Anchors>
<Anchor point="LEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="240" y="-210"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parent_Target_Text" inherits="GameFontNormal" text="PERL_LOCALIZED_CONFIG_COMBATDISPLAY_TARGET_SETTINGS">
<Anchors>
<Anchor point="LEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="200" y="-140"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parent_Transparency_Text" inherits="GameFontNormal" text="PERL_LOCALIZED_CONFIG_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="PERL_LOCALIZED_CONFIG_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_Display_Mode_Text">
<Offset>
<AbsDimension x="20" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_ALWAYS_SHOWN);
</OnLoad>
<OnClick>
Perl_Config_CombatDisplay_Frame_CheckButton2:SetChecked(nil); <!-- We need to uncheck Button 2 -->
Perl_Config_CombatDisplay_Frame_CheckButton3:SetChecked(nil); <!-- We need to uncheck Button 3 -->
Perl_Config_CombatDisplay_Frame_CheckButton4:SetChecked(nil); <!-- We need to uncheck Button 4 -->
Perl_Config_CombatDisplay_Mode_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(PERL_LOCALIZED_CONFIG_COMBATDISPLAY_AUTOATTACK);
</OnLoad>
<OnClick>
Perl_Config_CombatDisplay_Frame_CheckButton1:SetChecked(nil); <!-- We need to uncheck Button 1 -->
Perl_Config_CombatDisplay_Frame_CheckButton3:SetChecked(nil); <!-- We need to uncheck Button 3 -->
Perl_Config_CombatDisplay_Frame_CheckButton4:SetChecked(nil); <!-- We need to uncheck Button 4 -->
Perl_Config_CombatDisplay_Mode_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_CheckButton2">
<Offset>
<AbsDimension x="0" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_COMBATDISPLAY_ONAGRO);
</OnLoad>
<OnClick>
Perl_Config_CombatDisplay_Frame_CheckButton1:SetChecked(nil); <!-- We need to uncheck Button 1 -->
Perl_Config_CombatDisplay_Frame_CheckButton2:SetChecked(nil); <!-- We need to uncheck Button 2 -->
Perl_Config_CombatDisplay_Frame_CheckButton4:SetChecked(nil); <!-- We need to uncheck Button 4 -->
Perl_Config_CombatDisplay_Mode_Update();
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="$parent_CheckButton4" inherits="UICheckButtonTemplate" id="4">
<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(PERL_LOCALIZED_CONFIG_ALWAYS_HIDDEN);
</OnLoad>
<OnClick>
Perl_Config_CombatDisplay_Frame_CheckButton1:SetChecked(nil); <!-- We need to uncheck Button 1 -->
Perl_Config_CombatDisplay_Frame_CheckButton2:SetChecked(nil); <!-- We need to uncheck Button 2 -->
Perl_Config_CombatDisplay_Frame_CheckButton3:SetChecked(nil); <!-- We need to uncheck Button 3 -->
Perl_Config_CombatDisplay_Mode_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_Persist_Modes_Text">
<Offset>
<AbsDimension x="20" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_COMBATDISPLAY_HEALTH_PERSIST);
</OnLoad>
<OnClick>
Perl_Config_CombatDisplay_Health_Persistance_Update();
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="$parent_CheckButton6" inherits="UICheckButtonTemplate" id="6">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton5">
<Offset>
<AbsDimension x="0" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_COMBATDISPLAY_MANA_PERSIST);
</OnLoad>
<OnClick>
Perl_Config_CombatDisplay_Mana_Persistance_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_Misc_Text">
<Offset>
<AbsDimension x="20" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_PET_SUPPORT);
</OnLoad>
<OnClick>
Perl_Config_CombatDisplay_PetBars_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_CheckButton13">
<Offset>
<AbsDimension x="0" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_DRUIDBAR);
</OnLoad>
<OnClick>
Perl_Config_CombatDisplay_DruidBar_Update();
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="$parent_CheckButton14" inherits="UICheckButtonTemplate" id="14">
<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(PERL_LOCALIZED_CONFIG_COMBATDISPLAY_MENU);
</OnLoad>
<OnClick>
Perl_Config_CombatDisplay_Right_Click_Update();
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="$parent_CheckButton8" inherits="UICheckButtonTemplate" id="8">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton14">
<Offset>
<AbsDimension x="0" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_COMBATDISPLAY_LOCK);
</OnLoad>
<OnClick>
Perl_Config_CombatDisplay_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_CombatDisplay_Set_Scale(getglobal(this:GetName()):GetValue());
</OnValueChanged>
</Scripts>
</Slider>
<CheckButton name="$parent_CheckButton9" inherits="UICheckButtonTemplate" id="9">
<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(PERL_LOCALIZED_CONFIG_SCALING_SET_CURRENT);
</OnLoad>
<OnClick>
Perl_Config_CombatDisplay_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_CombatDisplay_Set_Transparency(getglobal(this:GetName()):GetValue());
</OnValueChanged>
</Scripts>
</Slider>
<CheckButton name="$parent_CheckButton10" inherits="UICheckButtonTemplate" id="10">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Target_Text">
<Offset>
<AbsDimension x="20" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_COMBATDISPLAY_ENABLE_TARGET);
</OnLoad>
<OnClick>
Perl_Config_CombatDisplay_Target_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_CheckButton10">
<Offset>
<AbsDimension x="0" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_MOBHEALTH);
</OnLoad>
<OnClick>
Perl_Config_CombatDisplay_MobHealth_Update();
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="$parent_CheckButton15" inherits="UICheckButtonTemplate" id="15">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Misc2_Text">
<Offset>
<AbsDimension x="20" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_FIVESEC);
</OnLoad>
<OnClick>
Perl_Config_CombatDisplay_FiveSec_Update();
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="$parent_CheckButton16" inherits="UICheckButtonTemplate" id="16">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton15">
<Offset>
<AbsDimension x="0" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_DISPLAY_PERCENTS);
</OnLoad>
<OnClick>
Perl_Config_CombatDisplay_Display_Percents_Update();
</OnClick>
</Scripts>
</CheckButton>
</Frames>
</Frame>
</Ui>
Generated by GNU Enscript 1.6.5.90.