mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 16:34:45 +00:00
30 lines
806 B
Lua
30 lines
806 B
Lua
local E, L, V, P, G = unpack(ElvUI); --Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
|
|
local S = E:GetModule("Skins");
|
|
|
|
--Cache global variables
|
|
--Lua functions
|
|
local _G = _G
|
|
--WoW API / Variables
|
|
|
|
local function LoadSkin()
|
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.greeting ~= true then return end
|
|
|
|
E:StripTextures(QuestFrameGreetingPanel)
|
|
|
|
E:Kill(QuestGreetingFrameHorizontalBreak)
|
|
|
|
S:HandleScrollBar(QuestGreetingScrollFrameScrollBar)
|
|
|
|
S:HandleButton(QuestFrameGreetingGoodbyeButton, true)
|
|
|
|
GreetingText:SetTextColor(1, 1, 1)
|
|
CurrentQuestsText:SetTextColor(1, 1, 0)
|
|
AvailableQuestsText:SetTextColor(1, 1, 0)
|
|
|
|
for i = 1, MAX_NUM_QUESTS do
|
|
local button = _G["QuestTitleButton"..i]
|
|
button:SetTextColor(1, 1, 0)
|
|
end
|
|
end
|
|
|
|
S:AddCallback("Greeting", LoadSkin) |