mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-01-06 14:45:46 +01:00
add color to screensaver notify (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
644ac4c299
commit
33eae9add9
@@ -30,3 +30,31 @@
|
||||
│ crcputs sys0,2
|
||||
│ crcputs tSend.txt,0
|
||||
│ //send cmd
|
||||
├── screensaver.txt
|
||||
│ @@ -620,26 +620,14 @@
|
||||
│ vis tNotifyHead,1
|
||||
│ vis tNotifyText,1
|
||||
│ }else
|
||||
│ {
|
||||
│ vis tNotifyHead,0
|
||||
│ vis tNotifyText,0
|
||||
│ }
|
||||
│ - tNotifyHead.bco=tTime.bco
|
||||
│ - tNotifyText.bco=tTime.bco
|
||||
│ - spstr strCommand.txt,tTmp.txt,"~",3
|
||||
│ - if(tTmp.txt!="")
|
||||
│ - {
|
||||
│ - covx tTmp.txt,tNotifyHead.pco,0,0
|
||||
│ - }
|
||||
│ - spstr strCommand.txt,tTmp.txt,"~",4
|
||||
│ - if(tTmp.txt!="")
|
||||
│ - {
|
||||
│ - covx tTmp.txt,tNotifyText.pco,0,0
|
||||
│ - }
|
||||
│ }
|
||||
│ if(tInstruction.txt=="pageType")
|
||||
│ {
|
||||
│ dim=100
|
||||
│ //command format pageType,specialPageName
|
||||
│ //write name of speical page to tId
|
||||
│ spstr strCommand.txt,tId.txt,"~",1
|
||||
|
||||
@@ -735,3 +735,30 @@
|
||||
│ Scope : local
|
||||
│ Dragging : 0
|
||||
│ Disable release event after dragging: 0
|
||||
│ @@ -620,26 +620,14 @@
|
||||
│ vis tNotifyHead,1
|
||||
│ vis tNotifyText,1
|
||||
│ }else
|
||||
│ {
|
||||
│ vis tNotifyHead,0
|
||||
│ vis tNotifyText,0
|
||||
│ }
|
||||
│ - tNotifyHead.bco=tTime.bco
|
||||
│ - tNotifyText.bco=tTime.bco
|
||||
│ - spstr strCommand.txt,tTmp.txt,"~",3
|
||||
│ - if(tTmp.txt!="")
|
||||
│ - {
|
||||
│ - covx tTmp.txt,tNotifyHead.pco,0,0
|
||||
│ - }
|
||||
│ - spstr strCommand.txt,tTmp.txt,"~",4
|
||||
│ - if(tTmp.txt!="")
|
||||
│ - {
|
||||
│ - covx tTmp.txt,tNotifyText.pco,0,0
|
||||
│ - }
|
||||
│ }
|
||||
│ if(tInstruction.txt=="pageType")
|
||||
│ {
|
||||
│ dim=100
|
||||
│ //command format pageType,specialPageName
|
||||
│ //write name of speical page to tId
|
||||
│ spstr strCommand.txt,tId.txt,"~",1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
+++ /dev/fd/62 2022-10-16 07:36:55.021416954 +0000
|
||||
+++ /dev/fd/62 2022-10-16 07:58:08.397597578 +0000
|
||||
+geIcons.txt
|
||||
+5 +15,15 @@
|
||||
+ Scope : global
|
||||
@@ -61,3 +61,30 @@
|
||||
+ Scope : local
|
||||
+ Dragging : 0
|
||||
+ Disable release event after dragging: 0
|
||||
+26 +620,14 @@
|
||||
+ vis tNotifyHead,1
|
||||
+ vis tNotifyText,1
|
||||
+ }else
|
||||
+ {
|
||||
+ vis tNotifyHead,0
|
||||
+ vis tNotifyText,0
|
||||
+ }
|
||||
+ tNotifyHead.bco=tTime.bco
|
||||
+ tNotifyText.bco=tTime.bco
|
||||
+ spstr strCommand.txt,tTmp.txt,"~",3
|
||||
+ if(tTmp.txt!="")
|
||||
+ {
|
||||
+ covx tTmp.txt,tNotifyHead.pco,0,0
|
||||
+ }
|
||||
+ spstr strCommand.txt,tTmp.txt,"~",4
|
||||
+ if(tTmp.txt!="")
|
||||
+ {
|
||||
+ covx tTmp.txt,tNotifyText.pco,0,0
|
||||
+ }
|
||||
+ }
|
||||
+ if(tInstruction.txt=="pageType")
|
||||
+ {
|
||||
+ dim=100
|
||||
+ //command format pageType,specialPageName
|
||||
+ //write name of speical page to tId
|
||||
+ spstr strCommand.txt,tId.txt,"~",1
|
||||
|
||||
Reference in New Issue
Block a user