mirror of
https://github.com/Insality/druid.git
synced 2025-09-27 18:12:19 +02:00
update scroll and helper
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
local M = {}
|
||||
|
||||
-- actions
|
||||
|
||||
-- Actions
|
||||
M.A_TOUCH = hash("touch")
|
||||
M.A_TEXT = hash("text")
|
||||
M.A_BACKSPACE = hash("backspace")
|
||||
@@ -11,21 +10,20 @@ M.A_ANDR_BACK = hash("back")
|
||||
M.RELEASED = "released"
|
||||
M.PRESSED = "pressed"
|
||||
|
||||
--- interests
|
||||
|
||||
--- Interests
|
||||
M.ON_MESSAGE = hash("on_message")
|
||||
M.ON_UPDATE = hash("on_update")
|
||||
|
||||
-- input
|
||||
-- Input
|
||||
M.ON_SWIPE = hash("on_swipe")
|
||||
M.ON_INPUT = hash("on_input")
|
||||
|
||||
M.ui_input = {
|
||||
[M.ON_SWIPE] = true,
|
||||
[M.ON_INPUT] = true
|
||||
|
||||
}
|
||||
-- ui messages
|
||||
|
||||
-- UI messages
|
||||
M.ON_CHANGE_LANGUAGE = hash("on_change_language")
|
||||
M.ON_LAYOUT_CHANGED = hash("on_layout_changed")
|
||||
|
||||
|
Reference in New Issue
Block a user