Originally Posted by Haleth
I thought it even requires a logout rather than reload UI. Not sure though.
|
wel this is what my minimap addon uses.
if minimapshape == "round" then
function GetMinimapShape() return "ROUND" end
m:SetMaskTexture("Interface\\AddOns\\wMmap\\texture\\Mask-ROUND")
local r = m:CreateTexture(nil,"round")
r:SetTexture("Interface\\AddOns\\wMmap\\texture\\round")
r:SetPoint("TOPLEFT", m, "TOPLEFT", -12, 12)
r:SetPoint("BOTTOMRIGHT", m, "BOTTOMRIGHT", 12, -12)
r:SetBlendMode("BLEND")
|
but like said it needs a reload to change.
as i have
local minimapshape = "round"
|
and to change the round to the shape you want. and then you can reload. but i felt i could add this into a command.