thirdparty: add ktm support

This commit is contained in:
shagu
2016-12-30 03:13:28 +01:00
parent f08d57fffb
commit 697bfad529
4 changed files with 84 additions and 1 deletions
Vendored
+4
View File
@@ -198,11 +198,15 @@ function pfUI.api:SkinButton(button, cr, cg, cb)
b:SetHighlightTexture(nil)
b:SetPushedTexture(nil)
b:SetDisabledTexture(nil)
local funce = b:GetScript("OnEnter")
local funcl = b:GetScript("OnLeave")
b:SetScript("OnEnter", function()
if funce then funce() end
pfUI.api:CreateBackdrop(b, nil, true)
b:SetBackdropBorderColor(cr,cg,cb,1)
end)
b:SetScript("OnLeave", function()
if funcl then funcl() end
pfUI.api:CreateBackdrop(b, nil, true)
end)
b:SetFont(pfUI.font_default, pfUI_config.global.font_size, "OUTLINE")