View Single Post
07-16-10, 04:22 AM   #9
magges
An Aku'mai Servant
 
magges's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 36
yeah i did :/ ..this problem is already solved.

But ive another problem:

Originally Posted by magges View Post
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)
  Reply With Quote