mirror of https://github.com/koreader/koreader
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
257 B
Lua
16 lines
257 B
Lua
11 years ago
|
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
|