View Single Post
02-02-22, 11:09 AM   #6
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,877
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.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 02-02-22 at 02:55 PM.
  Reply With Quote