feat: add network management UI for kobo

This commit is contained in:
Qingping Hou
2016-06-25 17:53:08 -07:00
parent ab9a86788f
commit 20eb36a03d
32 changed files with 970 additions and 107 deletions

View File

@@ -1,3 +1,16 @@
--[[--
ImageWidget shows an image from a file
Example:
UIManager:show(ImageWidget:new{
file = "resources/info-i.png",
-- Make sure alpha is set to true if png has transparent background
-- alpha = true,
})
]]
local Widget = require("ui/widget/widget")
local Screen = require("device").screen
local CacheItem = require("cacheitem")
@@ -23,9 +36,6 @@ function ImageCacheItem:onFree()
end
end
--[[
ImageWidget shows an image from a file
--]]
local ImageWidget = Widget:new{
file = nil,
image = nil,