📄 decursive.xml
字号:
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentOther">
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
this.ClassType = "DRUID";
Dcr_PopulateButtonPress();
</OnClick>
</Scripts>
</Button>
<Button name="$parentHunter" inherits="GameMenuButtonTemplate" text="Ht">
<Size>
<AbsDimension x="20" y="20" />
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentWarlock">
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
this.ClassType = "HUNTER";
Dcr_PopulateButtonPress();
</OnClick>
</Scripts>
</Button>
<!--
优先列表部分
-->
<Button name="$parentPrioIndex01" id="1" inherits="DecursivePriorityListEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent" >
<Offset>
<AbsDimension x="5" y="-40" />
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="$parentPrioIndex02" id="2" inherits="DecursivePriorityListEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentPrioIndex01"/>
</Anchors>
</Button>
<Button name="$parentPrioIndex03" id="3" inherits="DecursivePriorityListEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentPrioIndex02"/>
</Anchors>
</Button>
<Button name="$parentPrioIndex04" id="4" inherits="DecursivePriorityListEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentPrioIndex03"/>
</Anchors>
</Button>
<Button name="$parentPrioIndex05" id="5" inherits="DecursivePriorityListEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentPrioIndex04"/>
</Anchors>
</Button>
<Button name="$parentPrioIndex06" id="6" inherits="DecursivePriorityListEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentPrioIndex05"/>
</Anchors>
</Button>
<Button name="$parentPrioIndex07" id="7" inherits="DecursivePriorityListEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentPrioIndex06"/>
</Anchors>
</Button>
<Button name="$parentPrioIndex08" id="8" inherits="DecursivePriorityListEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentPrioIndex07"/>
</Anchors>
</Button>
<Button name="$parentPrioIndex09" id="9" inherits="DecursivePriorityListEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentPrioIndex08"/>
</Anchors>
</Button>
<Button name="$parentPrioIndex10" id="10" inherits="DecursivePriorityListEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentPrioIndex09"/>
</Anchors>
</Button>
<!--
忽略列表部分
-->
<Button name="$parentSkipIndex01" id="1" inherits="DecursiveSkipListEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent" >
<Offset>
<AbsDimension x="5" y="-40" />
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="$parentSkipIndex02" id="2" inherits="DecursiveSkipListEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentSkipIndex01"/>
</Anchors>
</Button>
<Button name="$parentSkipIndex03" id="3" inherits="DecursiveSkipListEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentSkipIndex02"/>
</Anchors>
</Button>
<Button name="$parentSkipIndex04" id="4" inherits="DecursiveSkipListEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentSkipIndex03"/>
</Anchors>
</Button>
<Button name="$parentSkipIndex05" id="5" inherits="DecursiveSkipListEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentSkipIndex04"/>
</Anchors>
</Button>
<Button name="$parentSkipIndex06" id="6" inherits="DecursiveSkipListEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentSkipIndex05"/>
</Anchors>
</Button>
<Button name="$parentSkipIndex07" id="7" inherits="DecursiveSkipListEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentSkipIndex06"/>
</Anchors>
</Button>
<Button name="$parentSkipIndex08" id="8" inherits="DecursiveSkipListEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentSkipIndex07"/>
</Anchors>
</Button>
<Button name="$parentSkipIndex09" id="9" inherits="DecursiveSkipListEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentSkipIndex08"/>
</Anchors>
</Button>
<Button name="$parentSkipIndex10" id="10" inherits="DecursiveSkipListEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentSkipIndex09"/>
</Anchors>
</Button>
</Frames>
</Frame>
<!-- ================================================================== -->
<!-- The options frame -->
<Frame name="DcrOptionsFrame" frameStrata="LOW" toplevel="true" enableMouse="true" movable="true" hidden="true" parent="UIParent">
<Size>
<AbsDimension x="250" y="345" />
</Size>
<Anchors>
<Anchor point="CENTER" />
</Anchors>
<TitleRegion setAllPoints="true"/>
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<BackgroundInsets>
<AbsInset left="5" right="5" top="5" bottom="5"/>
</BackgroundInsets>
</Backdrop>
<Layers>
<Layer level="BACKGROUND">
<FontString name="$parentText" inherits="GameFontNormal" text="Options">
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="-8"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText(DCR_SKIP_OPT_STR);
DcrOptionsFrameSave:SetText(DCR_STR_CLOSE);
</OnLoad>
</Scripts>
<Frames>
<Button name="$parentAnchor" inherits="GameMenuButtonTemplate" text="A">
<Size>
<AbsDimension x="20" y="20" />
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" relativeTo="$parent">
<Offset>
<AbsDimension x="-10" y="-10" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
Dcr_ShowHideTextAnchor();
</OnClick>
<OnEnter>
Dcr_DisplayTooltip(DCR_ANCHOR);
</OnEnter>
<OnLeave>
DcrDisplay_Tooltip:Hide();
</OnLeave>
</Scripts>
</Button>
<CheckButton name="$parentPrintDefault" inherits="OptionsCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" >
<Offset>
<AbsDimension x="5" y="-20" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
Dcr_vars.Print_ChatFrame = (this:GetChecked() == 1);
</OnClick>
<OnLoad>
getglobal(this:GetName().."Text"):SetText(DCR_PRINT_CHATFRAME);
</OnLoad>
<OnShow>
if (Dcr_vars.Print_ChatFrame) then
this:SetChecked(1);
else
this:SetChecked(0);
end
</OnShow>
</Scripts>
</CheckButton>
<CheckButton name="$parentPrintCustomFrame" inherits="OptionsCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentPrintDefault">
<Offset>
<AbsDimension x="0" y="-25" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
Dcr_vars.Print_CustomFrame = (this:GetChecked() == 1);
</OnClick>
<OnLoad>
getglobal(this:GetName().."Text"):SetText(DCR_PRINT_CUSTOM);
</OnLoad>
<OnShow>
if (Dcr_vars.Print_CustomFrame) then
this:SetChecked(1);
else
this:SetChecked(0);
end
</OnShow>
</Scripts>
</CheckButton>
<CheckButton name="$parentCureMigic" inherits="OptionsCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentPrintCustomFrame">
<Offset>
<AbsDimension x="0" y="-25" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
Dcr_vars.Cure_Magic = (this:GetChecked() == 1);
</OnClick>
<OnLoad>
getglobal(this:GetName().."Text"):SetText(DCR_CURE_MAGIC);
</OnLoad>
<OnShow>
if (Dcr_vars.Cure_Magic) then
this:SetChecked(1);
else
this:SetChecked(0);
end
</OnShow>
</Scripts>
</CheckButton>
<CheckButton name="$parentCureCurse" inherits="OptionsCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentCureMigic">
<Offset>
<AbsDimension x="90" y="0" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
Dcr_vars.Cure_Curse = (this:GetChecked() == 1);
</OnClick>
<OnLoad>
getglobal(this:GetName().."Text"):SetText(DCR_CURE_CURSE);
</OnLoad>
<OnShow>
if (Dcr_vars.Cure_Curse) then
this:SetChecked(1);
else
this:SetChecked(0);
end
</OnShow>
</Scripts>
</CheckButton>
<CheckButton name="$parentCurePoison" inherits="OptionsCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentCureMigic">
<Offset>
<AbsDimension x="0" y="-25" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
Dcr_vars.Cure_Poison = (this:GetChecked() == 1);
</OnClick>
<OnLoad>
getglobal(this:GetName().."Text"):SetText(DCR_CURE_POISON);
</OnLoad>
<OnShow>
if (Dcr_vars.Cure_Poison) then
this:SetChecked(1);
else
this:SetChecked(0);
end
</OnShow>
</Scripts>
</CheckButton>
<CheckButton name="$parentCureDisease" inherits="OptionsCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentCurePoison">
<Offset>
<AbsDimension x="90" y="0" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
Dcr_vars.Cure_Disease = (this:GetChecked() == 1);
</OnClick>
<OnLoad>
getglobal(this:GetName().."Text"):SetText(DCR_CURE_DISEASE);
</OnLoad>
<OnShow>
if (Dcr_vars.Cure_Disease) then
this:SetChecked(1);
else
this:SetChecked(0);
end
</OnShow>
</Scripts>
</CheckButton>
<CheckButton name="$parentCurePets" inherits="OptionsCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentCurePoison">
<Offset>
<AbsDimension x="0" y="-25" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
Dcr_vars.Scan_Pets = (this:GetChecked() == 1);
</OnClick>
<OnLoad>
getglobal(this:GetName().."Text"):SetText(DCR_CURE_PETS);
</OnLoad>
<OnShow>
if (Dcr_vars.Scan_Pets) then
this:SetChecked(1);
else
this:SetChecked(0);
end
</OnShow>
</Scripts>
</CheckButton>
<CheckButton name="$parentShowNoCleaned" inherits="OptionsCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentCurePets">
<Offset>
<AbsDimension x="0" y="-25" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
Dcr_vars.Show_NoCleaned = (this:GetChecked() == 1);
</OnClick>
<OnLoad>
getglobal(this:GetName().."Text"):SetText(DCR_SHOW_NOCLEANED);
</OnLoad>
<OnShow>
if (Dcr_vars.Show_NoCleaned) then
this:SetChecked(1);
else
this:SetChecked(0);
end
</OnShow>
</Scripts>
</CheckButton>
<CheckButton name="$parentPrintError" inherits="OptionsCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentShowNoCleaned">
<Offset>
<AbsDimension x="0" y="-25" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
Dcr_vars.Print_Error = (this:GetChecked() == 1);
</OnClick>
<OnLoad>
getglobal(this:GetName().."Text"):SetText(DCR_PRINT_SYSMSG);
</OnLoad>
<OnShow>
if (Dcr_vars.Print_Error) then
this:SetChecked(1);
else
this:SetChecked(0);
end
</OnShow>
</Scripts>
</CheckButton>
<CheckButton name="$parentSetTargetPrio" inherits="OptionsCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentPrintError">
<Offset>
<AbsDimension x="0" y="-30" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
if (this:GetChecked() == 1) then
Dcr_vars.targetPrio = true;
else
Dcr_vars.targetPrio = false;
end
</OnClick>
<OnLoad>
getglobal(this:GetName().."Text"):SetText(DCR_TARGET_PRIO);
</OnLoad>
<OnShow>
if Dcr_vars.targetPrio then
this:SetChecked(1);
else
this:SetChecked(0);
end
</OnShow>
</Scripts>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -