Update Radio
This commit is contained in:
@@ -53,20 +53,52 @@ return function(name, basalt)
|
|||||||
return self
|
return self
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
setBoxSelectionBG = function(self, bg)
|
||||||
|
return self:setBoxSelectionColor(bg, boxSelectedFG)
|
||||||
|
end,
|
||||||
|
|
||||||
|
setBoxSelectionFG = function(self, fg)
|
||||||
|
return self:setBoxSelectionColor(boxSelectedBG, fg)
|
||||||
|
end,
|
||||||
|
|
||||||
getBoxSelectionColor = function(self)
|
getBoxSelectionColor = function(self)
|
||||||
return boxSelectedBG, boxSelectedFG
|
return boxSelectedBG, boxSelectedFG
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
getBoxSelectionBG = function(self)
|
||||||
|
return boxSelectedBG
|
||||||
|
end,
|
||||||
|
|
||||||
|
getBoxSelectionFG = function(self)
|
||||||
|
return boxSelectedFG
|
||||||
|
end,
|
||||||
|
|
||||||
setBoxDefaultColor = function(self, bg, fg)
|
setBoxDefaultColor = function(self, bg, fg)
|
||||||
boxNotSelectedBG = bg
|
boxNotSelectedBG = bg
|
||||||
boxNotSelectedFG = fg
|
boxNotSelectedFG = fg
|
||||||
return self
|
return self
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
setBoxDefaultBG = function(self, bg)
|
||||||
|
return self:setBoxDefaultColor(bg, boxNotSelectedFG)
|
||||||
|
end,
|
||||||
|
|
||||||
|
setBoxDefaultFG = function(self, fg)
|
||||||
|
return self:setBoxDefaultColor(boxNotSelectedBG, fg)
|
||||||
|
end,
|
||||||
|
|
||||||
getBoxDefaultColor = function(self)
|
getBoxDefaultColor = function(self)
|
||||||
return boxNotSelectedBG, boxNotSelectedFG
|
return boxNotSelectedBG, boxNotSelectedFG
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
getBoxDefaultBG = function(self)
|
||||||
|
return boxNotSelectedBG
|
||||||
|
end,
|
||||||
|
|
||||||
|
getBoxDefaultFG = function(self)
|
||||||
|
return boxNotSelectedFG
|
||||||
|
end,
|
||||||
|
|
||||||
mouseHandler = function(self, button, x, y, ...)
|
mouseHandler = function(self, button, x, y, ...)
|
||||||
if (#list > 0) then
|
if (#list > 0) then
|
||||||
local obx, oby = self:getAbsolutePosition()
|
local obx, oby = self:getAbsolutePosition()
|
||||||
|
|||||||
Reference in New Issue
Block a user