update quest frames

This commit is contained in:
Apollyonn
2018-07-10 16:19:07 +03:00
parent a399aad5e3
commit e30d16a66d
4 changed files with 141 additions and 98 deletions
+18 -13
View File
@@ -10,42 +10,47 @@ local function LoadSkin()
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.gossip ~= true then return end
-- ItemTextFrame
E:StripTextures(ItemTextFrame, true)
E:StripTextures(ItemTextScrollFrame)
S:HandleScrollBar(ItemTextScrollFrameScrollBar)
E:StripTextures(ItemTextFrame, true)
E:CreateBackdrop(ItemTextFrame, "Transparent")
E:Point(ItemTextFrame.backdrop, "TOPLEFT", 13, -13)
E:Point(ItemTextFrame.backdrop, "BOTTOMRIGHT", -32, 74)
S:HandleNextPrevButton(ItemTextPrevPageButton)
S:HandleNextPrevButton(ItemTextNextPageButton)
ItemTextPrevPageButton:ClearAllPoints()
ItemTextPrevPageButton:SetPoint("TOPLEFT", ItemTextFrame, "TOPLEFT", 30, -50)
S:HandleNextPrevButton(ItemTextNextPageButton)
ItemTextNextPageButton:ClearAllPoints()
E:Point(ItemTextPrevPageButton, "TOPLEFT", ItemTextFrame, "TOPLEFT", 30, -50)
E:Point(ItemTextNextPageButton, "TOPRIGHT", ItemTextFrame, "TOPRIGHT", -48, -50)
ItemTextNextPageButton:SetPoint("TOPRIGHT", ItemTextFrame, "TOPRIGHT", -48, -50)
S:HandleScrollBar(ItemTextScrollFrameScrollBar)
S:HandleCloseButton(ItemTextCloseButton)
ItemTextPageText:SetTextColor(1, 1, 1)
ItemTextPageText.SetTextColor = E.noop
-- GossipFrame
-- Gossip Frame
E:StripTextures(GossipFrameGreetingPanel)
S:HandleScrollBar(GossipGreetingScrollFrameScrollBar, 5)
E:Kill(GossipFramePortrait)
E:CreateBackdrop(GossipFrame, "Transparent")
E:Point(GossipFrame.backdrop, "TOPLEFT", 15, -19)
E:Point(GossipFrame.backdrop, "BOTTOMRIGHT", -30, 67)
GossipFrame.backdrop:SetPoint("TOPLEFT", 15, -11)
GossipFrame.backdrop:SetPoint("BOTTOMRIGHT", -30, 0)
E:Height(GossipGreetingScrollFrame, 403)
GossipNpcNameFrame:SetPoint("TOP", GossipFrame, "TOP", -5, -19)
S:HandleButton(GossipFrameGreetingGoodbyeButton)
E:Point(GossipFrameGreetingGoodbyeButton, "BOTTOMRIGHT", GossipFrame, -34, 71)
GossipFrameGreetingGoodbyeButton:SetPoint("BOTTOMRIGHT", -37, 4)
S:HandleScrollBar(GossipGreetingScrollFrameScrollBar, 5)
S:HandleCloseButton(GossipFrameCloseButton)
GossipFrameCloseButton:SetPoint("CENTER", GossipFrame, "TOPRIGHT", -44, -25)
GossipGreetingText:SetTextColor(1, 1, 1)