add touchevents to pages media_player and confirm

To avoid panel going back to Home page while user is playing with the page.
Solves #1040
This commit is contained in:
Edward Firmo
2023-09-16 14:28:05 +02:00
parent 30a0404c4a
commit f705401896
12 changed files with 623 additions and 4 deletions

View File

@@ -86,6 +86,21 @@ Text title
Text : Please confirm
Max. Text Size : 30
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Touch Release Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text body
Attributes
ID : 8
@@ -96,6 +111,21 @@ Text body
Text : Please confirm
Max. Text Size : 22
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Touch Release Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Button bclose
Attributes
ID : 2
@@ -121,6 +151,13 @@ Button bt_accept
Max. Text Size : 3
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Touch Release Event
aux.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+component.txt+"\"}"
printh 92
@@ -142,6 +179,13 @@ Button bt_clear
Max. Text Size : 10
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Touch Release Event
page page_id.val