You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

382 lines
11 KiB

<Ui xmlns="http://www.blizzard.com/wow/ui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Script file="VuhDoNewOptionsGeneralSpellTrace.lua" />
<Frame name="VuhDoNewOptionsGeneralSpellTraceTemplate" virtual="true">
<Frames>
<Frame name="$parentMainPanel" inherits="VuhDoPanelTemplate">
<Size>
<AbsDimension x="138" y="92" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="20" y="-13" />
</Offset>
</Anchor>
</Anchors>
<Frames>
<CheckButton name="$parentShowSpellTraceCheckButton" text="VUHDO_I18N_ENABLE" inherits="VuhDoCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="13" y="-13" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
VUHDO_lnfSetModel(self, "VUHDO_CONFIG.SHOW_SPELL_TRACE");
VUHDO_lnfSetTooltip(self, VUHDO_I18N_TT.K568);
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="$parentShowTrailOfLightCheckButton" text="VUHDO_I18N_TRAIL_OF_LIGHT" inherits="VuhDoCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="13" y="-47" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
VUHDO_lnfSetModel(self, "VUHDO_CONFIG.SPELL_TRACE.showTrailOfLight");
VUHDO_lnfSetTooltip(self, VUHDO_I18N_TT.K569);
VUHDO_lnfAddConstraint(self, VUHDO_LF_CONSTRAINT_DISABLE, "VUHDO_CONFIG.SHOW_SPELL_TRACE", false);
</OnLoad>
</Scripts>
</CheckButton>
</Frames>
</Frame>
<Frame name="$parentIncomingPanel" inherits="VuhDoPanelTemplate">
<Size>
<AbsDimension x="230" y="146" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="20" y="-113" />
</Offset>
</Anchor>
</Anchors>
<Frames>
<Frame name="$parentTitleLabel" inherits="VuhDoLabelFrameTemplate">
<Layers>
<Layer>
<FontString name="$parentLabel" text="VUHDO_I18N_INCOMING" inherits="VuDoDefaultTitleFontTemplate">
</FontString>
</Layer>
</Layers>
</Frame>
<CheckButton name="$parentShowIncomingFriendlyCheckButton" text="VUHDO_I18N_SHOW_FRIENDLY" inherits="VuhDoCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="13" y="-33" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
VUHDO_lnfSetModel(self, "VUHDO_CONFIG.SPELL_TRACE.showIncomingFriendly");
VUHDO_lnfSetTooltip(self, VUHDO_I18N_TT.K588);
VUHDO_lnfAddConstraint(self, VUHDO_LF_CONSTRAINT_DISABLE, "VUHDO_CONFIG.SHOW_SPELL_TRACE", false);
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="$parentShowIncomingEnemyCheckButton" text="VUHDO_I18N_SHOW_ENEMY" inherits="VuhDoCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="13" y="-67" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
VUHDO_lnfSetModel(self, "VUHDO_CONFIG.SPELL_TRACE.showIncomingEnemy");
VUHDO_lnfSetTooltip(self, VUHDO_I18N_TT.K589);
VUHDO_lnfAddConstraint(self, VUHDO_LF_CONSTRAINT_DISABLE, "VUHDO_CONFIG.SHOW_SPELL_TRACE", false);
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="$parentShowIncomingAllCheckButton" text="VUHDO_I18N_SHOW_ALL" inherits="VuhDoCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="13" y="-101" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
VUHDO_lnfSetModel(self, "VUHDO_CONFIG.SPELL_TRACE.showIncomingAll");
VUHDO_lnfSetTooltip(self, VUHDO_I18N_TT.K590);
VUHDO_lnfAddConstraint(self, VUHDO_LF_CONSTRAINT_DISABLE, "VUHDO_CONFIG.SHOW_SPELL_TRACE", false);
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="$parentShowIncomingBossOnlyCheckButton" text="VUHDO_I18N_BOSS_ONLY" inherits="VuhDoCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="118" y="-101" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
VUHDO_lnfSetModel(self, "VUHDO_CONFIG.SPELL_TRACE.showIncomingBossOnly");
VUHDO_lnfSetTooltip(self, VUHDO_I18N_TT.K591);
VUHDO_lnfAddConstraint(self, VUHDO_LF_CONSTRAINT_DISABLE, "VUHDO_CONFIG.SHOW_SPELL_TRACE", false);
</OnLoad>
</Scripts>
</CheckButton>
</Frames>
</Frame>
<Frame name="$parentStorePanel" inherits="VuhDoPanelTemplate">
<Size>
<AbsDimension x="235" y="250" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="280" y="-13" />
</Offset>
</Anchor>
</Anchors>
<Frames>
<Frame name="$parentListLabel" inherits="VuhDoLabelFrameTemplate">
<Size>
<AbsDimension x="120" y="18" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="43" y="-65" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<FontString name="$parentLabel" text="VUHDO_I18N_SPELL_TRACE_LIST" justifyH="LEFT" inherits="VuDoDefaultFontTemplate">
</FontString>
</Layer>
</Layers>
</Frame>
<Button name="$parentSelectComboBox" inherits="VuhDoScrollComboBoxTemplate">
<Size>
<AbsDimension x="180" y="1" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="43" y="-95" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnShow>
VUHDO_lnfPatchFont(self, "Text");
VUHDO_setupSpellTraceComboModel(self);
</OnShow>
<OnLoad>
self:SetAttribute("custom_function", VUHDO_notifySpellTraceSelect);
</OnLoad>
</Scripts>
</Button>
<Frame name="$parentTitleLabel" inherits="VuhDoLabelFrameTemplate">
<Layers>
<Layer>
<FontString name="$parentLabel" text="VUHDO_I18N_STORE_DELETE" inherits="VuDoDefaultTitleFontTemplate">
</FontString>
</Layer>
</Layers>
</Frame>
<Frame name="$parentEditLabel" inherits="VuhDoLabelFrameTemplate">
<Size>
<AbsDimension x="120" y="18" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="18" y="-28" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<FontString name="$parentLabel" text="VUHDO_I18N_SPELL_TRACE_EDIT_BOX" justifyH="LEFT" inherits="VuDoDefaultFontTemplate">
</FontString>
</Layer>
</Layers>
</Frame>
<EditBox name="$parentEditBox" inherits="VuhDoEditBoxTemplate">
<Size>
<AbsDimension x="205" y="32" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="18" y="-36" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnShow>
VUHDO_lnfPatchFont(self, "Hint"); VUHDO_lnfPatchFont(self, "");
if (VUHDO_CONFIG.SPELL_TRACE.SELECTED ~= nil) then
self:SetText(VUHDO_CONFIG.SPELL_TRACE.SELECTED);
end
</OnShow>
<OnTextChanged>
if (self:GetText() ~= "") then
VUHDO_spellTraceUpdateEditBox(self);
end
</OnTextChanged>
</Scripts>
</EditBox>
<Frame name="$parentDurationFrame" hidden="true">
<Size>
<AbsDimension x="211" y="18" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="13" y="-114" />
</Offset>
</Anchor>
</Anchors>
<Frames>
<Frame name="$parentSlider" inherits="VuhDoHSliderTemplate">
<Size>
<AbsDimension x="211" y="18" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
VUHDO_lnfSetTooltip(self, VUHDO_I18N_TT.K570);
</OnLoad>
</Scripts>
</Frame>
</Frames>
</Frame>
<CheckButton name="$parentMineCheckButton" text="VUHDO_I18N_MINE" inherits="VuhDoCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="13" y="-138" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
VUHDO_lnfSetTooltip(self, VUHDO_I18N_TT.K571);
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="$parentOthersCheckButton" text="VUHDO_I18N_OTHERS" inherits="VuhDoCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="125" y="-138" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
VUHDO_lnfSetTooltip(self, VUHDO_I18N_TT.K572);
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="$parentIncomingCheckButton" text="VUHDO_I18N_INCOMING" inherits="VuhDoCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="13" y="-173" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
VUHDO_lnfSetTooltip(self, VUHDO_I18N_TT.K587);
</OnLoad>
</Scripts>
</CheckButton>
<Button name="$parentSaveButton" text="VUHDO_I18N_SAVE" inherits="VuhDoButtonTemplate">
<Size>
<AbsDimension x="100" y="32" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="13" y="-208" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
VUHDO_saveSpellTraceOnClick(self);
</OnClick>
</Scripts>
</Button>
<Button name="$parentDeleteButton" text="VUHDO_I18N_DELETE" inherits="VuhDoButtonTemplate">
<Size>
<AbsDimension x="100" y="32" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="125" y="-208" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
VUHDO_deleteSpellTraceOnClick(self);
</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
</Frames>
</Frame>
</Ui>