some minor changes to avoid long access paths into tables
This commit is contained in:
1 parent
a92f63bfed
commit
c136773203
2 files changed
+48
-36
No files matched your search
@@ -63,6 +63,13 @@ function WidgetContainer:getSize()
|
||||
end
|
||||
end
|
||||
|
||||
--[[
|
||||
delete all child widgets
|
||||
]]--
|
||||
function WidgetContainer:clear()
|
||||
while table.remove(self) do end
|
||||
end
|
||||
|
||||
function WidgetContainer:paintTo(bb, x, y)
|
||||
-- default to pass request to first child widget
|
||||
if self[1] then
|
||||
|
||||
Reference in new issue
Block a user