Update Input

This commit is contained in:
Sabine Lim
2023-05-16 02:31:13 +10:00
parent 84b3263ff2
commit 818f7ef134

View File

@@ -37,6 +37,14 @@ return function(name, basalt)
return objectType==t or base.isType~=nil and base.isType(t) or false
end,
setDefaultFG = function(self, fCol)
return self:setDefaultText(self, defaultText, fCol, nil)
end,
setDefaultBG = function(self, bCol)
return self:setDefaultText(self, defaultText, nil, bCol)
end,
setDefaultText = function(self, text, fCol, bCol)
defaultText = text
defaultFGCol = fCol or defaultFGCol