Mercurial > wow > devian
diff UI.lua @ 45:5341e4d84622
Removed dock manager from the TOC for now
Parts of the config dialog in, needs finishing
author | Nenue |
---|---|
date | Wed, 30 Dec 2015 07:05:38 -0500 |
parents | 02e4a69afad5 |
children | eb7544afd77a |
line wrap: on
line diff
--- a/UI.lua Tue Dec 29 20:22:18 2015 -0500 +++ b/UI.lua Wed Dec 30 07:05:38 2015 -0500 @@ -96,8 +96,8 @@ c.out.backdrop:SetTexture(unpack(db.frontdrop)) c.out.backdrop:SetGradientAlpha(unpack(db.frontgrad)) c.out.backdrop:SetBlendMode(db.frontblend) - c.dropmenu.icon:SetVertexColor(unpack(db.headerfontcolor)) - c.title:SetTextColor(unpack(db.headerfontcolor)) + c.dropmenu.icon:SetVertexColor(unpack(db.frontheader)) + c.title:SetTextColor(unpack(db.frontborder)) db.current_channel = c.index for _, part in pairs(c.border) do @@ -114,7 +114,7 @@ bc.out.backdrop:SetTexture(unpack(db.backdrop)) bc.out.backdrop:SetGradientAlpha(unpack(db.backgrad)) bc.out.backdrop:SetBlendMode(db.backblend) - bc.dropmenu.icon:SetVertexColor(unpack(db.backborder)) + bc.dropmenu.icon:SetVertexColor(unpack(db.backheader)) bc.title:SetTextColor(unpack(db.backborder)) for _, part in pairs(bc.border) do @@ -187,6 +187,7 @@ f.out.backdrop:SetTexture(unpack(db.frontdrop)) f.dropmenu.icon:SetVertexColor(unpack(db.headerfontcolor)) f.title:SetTextColor(unpack(db.headerfontcolor)) + f.header:SetAlpha(db.headeralpha) else f.out.backdrop:SetTexture(unpack(db.backdrop)) end @@ -340,6 +341,7 @@ if channel.enabled and db.enabled then -- hide or show last since Min/Max mess with visibility --print('setchan(5a) enable') channel:Show() + channel:ToFront() else --print('setchan(5a) disable') channel:Hide()