mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-14 01:10:48 +00:00
thirdparty: add sheepwatch (tbc) skin
This commit is contained in:
@@ -725,6 +725,7 @@ function pfUI:LoadConfig()
|
|||||||
pfUI:UpdateConfig("thirdparty", "bcs", "enable", "1")
|
pfUI:UpdateConfig("thirdparty", "bcs", "enable", "1")
|
||||||
pfUI:UpdateConfig("thirdparty", "crafty", "enable", "1")
|
pfUI:UpdateConfig("thirdparty", "crafty", "enable", "1")
|
||||||
pfUI:UpdateConfig("thirdparty", "flightmap", "enable", "1")
|
pfUI:UpdateConfig("thirdparty", "flightmap", "enable", "1")
|
||||||
|
pfUI:UpdateConfig("thirdparty", "sheepwatch", "enable", "1")
|
||||||
pfUI:UpdateConfig("thirdparty", "totemtimers", "enable", "1")
|
pfUI:UpdateConfig("thirdparty", "totemtimers", "enable", "1")
|
||||||
pfUI:UpdateConfig("thirdparty", "theorycraft", "enable", "1")
|
pfUI:UpdateConfig("thirdparty", "theorycraft", "enable", "1")
|
||||||
pfUI:UpdateConfig("thirdparty", "supermacro", "enable", "1")
|
pfUI:UpdateConfig("thirdparty", "supermacro", "enable", "1")
|
||||||
|
|||||||
@@ -2187,6 +2187,7 @@ pfUI:RegisterModule("gui", "vanilla:tbc", function ()
|
|||||||
CreateConfig(nil, "BetterCharacterStats", C.thirdparty.bcs, "enable", "checkbox", nil, nil, nil, nil, "vanilla")
|
CreateConfig(nil, "BetterCharacterStats", C.thirdparty.bcs, "enable", "checkbox", nil, nil, nil, nil, "vanilla")
|
||||||
CreateConfig(nil, "Crafty", C.thirdparty.crafty, "enable", "checkbox", nil, nil, nil, nil, "vanilla")
|
CreateConfig(nil, "Crafty", C.thirdparty.crafty, "enable", "checkbox", nil, nil, nil, nil, "vanilla")
|
||||||
CreateConfig(nil, "AckisRecipeList", C.thirdparty.ackis, "enable", "checkbox", nil, nil, nil, nil, "tbc")
|
CreateConfig(nil, "AckisRecipeList", C.thirdparty.ackis, "enable", "checkbox", nil, nil, nil, nil, "tbc")
|
||||||
|
CreateConfig(nil, "SheepWatch", C.thirdparty.sheepwatch, "enable", "checkbox", nil, nil, nil, nil, "tbc")
|
||||||
CreateConfig(nil, "TotemTimers", C.thirdparty.totemtimers, "enable", "checkbox", nil, nil, nil, nil, "tbc")
|
CreateConfig(nil, "TotemTimers", C.thirdparty.totemtimers, "enable", "checkbox", nil, nil, nil, nil, "tbc")
|
||||||
CreateConfig(nil, "DruidBar", C.thirdparty.druidbar, "enable", "checkbox", nil, nil, nil, nil, "tbc")
|
CreateConfig(nil, "DruidBar", C.thirdparty.druidbar, "enable", "checkbox", nil, nil, nil, nil, "tbc")
|
||||||
CreateConfig(nil, "BCEPGP", C.thirdparty.bcepgp, "enable", "checkbox", nil, nil, nil, nil, "tbc")
|
CreateConfig(nil, "BCEPGP", C.thirdparty.bcepgp, "enable", "checkbox", nil, nil, nil, nil, "tbc")
|
||||||
|
|||||||
@@ -193,6 +193,31 @@ pfUI:RegisterModule("thirdparty-tbc", "tbc", function ()
|
|||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
-- Sheep Watch Continued
|
||||||
|
-- https://www.curseforge.com/wow/addons/sheep-watch-continued/files/225593
|
||||||
|
HookAddonOrVariable("SheepWatch", function()
|
||||||
|
if C.thirdparty.sheepwatch.enable == "0" then return end
|
||||||
|
|
||||||
|
StripTextures(SheepWatch)
|
||||||
|
|
||||||
|
if SheepWatchFrameStatusBar then
|
||||||
|
SheepWatchFrameStatusBar:SetStatusBarTexture(pfUI.media["img:bar"])
|
||||||
|
SheepWatchFrameStatusBar:SetHeight(14)
|
||||||
|
CreateBackdrop(SheepWatchFrameStatusBar)
|
||||||
|
CreateBackdropShadow(SheepWatchFrameStatusBar)
|
||||||
|
end
|
||||||
|
|
||||||
|
if SheepWatchText then
|
||||||
|
SheepWatchText:ClearAllPoints()
|
||||||
|
SheepWatchText:SetPoint("CENTER", 0, 4)
|
||||||
|
end
|
||||||
|
|
||||||
|
if SheepWatchCounterText then
|
||||||
|
SheepWatchCounterText:ClearAllPoints()
|
||||||
|
SheepWatchCounterText:SetPoint("RIGHT", 0, 4)
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
|
||||||
HookAddonOrVariable("Bag_Sort", function()
|
HookAddonOrVariable("Bag_Sort", function()
|
||||||
if C.thirdparty.bag_sort.enable == "0" then return end
|
if C.thirdparty.bag_sort.enable == "0" then return end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user