It is currently September 21st, 2017, 9:27 pm


Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Raynes new UI
PostPosted: July 17th, 2017, 7:11 am 
Joined: October 30th, 2013, 1:25 am
Posts: 5
Offline

http://imgur.com/a/gIfmZ
Top
 Profile  
 
 Post subject: Re: Raynes new UI
PostPosted: July 17th, 2017, 8:23 am 
Joined: October 30th, 2013, 1:25 am
Posts: 5
Offline

local Panels = LUI:Module("Panels")
if not isAllShown then
isAllShown = true




for _, k in pairs({"Chat", "Tps", "Dps", "Raid"}) do
local v = LUI.Navi[k]
if v:GetAlpha() == 0 then
local a = k == "Chat" and "ChatAlphaAnchor" or Panels.db.profile[k].Anchor

if _G[a] then
v.AlphaIn:Show()
Panels:AlphaIn(k)
end
end
end

--if db.Chat.SecondChatFrame then ChatAlphaAnchor2:Show() end
else
isAllShown = false


for _, k in pairs({"Chat", "Tps", "Dps", "Raid"}) do
local v = LUI.Navi[k]
if v:GetAlpha() == 1 then
local a = k == "Chat" and "ChatAlphaAnchor" or Panels.db.profile[k].Anchor

if _G[a] then
v.AlphaOut:Show()
Panels:AlphaOut(k)
end
end
end
end









that is the code, one uploaded had a few bugs.
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group