Merge branch 'main' of https://github.com/joBr99/nspanel-lovelace-ui (add nextion2text)

This commit is contained in:
joBr99
2022-10-15 12:55:16 +00:00
committed by github-actions[bot]
parent ee6da21914
commit 898dadf50c
6 changed files with 53 additions and 18 deletions

View File

@@ -48,8 +48,8 @@
│ b2.pco=defaultFontColor
│ - vis tIcon,0
│ - vis tTextAlt,0
│ - tIcon.bco=defaultFontColor
│ - tTextAlt.bco=defaultFontColor
│ - tIcon.pco=defaultFontColor
│ - tTextAlt.pco=defaultFontColor
│ Variable (string) strCommand
│ Attributes
@@ -92,7 +92,7 @@
│ Disable release event after dragging: 0
│ Send Component ID : disabled
│ @@ -325,26 +299,14 @@
│ @@ -325,33 +299,14 @@
│ tText.pco=sys0
│ //preserve old sleepTimeout
│ vaOldSleepT.val=sleepTimeout
@@ -100,10 +100,12 @@
│ spstr strCommand.txt,tTmp.txt,"~",10
│ covx tTmp.txt,sys0,0,0
│ sleepTimeout=sys0
│ - //font size
│ - spstr strCommand.txt,tTmp.txt,"~",11
│ - covx tTmp.txt,sys0,0,0
│ - tTextAlt.font=sys0
│ - tText.font=sys0
│ - //icon
│ - spstr strCommand.txt,tIcon.txt,"~",12
│ - if(tIcon.txt!="")
│ - {
@@ -111,7 +113,12 @@
│ - vis tTextAlt,1
│ - vis tText,0
│ - tTextAlt.txt=tText.txt
│ - tTextAlt.pco=tText.pco
│ - }
│ - // alt icon color
│ - spstr strCommand.txt,tTmp.txt,"~",13
│ - covx tTmp.txt,sys0,0,0
│ - tIcon.pco=sys0
│ }
│ if(tInstruction.txt=="time")
│ {

View File

@@ -709,8 +709,8 @@
│ b2.pco=defaultFontColor
│ - vis tIcon,0
│ - vis tTextAlt,0
│ - tIcon.bco=defaultFontColor
│ - tTextAlt.bco=defaultFontColor
│ - tIcon.pco=defaultFontColor
│ - tTextAlt.pco=defaultFontColor
│ Variable (string) strCommand
│ Attributes
@@ -753,7 +753,7 @@
│ Disable release event after dragging: 0
│ Send Component ID : disabled
│ @@ -325,26 +299,14 @@
│ @@ -325,33 +299,14 @@
│ tText.pco=sys0
│ //preserve old sleepTimeout
│ vaOldSleepT.val=sleepTimeout
@@ -761,10 +761,12 @@
│ spstr strCommand.txt,tTmp.txt,"~",10
│ covx tTmp.txt,sys0,0,0
│ sleepTimeout=sys0
│ - //font size
│ - spstr strCommand.txt,tTmp.txt,"~",11
│ - covx tTmp.txt,sys0,0,0
│ - tTextAlt.font=sys0
│ - tText.font=sys0
│ - //icon
│ - spstr strCommand.txt,tIcon.txt,"~",12
│ - if(tIcon.txt!="")
│ - {
@@ -772,7 +774,12 @@
│ - vis tTextAlt,1
│ - vis tText,0
│ - tTextAlt.txt=tText.txt
│ - tTextAlt.pco=tText.pco
│ - }
│ - // alt icon color
│ - spstr strCommand.txt,tTmp.txt,"~",13
│ - covx tTmp.txt,sys0,0,0
│ - tIcon.pco=sys0
│ }
│ if(tInstruction.txt=="time")
│ {

View File

@@ -1,4 +1,4 @@
+++ /dev/fd/62 2022-10-15 12:20:50.585699560 +0000
+++ /dev/fd/62 2022-10-15 12:55:10.725304315 +0000
+geIcons.txt
+5 +15,15 @@
+ Scope : global
@@ -35,8 +35,8 @@
+ b2.pco=defaultFontColor
+ vis tIcon,0
+ vis tTextAlt,0
+ tIcon.bco=defaultFontColor
+ tTextAlt.bco=defaultFontColor
+ tIcon.pco=defaultFontColor
+ tTextAlt.pco=defaultFontColor
+
+e (string) strCommand
+ributes
@@ -79,7 +79,7 @@
+ Disable release event after dragging: 0
+ Send Component ID : disabled
+
+26 +299,14 @@
+33 +299,14 @@
+ tText.pco=sys0
+ //preserve old sleepTimeout
+ vaOldSleepT.val=sleepTimeout
@@ -87,10 +87,12 @@
+ spstr strCommand.txt,tTmp.txt,"~",10
+ covx tTmp.txt,sys0,0,0
+ sleepTimeout=sys0
+ //font size
+ spstr strCommand.txt,tTmp.txt,"~",11
+ covx tTmp.txt,sys0,0,0
+ tTextAlt.font=sys0
+ tText.font=sys0
+ //icon
+ spstr strCommand.txt,tIcon.txt,"~",12
+ if(tIcon.txt!="")
+ {
@@ -98,7 +100,12 @@
+ vis tTextAlt,1
+ vis tText,0
+ tTextAlt.txt=tText.txt
+ tTextAlt.pco=tText.pco
+ }
+ // alt icon color
+ spstr strCommand.txt,tTmp.txt,"~",13
+ covx tTmp.txt,sys0,0,0
+ tIcon.pco=sys0
+ }
+ if(tInstruction.txt=="time")
+ {