yeah i did :/ ..this problem is already solved.
But ive another problem:
Originally Posted by magges
Oh and how can I toggle the Omen Window? Im working on my first addon .. so im not that good at lua but i give my best
/e
atlasbutton:SetScript("OnMouseDown", function() ToggleFrame(AtlasLootDefaultFrame) end)
works fine but i dont know the name of the omen frame:
OmenTitle wont work
|
+ this:
Code:
if not AtlasLootDefaultFrame:IsShown() then
text:SetText(textcolor.."AtlasLoot|r")
else
text:SetText(textcolorclicked.."AtlasLoot|r")
end
the text is already white (textcolor = white textcolorclicked = red)