Added a M+ drop down menu for dungeons

This commit is contained in:
Rvng
2021-09-13 17:19:23 -04:00
parent abcb387b9b
commit 13d576bdc9
6 changed files with 11582 additions and 13100 deletions
+2
View File
@@ -34,6 +34,8 @@
embeds.xml
Core\ItemDB.lua
Locales\Locales.xml
TableRegister\TableRegister.xml
AtlasLayout\AtlasLayout.xml
+77 -11181
View File
File diff suppressed because it is too large Load Diff
+37 -1
View File
@@ -602,7 +602,7 @@
getglobal(this:GetName().."Text"):SetText(AL["Ascended Mode"]);
</OnLoad>
<OnClick>
AtlasLoot_HeroicModeToggle();
AtlasLoot_HeroicModeToggle();
</OnClick>
</Scripts>
</CheckButton>
@@ -698,6 +698,30 @@
</OnClick>
</Scripts>
</Button>
<Button name="AtlasLootMythicButton" hidden="true">
<Size>
<AbsDimension x="25" y="25" />
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-5" y="-5"/>
</Offset>
</Anchor>
</Anchors>
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
<DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Disabled"/>
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
<Scripts>
<OnShow>
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
</OnShow>
<OnClick>
AtlasLoot_ShowMythicSelect(this);
</OnClick>
</Scripts>
</Button>
<CheckButton name="AtlasLootFilterCheck" inherits="OptionsCheckButtonTemplate" hidden="true">
<Anchors>
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="BOTTOM">
@@ -765,6 +789,18 @@
<Offset>
<AbsDimension x="-57" y="28"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasLoot_MythicSelect" inherits="GameFontNormal" justifyH="RIGHT" text="Select Mythic Difficulty: " hidden="true">
<Size>
<AbsDimension x="200" y="25"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-30" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
File diff suppressed because it is too large Load Diff
-1
View File
@@ -323,7 +323,6 @@ function AtlasLoot_MythicPlussTier_OnClick()
UIDropDownMenu_SetSelectedID(AtlasLoot_SelectMythicPlussTier, thisID);
AtlasLoot.db.profile.MythicPlussTier = thisID;
if AtlasLootItemsFrame:IsVisible() and AtlasLootItemsFrame.refresh then
Mythic_Reload();
AtlasLoot_ShowItemsFrame(AtlasLootItemsFrame.refresh[1], AtlasLootItemsFrame.refresh[2], AtlasLootItemsFrame.refresh[3], AtlasLootItemsFrame.refresh[4]);
end
AtlasLoot_OptionsOnShow();