skin: whitelist several skins for tbc

* enable existing skins to tbc:
  battlefield, battlefield_minimap, dressup,
  gossipquest, itemtext, keybindings, miscellaneous,
  spellbook, stable, tabard, taxi, trade, trainer
This commit is contained in:
2019-06-13 14:45:31 +03:00
committed by shagu
parent 880655221a
commit 3232e10daa
13 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
pfUI:RegisterSkin("Battlefield", "vanilla", function ()
pfUI:RegisterSkin("Battlefield", "vanilla:tbc", function ()
local border = tonumber(pfUI_config.appearance.border.default)
local bpad = border > 1 and border - 1 or 1
+1 -1
View File
@@ -1,4 +1,4 @@
pfUI:RegisterSkin("Battlefield Minimap", "vanilla", function ()
pfUI:RegisterSkin("Battlefield Minimap", "vanilla:tbc", function ()
local border = tonumber(pfUI_config.appearance.border.default)
HookAddonOrVariable("Blizzard_BattlefieldMinimap", function()
+1 -1
View File
@@ -1,4 +1,4 @@
pfUI:RegisterSkin("Dress Up Frame", "vanilla", function ()
pfUI:RegisterSkin("Dress Up Frame", "vanilla:tbc", function ()
local border = tonumber(pfUI_config.appearance.border.default)
local bpad = border > 1 and border - 1 or 1
+1 -1
View File
@@ -1,4 +1,4 @@
pfUI:RegisterSkin("Gossip and Quest", "vanilla", function ()
pfUI:RegisterSkin("Gossip and Quest", "vanilla:tbc", function ()
local frames = {'Quest', 'Gossip'}
local panels = {'Greeting', 'Detail', 'Progress', 'Reward'}
local buttons = {
+1 -1
View File
@@ -1,4 +1,4 @@
pfUI:RegisterSkin("Books", "vanilla", function ()
pfUI:RegisterSkin("Books", "vanilla:tbc", function ()
StripTextures(ItemTextFrame)
CreateBackdrop(ItemTextFrame, nil, nil, .75)
CreateBackdropShadow(ItemTextFrame)
+1 -1
View File
@@ -1,4 +1,4 @@
pfUI:RegisterSkin("KeyBindings", "vanilla", function ()
pfUI:RegisterSkin("KeyBindings", "vanilla:tbc", function ()
local border = tonumber(pfUI_config.appearance.border.default)
local bpad = border > 1 and border - 1 or 1
+6 -6
View File
@@ -1,4 +1,4 @@
pfUI:RegisterSkin("Stack Split", "vanilla", function ()
pfUI:RegisterSkin("Stack Split", "vanilla:tbc", function ()
StripTextures(StackSplitFrame)
CreateBackdrop(StackSplitFrame, nil, nil, .75)
CreateBackdropShadow(StackSplitFrame)
@@ -7,7 +7,7 @@ pfUI:RegisterSkin("Stack Split", "vanilla", function ()
SkinButton(StackSplitCancelButton)
end)
pfUI:RegisterSkin("Coin Pickup", function ()
pfUI:RegisterSkin("Coin Pickup", "vanilla:tbc", function ()
StripTextures(CoinPickupFrame)
CreateBackdrop(CoinPickupFrame, nil, nil, .75)
CreateBackdropShadow(CoinPickupFrame)
@@ -16,7 +16,7 @@ pfUI:RegisterSkin("Coin Pickup", function ()
SkinButton(CoinPickupCancelButton)
end)
pfUI:RegisterSkin("Color Picker", function ()
pfUI:RegisterSkin("Color Picker", "vanilla:tbc", function ()
CreateBackdrop(ColorPickerFrame)
CreateBackdropShadow(ColorPickerFrame)
@@ -32,7 +32,7 @@ pfUI:RegisterSkin("Color Picker", function ()
SkinSlider(OpacitySliderFrame)
end)
pfUI:RegisterSkin("Opacity", function ()
pfUI:RegisterSkin("Opacity", "vanilla:tbc", function ()
CreateBackdrop(OpacityFrame, nil, true, .75)
CreateBackdropShadow(OpacityFrame)
@@ -41,7 +41,7 @@ pfUI:RegisterSkin("Opacity", function ()
OpacityFrameSlider:SetPoint("CENTER", 0, 0)
end)
pfUI:RegisterSkin("Tutorial", function ()
pfUI:RegisterSkin("Tutorial", "vanilla:tbc", function ()
CreateBackdrop(TutorialFrame, nil, true, .75)
CreateBackdropShadow(TutorialFrame)
@@ -49,7 +49,7 @@ pfUI:RegisterSkin("Tutorial", function ()
SkinButton(TutorialFrameOkayButton)
end)
pfUI:RegisterSkin("Quest Timer", function ()
pfUI:RegisterSkin("Quest Timer", "vanilla:tbc", function ()
CreateBackdrop(QuestTimerFrame, nil, nil, .75)
CreateBackdropShadow(QuestTimerFrame)
+1 -1
View File
@@ -1,4 +1,4 @@
pfUI:RegisterSkin("Spellbook", "vanilla", function ()
pfUI:RegisterSkin("Spellbook", "vanilla:tbc", function ()
local border = tonumber(pfUI_config.appearance.border.default)
local bpad = border > 1 and border - 1 or 1
+1 -1
View File
@@ -1,4 +1,4 @@
pfUI:RegisterSkin("Pet Stable Master", "vanilla", function ()
pfUI:RegisterSkin("Pet Stable Master", "vanilla:tbc", function ()
StripTextures(PetStableFrame)
CreateBackdrop(PetStableFrame, nil, nil, .75)
CreateBackdropShadow(PetStableFrame)
+1 -1
View File
@@ -1,4 +1,4 @@
pfUI:RegisterSkin("Guild Tabard", "vanilla", function ()
pfUI:RegisterSkin("Guild Tabard", "vanilla:tbc", function ()
local border = tonumber(pfUI_config.appearance.border.default)
local bpad = border > 1 and border - 1 or 1
+1 -1
View File
@@ -1,4 +1,4 @@
pfUI:RegisterSkin("Flightmaster", "vanilla", function ()
pfUI:RegisterSkin("Flightmaster", "vanilla:tbc", function ()
StripTextures(TaxiFrame)
CreateBackdrop(TaxiFrame, nil, nil, .75)
CreateBackdropShadow(TaxiFrame)
+1 -1
View File
@@ -1,4 +1,4 @@
pfUI:RegisterSkin("Trade", "vanilla", function ()
pfUI:RegisterSkin("Trade", "vanilla:tbc", function ()
local border = tonumber(pfUI_config.appearance.border.default)
local bpad = border > 1 and border - 1 or 1
+1 -1
View File
@@ -1,4 +1,4 @@
pfUI:RegisterSkin("Trainer", "vanilla", function ()
pfUI:RegisterSkin("Trainer", "vanilla:tbc", function ()
local border = tonumber(pfUI_config.appearance.border.default)
local bpad = border > 1 and border - 1 or 1