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:
@@ -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
|
||||
|
||||
@@ -88,6 +88,21 @@ Text page_label
|
||||
Text : Media Player
|
||||
Max. Text Size : 25
|
||||
|
||||
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 icon_state
|
||||
Attributes
|
||||
ID : 2
|
||||
@@ -98,6 +113,21 @@ Text icon_state
|
||||
Text :
|
||||
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
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
|
||||
Text vol_text
|
||||
Attributes
|
||||
ID : 6
|
||||
@@ -119,6 +149,13 @@ Text bt_vol_down
|
||||
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
|
||||
if(vol_slider.val>0)
|
||||
{
|
||||
@@ -145,6 +182,13 @@ Text bt_vol_up
|
||||
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
|
||||
if(vol_slider.val<100)
|
||||
{
|
||||
@@ -171,6 +215,13 @@ Text bt_mute
|
||||
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
|
||||
if(is_muted.val==1)
|
||||
{
|
||||
@@ -197,6 +248,21 @@ Text time_current
|
||||
Text :
|
||||
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
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
|
||||
Text time_total
|
||||
Attributes
|
||||
ID : 12
|
||||
@@ -207,6 +273,21 @@ Text time_total
|
||||
Text :
|
||||
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
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
|
||||
Text track
|
||||
Attributes
|
||||
ID : 13
|
||||
@@ -217,6 +298,21 @@ Text track
|
||||
Text :
|
||||
Max. Text Size : 50
|
||||
|
||||
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 artist
|
||||
Attributes
|
||||
ID : 14
|
||||
@@ -227,6 +323,21 @@ Text artist
|
||||
Text :
|
||||
Max. Text Size : 50
|
||||
|
||||
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 bt_prev
|
||||
Attributes
|
||||
ID : 15
|
||||
@@ -238,6 +349,13 @@ Text bt_prev
|
||||
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
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
@@ -257,6 +375,13 @@ Text bt_play_pause
|
||||
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
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
@@ -276,6 +401,13 @@ Text bt_stop
|
||||
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
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
@@ -295,6 +427,13 @@ Text bt_next
|
||||
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
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
@@ -314,6 +453,13 @@ Text bt_on_off
|
||||
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
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
@@ -330,6 +476,21 @@ Progress Bar time_progress
|
||||
Send Component ID: disabled
|
||||
Value : 0
|
||||
|
||||
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
|
||||
|
||||
Slider vol_slider
|
||||
Attributes
|
||||
ID : 5
|
||||
@@ -341,6 +502,13 @@ Slider vol_slider
|
||||
Lower range limit: 0
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
|
||||
Touch Release Event
|
||||
covx vol_slider.val,va0.txt,0,0
|
||||
vol_text.txt=va0.txt+"%"
|
||||
|
||||
Reference in New Issue
Block a user