shadow properties

This commit is contained in:
airstruck
2015-11-02 23:38:51 -05:00
parent f436093380
commit 997f9c8d12
103 changed files with 88 additions and 62 deletions

View File

@@ -11,15 +11,15 @@ local Layout = Base:extend()
function Layout:constructor (data)
self.accelerators = {}
self:addDefaultHandlers()
self:setStyle()
self:setTheme(require(ROOT .. 'theme.light'))
self.isMousePressed = false
self.isManagingInput = false
self.hooks = {}
self.root = Widget(self, data)
self:addDefaultHandlers()
self.root = data or {}
Widget(self, self.root)
end
-- focus a widget if it's focusable, and return success