|
|
|
@ -276,6 +276,17 @@ function HorizontalGroup:free()
|
|
|
|
|
WidgetContainer.free(self)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
--[[
|
|
|
|
|
Dummy Widget that reserves horizontal space
|
|
|
|
|
]]
|
|
|
|
|
HorizontalSpan = Widget:new{
|
|
|
|
|
width = 0,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function HorizontalSpan:getSize()
|
|
|
|
|
return {w = self.width, h = 0}
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
--[[
|
|
|
|
|
A Layout widget that puts objects under each other
|
|
|
|
|
]]
|
|
|
|
@ -324,6 +335,17 @@ function VerticalGroup:free()
|
|
|
|
|
WidgetContainer.free(self)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
--[[
|
|
|
|
|
Dummy Widget that reserves vertical space
|
|
|
|
|
]]
|
|
|
|
|
VerticalSpan = Widget:new{
|
|
|
|
|
width = 0,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function VerticalSpan:getSize()
|
|
|
|
|
return {w = 0, h = self.width}
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
--[[
|
|
|
|
|
an UnderlineContainer is a WidgetContainer that is able to paint
|
|
|
|
|
a line under its child node
|
|
|
|
|