View Single Post
02-03-22, 12:47 PM   #7
darhanger
A Fallenroot Satyr
 
darhanger's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2017
Posts: 20
Originally Posted by Fizzlemizz View Post
Lua Code:
  1. local f = CreateFrame("Button", nil, UIParent)
  2. f:SetSize(32, 32)
  3. f:SetPoint("CENTER")
  4. f:SetNormalTexture("Interface/BUTTONS/UI-GroupLoot-Coin-Up.blp")
  5. f:SetPushedTexture("Interface/BUTTONS/UI-GroupLoot-Coin-Down.blp")
  6. f.Texture = f:CreateTexture(nil, "OVERLAY")
  7. f.Texture:SetAlpha(0.9)
  8. f.Texture:SetPoint("TOPLEFT", -3, 3)
  9. f.Texture:SetPoint("BOTTOMRIGHT", -3, 3)
  10. f.Texture:SetTexture("Interface/Minimap/MiniMap-TrackingBorder")
  11. f.Texture:SetTexCoord(0.05, 0.54180000305167, 0.03, 0.5199999833107)
the SetTexCoord and SetPoints can be better adjusted if you want to go with the "full sized" overlay.
Try change "Interface/BUTTONS/UI-GroupLoot-Coin-Up.blp" to "Interface\\Icons\\inv_misc_head_dragon_01"

and got like this:


Any idea how fix it?
  Reply With Quote