Mercurial > wow > devian
diff UI.lua @ 83:80ad43c94033
- 7.0.3 function changes
author | Nenue |
---|---|
date | Tue, 19 Jul 2016 13:47:47 -0400 |
parents | da5ff1fc9fb6 |
children | e80723841888 |
line wrap: on
line diff
--- a/UI.lua Sun Jul 10 06:04:29 2016 -0400 +++ b/UI.lua Tue Jul 19 13:47:47 2016 -0400 @@ -94,7 +94,7 @@ local profile = D.currentProfile c:Raise() c:SetAlpha(db.frontalpha) - c.out.backdrop:SetTexture(unpack(db.frontdrop)) + c.out.backdrop:SetColorTexture(unpack(db.frontdrop)) c.out.backdrop:SetGradientAlpha(unpack(db.frontgrad)) c.out.backdrop:SetBlendMode(db.frontblend) c.dropmenu.icon:SetVertexColor(unpack(db.frontheader)) @@ -114,13 +114,13 @@ D.UpdateBeacon(beacon) for _, part in pairs(c.border) do - part:SetTexture(unpack(db.frontborder)) + part:SetColorTexture(unpack(db.frontborder)) end for id, bc in pairs(D.console) do if id ~= c.index then bc:SetAlpha(db.backalpha) - bc.out.backdrop:SetTexture(unpack(db.backdrop)) + bc.out.backdrop:SetColorTexture(unpack(db.backdrop)) bc.out.backdrop:SetGradientAlpha(unpack(db.backgrad)) bc.out.backdrop:SetBlendMode(db.backblend) bc.dropmenu.icon:SetVertexColor(unpack(db.backheader)) @@ -133,7 +133,7 @@ D.UpdateBeacon(beacon) for _, part in pairs(bc.border) do - part:SetTexture(unpack(db.backborder)) + part:SetColorTexture(unpack(db.backborder)) end end end @@ -192,12 +192,12 @@ f:Lower() f.out:SetFont(db.font, db.fontsize, db.fontoutline) if (db.current_channel == i) then - f.out.backdrop:SetTexture(unpack(db.frontdrop)) + f.out.backdrop:SetColorTexture(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)) + f.out.backdrop:SetColorTexture(unpack(db.backdrop)) end f.Save = Console_Save @@ -457,7 +457,7 @@ local frame_helper = CreateFrame('Frame', 'DevianFrameHelper', UIParent) frame_helper.fill = frame_helper:CreateTexture(nil, 'BACKGROUND') -frame_helper.fill:SetTexture(1,0,0,1) +frame_helper.fill:SetColorTexture(1,0,0,1) frame_helper.fill:SetAllPoints(frame_helper) D.FrameHelper_Update = function(input, editbox) local frame, func = D:GetArgs(input,2)