mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-19 03:16:59 +01:00
added text to test page (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
aa4cabf930
commit
d7b43b9975
@@ -34,6 +34,37 @@ Variable (string) tSend
|
||||
Text :
|
||||
Max. Text Size: 40
|
||||
|
||||
Text m0
|
||||
Attributes
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Associated Keyboard : none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
tTmp.txt="change model conf to us-l/p "
|
||||
strlen tTmp.txt,sys1
|
||||
sya1=sys1*11+m0.h-48/2
|
||||
for(sys0=0;sys0<sys1;sys0++)
|
||||
{
|
||||
substr tTmp.txt,strTmp.txt,sys0,1
|
||||
xstr m0.x,sys0*-11+m0.y+sya1,25,20,6,WHITE,RED,2,1,3,strTmp.txt
|
||||
}
|
||||
|
||||
Text strTmp
|
||||
Attributes
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Associated Keyboard : none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
|
||||
Text tBench
|
||||
Attributes
|
||||
Scope : local
|
||||
@@ -44,6 +75,16 @@ Text tBench
|
||||
Text :
|
||||
Max. Text Size : 20
|
||||
|
||||
Text tTmp
|
||||
Attributes
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Associated Keyboard : none
|
||||
Text :
|
||||
Max. Text Size : 30
|
||||
|
||||
Picture p0
|
||||
Attributes
|
||||
Scope : local
|
||||
@@ -234,13 +275,6 @@ Button b9
|
||||
Touch Press Event
|
||||
page popupNotify
|
||||
|
||||
Hotspot m0
|
||||
Attributes
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
|
||||
Timer tmSerial
|
||||
Attributes
|
||||
Scope : local
|
||||
|
||||
Reference in New Issue
Block a user