register base components in factory, interest moved to druid.data

This commit is contained in:
Insality
2019-03-27 00:46:58 +03:00
parent c894c16ed9
commit e986b2c3b8
3 changed files with 66 additions and 33 deletions

View File

@@ -4,15 +4,6 @@ local ADD_FOCUS = hash("acquire_input_focus")
local REMOVE_FOCUS = hash("release_input_focus")
local PATH_OBJ = "."
M.A_CLICK = hash("click")
M.A_TEXT = hash("text")
M.A_BACKSPACE = hash("backspace")
M.A_ENTER = hash("enter")
M.A_ANDR_BACK = hash("back")
M.RELEASED = "released"
M.PRESSED = "pressed"
function M.focus()
msg.post(PATH_OBJ, ADD_FOCUS)
end