sync us-l (add nextion2text)

This commit is contained in:
joBr99
2022-07-23 09:50:34 +00:00
committed by github-actions[bot]
parent fc355d8169
commit 775d3b44c2
30 changed files with 2134 additions and 934 deletions

View File

@@ -29,6 +29,21 @@ Page cardMedia
vis t5,0
vis bPrev,0
vis bNext,0
cardMedia.bco=defaultBcoColor
for(sys0=0;sys0<34;sys0++)
{
if(b[sys0].type==98||b[sys0].type==116)
{
b[sys0].bco=defaultBcoColor
b[sys0].pco=defaultFontColor
}
}
if(defaultBcoColor==0)
{
hVolume.pic=14
hVolume.pic1=13
hVolume.pic2=15
}
Variable (string) strCommand
Attributes
@@ -72,7 +87,7 @@ Text tSend
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 17
x coordinate : 16
y coordinate : 0
Width : 230
Height : 15
@@ -102,7 +117,7 @@ Text tTmp
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 31
x coordinate : 30
y coordinate : 156
Width : 27
Height : 30
@@ -132,7 +147,7 @@ Text tInstruction
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 313
x coordinate : 312
y coordinate : 0
Width : 100
Height : 20
@@ -162,7 +177,7 @@ Text tId
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 66
x coordinate : 65
y coordinate : 159
Width : 30
Height : 30
@@ -192,7 +207,7 @@ Text tHeading
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 128
x coordinate : 127
y coordinate : 26
Width : 228
Height : 30
@@ -222,7 +237,7 @@ Text tTitle
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 101
x coordinate : 100
y coordinate : 78
Width : 358
Height : 25
@@ -252,7 +267,7 @@ Text tAuthor
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 102
x coordinate : 101
y coordinate : 108
Width : 358
Height : 25
@@ -282,7 +297,7 @@ Text t2
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 319
x coordinate : 318
y coordinate : 145
Width : 50
Height : 50
@@ -331,7 +346,7 @@ Text tPlayPause
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 216
x coordinate : 215
y coordinate : 145
Width : 50
Height : 50
@@ -380,7 +395,7 @@ Text t0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 109
x coordinate : 108
y coordinate : 145
Width : 50
Height : 50
@@ -429,7 +444,7 @@ Text tIcon
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 28
x coordinate : 27
y coordinate : 75
Width : 71
Height : 62
@@ -477,7 +492,7 @@ Text t1
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 24
x coordinate : 23
y coordinate : 201
Width : 50
Height : 50
@@ -527,7 +542,7 @@ Text t3
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 410
x coordinate : 409
y coordinate : 201
Width : 50
Height : 50
@@ -577,7 +592,7 @@ Text t4
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 38
x coordinate : 37
y coordinate : 262
Width : 50
Height : 50
@@ -607,7 +622,7 @@ Text tSpeaker
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 111
x coordinate : 110
y coordinate : 262
Width : 267
Height : 50
@@ -656,7 +671,7 @@ Text t6
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 398
x coordinate : 397
y coordinate : 262
Width : 50
Height : 50
@@ -698,7 +713,7 @@ Text t5
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 410
x coordinate : 409
y coordinate : 145
Width : 50
Height : 50
@@ -764,7 +779,7 @@ Slider hVolume
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 78
x coordinate : 77
y coordinate : 206
Width : 328
Height : 43
@@ -810,7 +825,7 @@ Button bNext
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 408
x coordinate : 407
y coordinate : 16
Width : 50
Height : 50
@@ -857,7 +872,7 @@ Button bPrev
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 26
x coordinate : 25
y coordinate : 16
Width : 50
Height : 50
@@ -911,9 +926,9 @@ Hotspot mSwipeNext
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 471
x coordinate : 472
y coordinate : 5
Width : 9
Width : 8
Height : 310
Effect : load
Effect Priority : 0
@@ -931,9 +946,9 @@ Hotspot mSwipeUp
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 12
x coordinate : 28
y coordinate : 0
Width : 451
Width : 426
Height : 9
Effect : load
Effect Priority : 0
@@ -1116,6 +1131,18 @@ Timer tmSerial
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
// get background color
spstr strCommand.txt,tTmp.txt,"~",3
if(tTmp.txt!="")
{
covx tTmp.txt,defaultBcoColor,0,0
}
// get font color
spstr strCommand.txt,tTmp.txt,"~",4
if(tTmp.txt!="")
{
covx tTmp.txt,defaultFontColor,0,0
}
}
if(tInstruction.txt=="timeout")
{