Mercurial > wow > devian
comparison UI.lua @ 60:59e047d6c5de v2.1.60
- Frame fading on movement re-implemented.
- Fixed front console losing focus between reloads.
| author | Nenue |
|---|---|
| date | Tue, 26 Jan 2016 16:43:03 -0500 |
| parents | 0a9a6740ea5d |
| children | 8729d39f6a3d |
comparison
equal
deleted
inserted
replaced
| 59:5b1c570b1cfd | 60:59e047d6c5de |
|---|---|
| 66 c.out.backdrop:SetTexture(unpack(db.frontdrop)) | 66 c.out.backdrop:SetTexture(unpack(db.frontdrop)) |
| 67 c.out.backdrop:SetGradientAlpha(unpack(db.frontgrad)) | 67 c.out.backdrop:SetGradientAlpha(unpack(db.frontgrad)) |
| 68 c.out.backdrop:SetBlendMode(db.frontblend) | 68 c.out.backdrop:SetBlendMode(db.frontblend) |
| 69 c.dropmenu.icon:SetVertexColor(unpack(db.frontheader)) | 69 c.dropmenu.icon:SetVertexColor(unpack(db.frontheader)) |
| 70 c.title:SetTextColor(unpack(db.frontborder)) | 70 c.title:SetTextColor(unpack(db.frontborder)) |
| 71 | |
| 72 oldprint('changing current toplevel from', db.current_channel, 'to', c.index) | |
| 71 db.current_channel = c.index | 73 db.current_channel = c.index |
| 74 | |
| 75 oldprint('toplevel is now', db.current_channel) | |
| 76 c:Save() | |
| 77 | |
| 72 | 78 |
| 73 -- update dock buttons | 79 -- update dock buttons |
| 74 local beacon = D.dock.buttons[c.index] | 80 local beacon = D.dock.buttons[c.index] |
| 75 beacon.selected = true | 81 beacon.selected = true |
| 76 beacon.newMessage = nil | 82 beacon.newMessage = nil |
| 317 end | 323 end |
| 318 | 324 |
| 319 if channel.enabled then -- hide or show last since Min/Max mess with visibility | 325 if channel.enabled then -- hide or show last since Min/Max mess with visibility |
| 320 --print('setchan(5a) enable') | 326 --print('setchan(5a) enable') |
| 321 channel:Show() | 327 channel:Show() |
| 322 channel:ToFront() | 328 --channel:ToFront() |
| 323 else | 329 else |
| 324 --print('setchan(5a) disable') | 330 --print('setchan(5a) disable') |
| 325 channel:Hide() | 331 channel:Hide() |
| 326 end | 332 end |
| 327 --@debug@ | 333 --@debug@ |
