diff --git a/ElvUI/Modules/Skins/Blizzard/PathToAscension.lua b/ElvUI/Modules/Skins/Blizzard/PathToAscension.lua index 8c7ff47..140fe08 100644 --- a/ElvUI/Modules/Skins/Blizzard/PathToAscension.lua +++ b/ElvUI/Modules/Skins/Blizzard/PathToAscension.lua @@ -14,21 +14,38 @@ S:AddCallbackForAddon("Ascension_PathToAscension", "Skin_PathToAscension", funct PathToAscensionFrameObjectivesInsetFrame:StripTextures() PathToAscensionFrameMentorPanel:StripTextures() + PathToAscensionFrameMentorPanelBecomeMentor:StripTextures() + PathToAscensionFrameMentorPanelBecomeMentorBorder:StripTextures() + PathToAscensionFrameMentorPanelFindHelp:StripTextures() + PathToAscensionFrameMentorPanelFindHelpBorder:StripTextures() + -- Strip Frame Inset from AvailableMentors list + local mentorFrameChildren = {PathToAscensionFrameMentorPanelFindHelpAvailableMentors:GetChildren()} + mentorFrameChildren[2]:StripTextures() + PathToAscensionFrame:CreateBackdrop("Transparent") + PathToAscensionFrameMentorPanelBecomeMentor:CreateBackdrop("Transparent") + PathToAscensionFrameMentorPanelFindHelp:CreateBackdrop("Transparent") -- Strip Objective Panel Frame textures PathToAscensionFrameDisplay:StripTextures() PathToAscensionFrameDisplayQuestObjectives:StripTextures() -- Reskin the Frames in ElvUI style + S:HandleCloseButton(PathToAscensionFrameCloseButton) S:HandleEditBox(PathToAscensionFrameObjectivesHeaderSearch) + S:HandleEditBox(PathToAscensionFrameMentorPanelFindHelpSearchBox) S:HandleScrollBar(PathToAscensionFrameObjectivesScrollFrameScrollBar) S:HandleButton(PathToAscensionFrameDisplayQuestObjectivesInteractButton) S:HandleButton(PathToAscensionFrameDisplayLeftButton) S:HandleButton(PathToAscensionFrameDisplayRightButton) + S:HandleButton(PathToAscensionFrameMentorPanelBecomeMentorBecomeMentorButton) + S:HandleButton(PathToAscensionFrameMentorPanelFindHelpRefreshButton) + PathToAscensionFrameMentorPanelFindHelpRefreshButton:Size(22, 22) + + S:HandleScrollList(PathToAscensionFrameMentorPanelFindHelpAvailableMentors) S:HandleTabSystem(PathToAscensionFrame) @@ -59,4 +76,19 @@ S:AddCallbackForAddon("Ascension_PathToAscension", "Skin_PathToAscension", funct S:HandleButton(objectiveButton, true) end + -- Reskin Mentor Checkboxes + for i = 1, 10 do + local checkBox = _G["PathToAscensionFrameMentorPanelBecomeMentorSpecialization"..i] + S:HandleCheckBox(checkBox) + end + + -- Reskin Available Mentors + for i = 1, 9 do + local mentor = _G["PathToAscensionFrameMentorPanelFindHelpAvailableMentorsScrollFrameButton"..i] + S:HandleButton(mentor, true) + end + + PathToAscensionFrameMentorPanelFindHelpFilter:StripTextures(true) + S:HandleButton(PathToAscensionFrameMentorPanelFindHelpFilter) + end) \ No newline at end of file