mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 12:40:02 +00:00
firstrun: add nostalgia profile to dialog
This commit is contained in:
+14
-14
@@ -144,10 +144,23 @@ pfUI:RegisterModule("firstrun", "vanilla:tbc", function ()
|
||||
end)
|
||||
SkinButton(f.Modern)
|
||||
|
||||
f.Nostalgia = CreateFrame("Button", nil, f, "UIPanelButtonTemplate")
|
||||
f.Nostalgia:SetWidth(120)
|
||||
f.Nostalgia:SetHeight(20)
|
||||
f.Nostalgia:SetPoint("BOTTOM", 65, 80)
|
||||
f.Nostalgia:SetTextColor(1,1,1)
|
||||
f.Nostalgia:SetText("Nostalgia")
|
||||
f.Nostalgia:SetScript("OnClick", function()
|
||||
_G["pfUI_config"] = CopyTable(pfUI_profiles["Nostalgia"])
|
||||
pfUI:LoadConfig()
|
||||
ReloadUI()
|
||||
end)
|
||||
SkinButton(f.Nostalgia)
|
||||
|
||||
f.Legacy = CreateFrame("Button", nil, f, "UIPanelButtonTemplate")
|
||||
f.Legacy:SetWidth(120)
|
||||
f.Legacy:SetHeight(20)
|
||||
f.Legacy:SetPoint("BOTTOM", 65, 80)
|
||||
f.Legacy:SetPoint("BOTTOM", 65, 55)
|
||||
f.Legacy:SetTextColor(1,1,1)
|
||||
f.Legacy:SetText("Legacy")
|
||||
f.Legacy:SetScript("OnClick", function()
|
||||
@@ -170,19 +183,6 @@ pfUI:RegisterModule("firstrun", "vanilla:tbc", function ()
|
||||
end)
|
||||
SkinButton(f.Slim)
|
||||
|
||||
f.Adapta = CreateFrame("Button", nil, f, "UIPanelButtonTemplate")
|
||||
f.Adapta:SetWidth(120)
|
||||
f.Adapta:SetHeight(20)
|
||||
f.Adapta:SetPoint("BOTTOM", 65, 55)
|
||||
f.Adapta:SetTextColor(1,1,1)
|
||||
f.Adapta:SetText("Adapta")
|
||||
f.Adapta:SetScript("OnClick", function()
|
||||
_G["pfUI_config"] = CopyTable(pfUI_profiles["Adapta"])
|
||||
pfUI:LoadConfig()
|
||||
ReloadUI()
|
||||
end)
|
||||
SkinButton(f.Adapta)
|
||||
|
||||
return f
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user