alternative font for status icons (add nextion2text)

This commit is contained in:
joBr99
2022-12-14 22:34:47 +00:00
committed by github-actions[bot]
parent 17d36084b6
commit c2df414557
9 changed files with 87 additions and 17 deletions

View File

@@ -416,7 +416,7 @@
│ Scope : local
│ Dragging : 0
│ Disable release event after dragging: 0
│ @@ -592,15 +563,14 @@
│ @@ -592,15 +563,24 @@
│ spstr strCommand.txt,tIcon1.txt,"~",17
│ spstr strCommand.txt,tTmp.txt,"~",18
│ covx tTmp.txt,tIcon1.pco,0,0
@@ -425,6 +425,16 @@
│ spstr strCommand.txt,tTmp.txt,"~",20
│ covx tTmp.txt,tIcon2.pco,0,0
│ - click m0,1
│ + spstr strCommand.txt,tTmp.txt,"~",21
│ + if(tTmp.txt!="")
│ + {
│ + tIcon1.font=3
│ + }
│ + spstr strCommand.txt,tTmp.txt,"~",22
│ + if(tTmp.txt!="")
│ + {
│ + tIcon1.font=3
│ + }
│ }
│ if(tInstruction.txt=="color"&&tNotifyHead.txt==""&&tNotifyText.txt=="")
│ {

View File

@@ -72,11 +72,11 @@ cardGrid
293 Unique line(s) of event code
screensaver
45 Component(s)
400 Line(s) of event code
296 Unique line(s) of event code
410 Line(s) of event code
297 Unique line(s) of event code
Total
18 Page(s)
626 Component(s)
7871 Line(s) of event code
1986 Unique line(s) of event code
7881 Line(s) of event code
1987 Unique line(s) of event code

View File

@@ -576,10 +576,10 @@ Text tIcon1
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 16
x coordinate : 0
y coordinate : 0
Width : 85
Height : 38
Height : 48
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -609,7 +609,7 @@ Text tIcon2
x coordinate : 393
y coordinate : 0
Width : 85
Height : 38
Height : 48
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -1139,6 +1139,16 @@ Timer tmSerial
spstr strCommand.txt,tIcon2.txt,"~",19
spstr strCommand.txt,tTmp.txt,"~",20
covx tTmp.txt,tIcon2.pco,0,0
spstr strCommand.txt,tTmp.txt,"~",21
if(tTmp.txt!="")
{
tIcon1.font=3
}
spstr strCommand.txt,tTmp.txt,"~",22
if(tTmp.txt!="")
{
tIcon1.font=3
}
}
if(tInstruction.txt=="color"&&tNotifyHead.txt==""&&tNotifyText.txt=="")
{

View File

@@ -567,6 +567,16 @@ Timer tmSerial
spstr strCommand.txt,tIcon2.txt,"~",19
spstr strCommand.txt,tTmp.txt,"~",20
covx tTmp.txt,tIcon2.pco,0,0
spstr strCommand.txt,tTmp.txt,"~",21
if(tTmp.txt!="")
{
tIcon1.font=3
}
spstr strCommand.txt,tTmp.txt,"~",22
if(tTmp.txt!="")
{
tIcon1.font=3
}
}
if(tInstruction.txt=="color"&&tNotifyHead.txt==""&&tNotifyText.txt=="")
{