Bugs Fixed

This commit is contained in:
Cooldude2606
2019-05-06 13:38:05 +01:00
parent 2119378fad
commit 6d1c907484
7 changed files with 69 additions and 35 deletions

View File

@@ -9,16 +9,19 @@ function Gui._extend_prototype(tbl)
for k,v in pairs(Gui._prototype) do
if not tbl[k] then tbl[k] = v end
end
return tbl
end
--- Sets the caption for the element config
function Gui._prototype:set_caption(caption)
self.caption = caption
return self
end
--- Sets the tooltip for the element config
function Gui._prototype:set_tooltip(tooltip)
self.tooltip = tooltip
return self
end
function Gui.toggle_enable(element)