addonbuttons: add more positions

* add top and right position
* use native arrow button skin
* remove old button backdrop
This commit is contained in:
shagu
2019-03-31 14:59:20 +02:00
parent a32732a1dd
commit 139cdbae94
3 changed files with 24 additions and 17 deletions
+2 -1
View File
@@ -379,11 +379,12 @@ function pfUI.api.SkinArrowButton(button, dir)
if not button.icon then
button.icon = button:CreateTexture(nil, "ARTWORK")
button.icon:SetTexture("Interface\\AddOns\\pfUI\\img\\" .. dir)
button.icon:SetAlpha(.8)
SetAllPointsOffset(button.icon, button, 3)
end
button.icon:SetTexture("Interface\\AddOns\\pfUI\\img\\" .. dir)
if not button.pfScripted then
local enable = button.Enable
local disable = button.Disable