2
0
mirror of https://github.com/koreader/koreader synced 2024-11-18 03:25:46 +00:00
koreader/frontend/ui/widget/rectspan.lua
2013-10-18 22:38:07 +02:00

16 lines
257 B
Lua

local Widget = require("ui/widget/widget")
--[[
Dummy Widget that reserves vertical and horizontal space
]]
local RectSpan = Widget:new{
width = 0,
hright = 0,
}
function RectSpan:getSize()
return {w = self.width, h = self.height}
end
return RectSpan