Fix decursive for new classes

This commit is contained in:
Andrew6810
2022-10-28 04:46:07 -07:00
parent 6988cc52f5
commit 8817327813
11 changed files with 52 additions and 1337 deletions
+24 -2
View File
@@ -86,7 +86,7 @@
<!-- Dcr_ListFrameTemplate {{{ -->
<Frame name="Dcr_ListFrameTemplate" frameStrata="LOW" toplevel="true" enableMouse="true" EnableMouseWheel="true" movable="true" hidden="true" virtual="true" parent="UIParent">
<Size>
<AbsDimension x="170" y="210" />
<AbsDimension x="170" y="230" />
</Size>
<Anchors>
@@ -416,7 +416,7 @@
<!-- DecursivePopulateListFrame {{{ -->
<Frame name="DecursivePopulateListFrame" frameStrata="LOW" toplevel="true" enableMouse="true" movable="true" hidden="true" parent="UIParent">
<Size>
<AbsDimension x="168" y="265" />
<AbsDimension x="168" y="285" />
</Size>
<Anchors>
@@ -878,6 +878,28 @@
</OnLoad>
</Scripts>
</Button>
<Button name="$parentHero" inherits="GameMenuButtonTemplate" text="Hero">
<Size>
<AbsDimension x="80" y="20" />
</Size>
<Anchors>
<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentPaladin">
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
Dcr:PopulateButtonPress(self);
</OnClick>
<OnLoad>
if DecursiveInstallCorrupted then return end
self.ClassType = DcrC.CLASS_HERO;
self:SetText(Dcr:ColorText(Dcr.LC[self.ClassType], "FF"..Dcr:GetClassHexColor(self.ClassType)));
</OnLoad>
</Scripts>
</Button>
<Button name="$parentClose" inherits="GameMenuButtonTemplate" text="Close">
<Size>