sync us-l version (add nextion2text)

This commit is contained in:
joBr99
2022-05-15 09:04:05 +00:00
committed by github-actions[bot]
parent 2f7d240379
commit 3b47f25adb
18 changed files with 2461 additions and 1975 deletions

View File

@@ -64,7 +64,7 @@ Text tSend
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 15
x coordinate : 16
y coordinate : 0
Width : 230
Height : 15
@@ -94,7 +94,7 @@ Text tTmp
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 29
x coordinate : 14
y coordinate : 156
Width : 27
Height : 30
@@ -124,7 +124,7 @@ Text tInstruction
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 311
x coordinate : 296
y coordinate : 0
Width : 100
Height : 20
@@ -154,7 +154,7 @@ Text tId
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 64
x coordinate : 49
y coordinate : 159
Width : 30
Height : 30
@@ -216,7 +216,7 @@ Text tTitle
Opacity : 127
x coordinate : 99
y coordinate : 78
Width : 360
Width : 358
Height : 25
Effect : load
Effect Priority : 0
@@ -246,7 +246,7 @@ Text tAuthor
Opacity : 127
x coordinate : 100
y coordinate : 108
Width : 360
Width : 358
Height : 25
Effect : load
Effect Priority : 0
@@ -274,7 +274,7 @@ Text t2
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 321
x coordinate : 317
y coordinate : 145
Width : 50
Height : 50
@@ -323,7 +323,7 @@ Text tPlayPause
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 218
x coordinate : 214
y coordinate : 145
Width : 50
Height : 50
@@ -372,7 +372,7 @@ Text t0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 111
x coordinate : 107
y coordinate : 145
Width : 50
Height : 50
@@ -451,7 +451,7 @@ Text t1
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 20
x coordinate : 22
y coordinate : 201
Width : 50
Height : 50
@@ -475,7 +475,7 @@ Text t1
Events
Touch Press Event
hVolume.val=hVolume.val-5
hVolume.val=hVolume.val-1
// event,buttonPress2,internalNameEntity,volumeSlider,50
//craft command
tSend.txt="event,buttonPress2,"+entn.txt+",volumeSlider,"
@@ -501,7 +501,7 @@ Text t3
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 412
x coordinate : 408
y coordinate : 201
Width : 50
Height : 50
@@ -525,7 +525,7 @@ Text t3
Events
Touch Press Event
hVolume.val=hVolume.val+5
hVolume.val=hVolume.val+1
// event,buttonPress2,internalNameEntity,volumeSlider,50
//craft command
tSend.txt="event,buttonPress2,"+entn.txt+",volumeSlider,"
@@ -672,7 +672,7 @@ Text t5
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 412
x coordinate : 408
y coordinate : 145
Width : 50
Height : 50
@@ -738,9 +738,9 @@ Slider hVolume
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 74
x coordinate : 76
y coordinate : 206
Width : 335
Width : 328
Height : 43
Effect : load
Effect Priority : 0
@@ -877,6 +877,117 @@ Button bPrev
prints tSend.txt,0
prints crcval,2
Hotspot mSwipeNext
Attributes
ID : 30
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 472
y coordinate : 5
Width : 8
Height : 310
Effect : load
Effect Priority : 0
Effect Time : 300
Events
Touch Press Event
//This thin hotspot down the edge will intercept swipes
//from the bezel into the screen area before the
//Nextion register touch for any other components -
//IF the hotspot is 'layered' at the top (use the up
//arrow at the far left of the Nextion Editor Tool Bar).
//
//Calibrate how wide the edge hotspot has to be on your
//own physical device using this screen to test the
//x & y coordinates where the swipe is first detected.)
//---------------------------
//The navigation text is stored as local variable within tld.txt
//Pressing right button if swiped on the right side of the screen
//
spstr tId.txt,tTmp.txt,"|",1
if(tTmp.txt=="1")
{
click bNext,1
}
Hotspot mSwipeUp
Attributes
ID : 31
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 12
y coordinate : 0
Width : 426
Height : 9
Effect : load
Effect Priority : 0
Effect Time : 300
Events
Touch Press Event
//This thin hotspot down the edge will intercept swipes
//from the bezel into the screen area before the
//Nextion register touch for any other components -
//IF the hotspot is 'layered' at the top (use the up
//arrow at the far left of the Nextion Editor Tool Bar).
//
//Calibrate how wide the edge hotspot has to be on your
//own physical device using this screen to test the
//x & y coordinates where the swipe is first detected.)
//---------------------------
//The navigation text is stored as local variable within tld.txt
//Pressing up button if swiped on the top side of the screen
//
spstr tId.txt,tTmp.txt,"|",0
if(tTmp.txt=="2")
{
click bPrev,1
}
Hotspot mSwipePrev
Attributes
ID : 32
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 0
y coordinate : 5
Width : 9
Height : 310
Effect : load
Effect Priority : 0
Effect Time : 300
Events
Touch Press Event
//This thin hotspot down the edge will intercept swipes
//from the bezel into the screen area before the
//Nextion register touch for any other components -
//IF the hotspot is 'layered' at the top (use the up
//arrow at the far left of the Nextion Editor Tool Bar).
//
//Calibrate how wide the edge hotspot has to be on your
//own physical device using this screen to test the
//x & y coordinates where the swipe is first detected.)
//---------------------------
//The navigation text is stored as local variable within tld.txt
//Pressing left button if swiped on the left side of the screen
//
spstr tId.txt,tTmp.txt,"|",0
if(tTmp.txt=="1")
{
click bPrev,1
}
Timer tmSerial
Attributes
ID : 6