some minor changes to avoid long access paths into tables

This commit is contained in:
HW committed 2012-05-27 18:23:01 +02:00
1 parent a92f63bfed
commit c136773203
2 files changed
+48 -36

No files matched your search

+7
View File
@@ -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