Mercurial > wow > devian
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 44:8a3f42ccf920 | 45:5341e4d84622 |
|---|---|
| 94 c:Raise() | 94 c:Raise() |
| 95 c:SetAlpha(db.frontalpha) | 95 c:SetAlpha(db.frontalpha) |
| 96 c.out.backdrop:SetTexture(unpack(db.frontdrop)) | 96 c.out.backdrop:SetTexture(unpack(db.frontdrop)) |
| 97 c.out.backdrop:SetGradientAlpha(unpack(db.frontgrad)) | 97 c.out.backdrop:SetGradientAlpha(unpack(db.frontgrad)) |
| 98 c.out.backdrop:SetBlendMode(db.frontblend) | 98 c.out.backdrop:SetBlendMode(db.frontblend) |
| 99 c.dropmenu.icon:SetVertexColor(unpack(db.headerfontcolor)) | 99 c.dropmenu.icon:SetVertexColor(unpack(db.frontheader)) |
| 100 c.title:SetTextColor(unpack(db.headerfontcolor)) | 100 c.title:SetTextColor(unpack(db.frontborder)) |
| 101 db.current_channel = c.index | 101 db.current_channel = c.index |
| 102 | 102 |
| 103 for _, part in pairs(c.border) do | 103 for _, part in pairs(c.border) do |
| 104 part:SetTexture(unpack(db.frontborder)) | 104 part:SetTexture(unpack(db.frontborder)) |
| 105 end | 105 end |
| 112 --print(db.backblend) | 112 --print(db.backblend) |
| 113 bc:SetAlpha(db.backalpha) | 113 bc:SetAlpha(db.backalpha) |
| 114 bc.out.backdrop:SetTexture(unpack(db.backdrop)) | 114 bc.out.backdrop:SetTexture(unpack(db.backdrop)) |
| 115 bc.out.backdrop:SetGradientAlpha(unpack(db.backgrad)) | 115 bc.out.backdrop:SetGradientAlpha(unpack(db.backgrad)) |
| 116 bc.out.backdrop:SetBlendMode(db.backblend) | 116 bc.out.backdrop:SetBlendMode(db.backblend) |
| 117 bc.dropmenu.icon:SetVertexColor(unpack(db.backborder)) | 117 bc.dropmenu.icon:SetVertexColor(unpack(db.backheader)) |
| 118 bc.title:SetTextColor(unpack(db.backborder)) | 118 bc.title:SetTextColor(unpack(db.backborder)) |
| 119 | 119 |
| 120 for _, part in pairs(bc.border) do | 120 for _, part in pairs(bc.border) do |
| 121 part:SetTexture(unpack(db.backborder)) | 121 part:SetTexture(unpack(db.backborder)) |
| 122 end | 122 end |
| 185 f.out:SetFont(db.font, db.fontsize, db.fontoutline) | 185 f.out:SetFont(db.font, db.fontsize, db.fontoutline) |
| 186 if (db.current_channel == i) then | 186 if (db.current_channel == i) then |
| 187 f.out.backdrop:SetTexture(unpack(db.frontdrop)) | 187 f.out.backdrop:SetTexture(unpack(db.frontdrop)) |
| 188 f.dropmenu.icon:SetVertexColor(unpack(db.headerfontcolor)) | 188 f.dropmenu.icon:SetVertexColor(unpack(db.headerfontcolor)) |
| 189 f.title:SetTextColor(unpack(db.headerfontcolor)) | 189 f.title:SetTextColor(unpack(db.headerfontcolor)) |
| 190 f.header:SetAlpha(db.headeralpha) | |
| 190 else | 191 else |
| 191 f.out.backdrop:SetTexture(unpack(db.backdrop)) | 192 f.out.backdrop:SetTexture(unpack(db.backdrop)) |
| 192 end | 193 end |
| 193 | 194 |
| 194 f.Save = Console_Save | 195 f.Save = Console_Save |
| 338 end | 339 end |
| 339 | 340 |
| 340 if channel.enabled and db.enabled then -- hide or show last since Min/Max mess with visibility | 341 if channel.enabled and db.enabled then -- hide or show last since Min/Max mess with visibility |
| 341 --print('setchan(5a) enable') | 342 --print('setchan(5a) enable') |
| 342 channel:Show() | 343 channel:Show() |
| 344 channel:ToFront() | |
| 343 else | 345 else |
| 344 --print('setchan(5a) disable') | 346 --print('setchan(5a) disable') |
| 345 channel:Hide() | 347 channel:Hide() |
| 346 end | 348 end |
| 347 --@debug@ | 349 --@debug@ |
