mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-23 16:16:56 +00:00
3232e10daa
* enable existing skins to tbc: battlefield, battlefield_minimap, dressup, gossipquest, itemtext, keybindings, miscellaneous, spellbook, stable, tabard, taxi, trade, trainer
58 lines
1.7 KiB
Lua
58 lines
1.7 KiB
Lua
pfUI:RegisterSkin("Stack Split", "vanilla:tbc", function ()
|
|
StripTextures(StackSplitFrame)
|
|
CreateBackdrop(StackSplitFrame, nil, nil, .75)
|
|
CreateBackdropShadow(StackSplitFrame)
|
|
|
|
SkinButton(StackSplitOkayButton)
|
|
SkinButton(StackSplitCancelButton)
|
|
end)
|
|
|
|
pfUI:RegisterSkin("Coin Pickup", "vanilla:tbc", function ()
|
|
StripTextures(CoinPickupFrame)
|
|
CreateBackdrop(CoinPickupFrame, nil, nil, .75)
|
|
CreateBackdropShadow(CoinPickupFrame)
|
|
|
|
SkinButton(CoinPickupOkayButton)
|
|
SkinButton(CoinPickupCancelButton)
|
|
end)
|
|
|
|
pfUI:RegisterSkin("Color Picker", "vanilla:tbc", function ()
|
|
CreateBackdrop(ColorPickerFrame)
|
|
CreateBackdropShadow(ColorPickerFrame)
|
|
|
|
ColorPickerFrameHeader:SetTexture("")
|
|
|
|
SkinButton(ColorPickerOkayButton)
|
|
ColorPickerOkayButton:ClearAllPoints()
|
|
ColorPickerOkayButton:SetPoint("BOTTOMRIGHT", ColorPickerFrame, "BOTTOM", -4, 10)
|
|
SkinButton(ColorPickerCancelButton)
|
|
ColorPickerCancelButton:ClearAllPoints()
|
|
ColorPickerCancelButton:SetPoint("BOTTOMLEFT", ColorPickerFrame, "BOTTOM", 4, 10)
|
|
|
|
SkinSlider(OpacitySliderFrame)
|
|
end)
|
|
|
|
pfUI:RegisterSkin("Opacity", "vanilla:tbc", function ()
|
|
CreateBackdrop(OpacityFrame, nil, true, .75)
|
|
CreateBackdropShadow(OpacityFrame)
|
|
|
|
SkinSlider(OpacityFrameSlider)
|
|
OpacityFrameSlider:ClearAllPoints()
|
|
OpacityFrameSlider:SetPoint("CENTER", 0, 0)
|
|
end)
|
|
|
|
pfUI:RegisterSkin("Tutorial", "vanilla:tbc", function ()
|
|
CreateBackdrop(TutorialFrame, nil, true, .75)
|
|
CreateBackdropShadow(TutorialFrame)
|
|
|
|
SkinCheckbox(TutorialFrameCheckButton)
|
|
SkinButton(TutorialFrameOkayButton)
|
|
end)
|
|
|
|
pfUI:RegisterSkin("Quest Timer", "vanilla:tbc", function ()
|
|
CreateBackdrop(QuestTimerFrame, nil, nil, .75)
|
|
CreateBackdropShadow(QuestTimerFrame)
|
|
|
|
QuestTimerHeader:Hide()
|
|
end)
|