This commit is contained in:
airstruck
2015-12-16 22:21:54 -05:00
parent 75ff950ff1
commit 0cc107acd2

View File

@@ -113,6 +113,12 @@ Widget.typeDecorators = {
text = require(ROOT .. 'widget.text'),
}
--[[--
Static Functions
@section static
--]]--
--[[--
Register a custom widget type.
@@ -128,6 +134,10 @@ function Widget.register (name, decorator)
Widget.typeDecorators[name] = decorator
end
--[[--
@section end
--]]--
-- look for properties in attributes, Widget, style, and theme
local function metaIndex (self, property)
-- look in widget's own attributes