Media player - Layout improvement

- Removed button "Stop"
- Increase touch area for buttons
- Redistributed buttons on page
This commit is contained in:
Edward Firmo
2023-09-17 12:43:18 +02:00
parent 581808a123
commit 60c47ff82c
10 changed files with 50 additions and 118 deletions

View File

@@ -48,33 +48,33 @@ Variable (string) back_page
Variable (string) lastclick
Attributes
ID : 20
ID : 19
Scope : local
Text :
Max. Text Size: 255
Variable (string) va0
Attributes
ID : 23
ID : 22
Scope : local
Text :
Max. Text Size: 10
Variable (int32) is_muted
Attributes
ID : 24
ID : 23
Scope: local
Value: 0
Variable (int32) prg_current
Attributes
ID : 26
ID : 25
Scope: local
Value: 0
Variable (int32) prg_total
Attributes
ID : 27
ID : 26
Scope: local
Value: 0
@@ -390,35 +390,9 @@ Text bt_play_pause
printh 00
printh FF FF FF
Text bt_stop
Attributes
ID : 17
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
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 92
prints "localevent",0
printh 00
prints "{\"page\": \"media_player\", \"key\": \"media_stop\"}",0
printh 00
printh FF FF FF
Text bt_next
Attributes
ID : 18
ID : 17
Scope : local
Dragging : 0
Send Component ID : disabled
@@ -444,7 +418,7 @@ Text bt_next
Text bt_on_off
Attributes
ID : 19
ID : 18
Scope : local
Dragging : 0
Send Component ID : disabled
@@ -550,7 +524,7 @@ Button button_back
Timer wakeup_timer
Attributes
ID : 21
ID : 20
Scope : local
Period (ms): 100
Enabled : yes
@@ -573,7 +547,7 @@ Timer wakeup_timer
Timer timer0
Attributes
ID : 22
ID : 21
Scope : local
Period (ms): 1000
Enabled : no
@@ -593,7 +567,7 @@ Timer timer0
Timer prg_timer
Attributes
ID : 25
ID : 24
Scope : local
Period (ms): 1000
Enabled : no