Add skinning for Mentor Panel
This commit is contained in:
parent
a0aca0f1ff
commit
3aad61dcc2
1 changed files with 32 additions and 0 deletions
|
|
@ -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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue