add speaker selection (add nextion2text)

This commit is contained in:
joBr99
2022-12-08 22:30:25 +00:00
committed by github-actions[bot]
parent c74e5f8b52
commit 8c35275924
6 changed files with 128 additions and 28 deletions

View File

@@ -1057,7 +1057,7 @@
│ Disable release event after dragging: 0
│ Send Component ID : disabled
│ @@ -484,260 +431,14 @@
│ @@ -484,280 +431,14 @@
│ crcputs tSend.txt,0
│ //send cmd
│ printh 55 bb
@@ -1131,6 +1131,10 @@
│ - {
│ - page popupInSel
│ - }
│ - if(type2.txt=="media_pl")
│ - {
│ - page popupInSel
│ - }
│ -
│ - Touch Release Event
│ - tmLP.en=0
@@ -1172,6 +1176,10 @@
│ - {
│ - page popupInSel
│ - }
│ - if(type3.txt=="media_pl")
│ - {
│ - page popupInSel
│ - }
│ -
│ - Touch Release Event
│ - tmLP.en=0
@@ -1213,6 +1221,10 @@
│ - {
│ - page popupInSel
│ - }
│ - if(type4.txt=="media_pl")
│ - {
│ - page popupInSel
│ - }
│ -
│ - Touch Release Event
│ - tmLP.en=0
@@ -1254,6 +1266,10 @@
│ - {
│ - page popupInSel
│ - }
│ - if(type5.txt=="media_pl")
│ - {
│ - page popupInSel
│ - }
│ -
│ - Touch Release Event
│ - tmLP.en=0
@@ -1291,7 +1307,11 @@
│ - {
│ - page popupShutter
│ - }
│ - if(type6.txt=="input_sel")
│ - if(entn.txt=="input_sel")
│ - {
│ - page popupInSel
│ - }
│ - if(type6.txt=="media_pl")
│ - {
│ - page popupInSel
│ - }
@@ -1318,7 +1338,7 @@
│ Disable release event after dragging: 0
│ Send Component ID : disabled
│ State : unpressed
│ @@ -837,31 +538,14 @@
│ @@ -857,31 +538,14 @@
│ Period (ms): 100
│ Enabled : no
@@ -1350,7 +1370,7 @@
│ Enabled : yes
│ Events
│ @@ -907,15 +591,15 @@
│ @@ -927,15 +591,15 @@
│ // here is the location where acual code should be
│ // write command to variable strCommand
│ ucopy strCommand.txt,4,payloadLength-5,0
@@ -1367,7 +1387,7 @@
│ if(tTmp.txt=="0")
│ {
│ vis bPrev,0
│ @@ -951,183 +635,111 @@
│ @@ -971,183 +635,111 @@
│ if(tTmp.txt=="2")
│ {
│ vis bNext,1
@@ -1618,7 +1638,7 @@
│ //write name of speical page to tId
│ spstr strCommand.txt,tId.txt,"~",1
│ //save second arg if there's one
│ @@ -1184,63 +796,38 @@
│ @@ -1204,63 +796,38 @@
│ {
│ page cardQR
│ }
@@ -1649,14 +1669,14 @@
│ - // get background color
│ - spstr strCommand.txt,tTmp.txt,"~",3
│ - if(tTmp.txt!="")
- {
+ if(tId.txt=="cardChart")
│ {
│ - covx tTmp.txt,defaultBcoColor,0,0
│ - }
│ - // get font color
│ - spstr strCommand.txt,tTmp.txt,"~",4
│ - if(tTmp.txt!="")
+ if(tId.txt=="cardChart")
│ {
- {
│ - covx tTmp.txt,defaultFontColor,0,0
│ + page cardChart
│ }