View Single Post
08-03-10, 04:07 PM   #5
weasoug
A Flamescale Wyrmkin
 
weasoug's Avatar
AddOn Author - Click to view addons
Join Date: May 2010
Posts: 127
Originally Posted by Haleth View Post
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.
  Reply With Quote