comparison ui/AmrUiPanel.lua @ 81:0515882856f1 v38

updated for 7.0
author yellowfive
date Tue, 19 Jul 2016 10:05:32 -0700
parents 01b63b8ed811
children
comparison
equal deleted inserted replaced
80:8f235b016212 81:0515882856f1
32 self:EnableMouse(false) 32 self:EnableMouse(false)
33 self.frame:ClearAllPoints() 33 self.frame:ClearAllPoints()
34 end, 34 end,
35 35
36 ["SetBackgroundColor"] = function(self, color, a) 36 ["SetBackgroundColor"] = function(self, color, a)
37 self.bg:SetTexture(color.R, color.G, color.B, a or 1) 37 self.bg:SetColorTexture(color.R, color.G, color.B, a or 1)
38 end, 38 end,
39 39
40 -- set a transparent bg to make this panel invisible 40 -- set a transparent bg to make this panel invisible
41 ["SetTransparent"] = function(self) 41 ["SetTransparent"] = function(self)
42 self:SetBackgroundColor(Amr.Colors.Black, 0) 42 self:SetBackgroundColor(Amr.Colors.Black, 0)