add color fields on cardMedia implements #584 (add nextion2text)

This commit is contained in:
joBr99
2022-11-19 22:44:31 +00:00
committed by github-actions[bot]
parent 8776498241
commit dd2bdacb6d
11 changed files with 982 additions and 87 deletions

View File

@@ -1073,18 +1073,36 @@ Timer tmSerial
spstr strCommand.txt,entn.txt,"~",3
//icon
spstr strCommand.txt,tIcon.txt,"~",4
//icon farbe
spstr strCommand.txt,tTmp.txt,"~",5
if(tTmp.txt!="")
{
covx tTmp.txt,tIcon.pco,0,0
}
//title
spstr strCommand.txt,tTitle.txt,"~",5
//author
spstr strCommand.txt,tAuthor.txt,"~",6
//volume
spstr strCommand.txt,tTitle.txt,"~",6
//title farbe
spstr strCommand.txt,tTmp.txt,"~",7
if(tTmp.txt!="")
{
covx tTmp.txt,tTitle.pco,0,0
}
//author
spstr strCommand.txt,tAuthor.txt,"~",8
//author farbe
spstr strCommand.txt,tTmp.txt,"~",9
if(tTmp.txt!="")
{
covx tTmp.txt,tAuthor.pco,0,0
}
//volume
spstr strCommand.txt,tTmp.txt,"~",10
covx tTmp.txt,sys0,0,0
hVolume.val=sys0
//icon
spstr strCommand.txt,tPlayPause.txt,"~",8
spstr strCommand.txt,tPlayPause.txt,"~",11
//speaker current
spstr strCommand.txt,tSpeaker.txt,"~",9
spstr strCommand.txt,tSpeaker.txt,"~",12
if(tSpeaker.txt!="")
{
tSpeaker.pco=1374
@@ -1093,14 +1111,14 @@ Timer tmSerial
tSpeaker.pco=65535
}
//speaker list
spstr strCommand.txt,vaSpeakerList.txt,"~",10
spstr strCommand.txt,vaSpeakerList.txt,"~",13
if(vaSpeakerList.txt=="")
{
vis t6,0
}
vaSpeakerPos.val=0
// on off button
spstr strCommand.txt,tTmp.txt,"~",11
spstr strCommand.txt,tTmp.txt,"~",14
if(tTmp.txt=="disable")
{
vis t5,0
@@ -1110,7 +1128,7 @@ Timer tmSerial
covx tTmp.txt,t5.pco,0,0
}
//tIconBtnEntityName
spstr strCommand.txt,vaMenu.txt,"~",12
spstr strCommand.txt,vaMenu.txt,"~",15
}
if(tInstruction.txt=="time")
{

View File

@@ -10,10 +10,6 @@ pageTest
14 Component(s)
14 Line(s) of event code
14 Unique line(s) of event code
cardMedia
34 Component(s)
406 Line(s) of event code
216 Unique line(s) of event code
cardGrid
42 Component(s)
490 Line(s) of event code
@@ -54,6 +50,10 @@ screensaver
45 Component(s)
389 Line(s) of event code
288 Unique line(s) of event code
cardMedia
34 Component(s)
421 Line(s) of event code
222 Unique line(s) of event code
cardPower
43 Component(s)
435 Line(s) of event code
@@ -74,5 +74,5 @@ cardEntities
Total
17 Page(s)
583 Component(s)
7219 Line(s) of event code
1876 Unique line(s) of event code
7234 Line(s) of event code
1879 Unique line(s) of event code