mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-14 17:08:17 +01:00
bind startup animation to ui element (add nextion2text)
This commit is contained in:
@@ -6,10 +6,6 @@ pageIcons
|
|||||||
6 Component(s)
|
6 Component(s)
|
||||||
0 Line(s) of event code
|
0 Line(s) of event code
|
||||||
0 Unique line(s) of event code
|
0 Unique line(s) of event code
|
||||||
pageTest
|
|
||||||
13 Component(s)
|
|
||||||
13 Line(s) of event code
|
|
||||||
13 Unique line(s) of event code
|
|
||||||
popupNotify
|
popupNotify
|
||||||
15 Component(s)
|
15 Component(s)
|
||||||
143 Line(s) of event code
|
143 Line(s) of event code
|
||||||
@@ -22,10 +18,10 @@ cardMedia
|
|||||||
22 Component(s)
|
22 Component(s)
|
||||||
219 Line(s) of event code
|
219 Line(s) of event code
|
||||||
114 Unique line(s) of event code
|
114 Unique line(s) of event code
|
||||||
pageStartup
|
pageTest
|
||||||
19 Component(s)
|
13 Component(s)
|
||||||
140 Line(s) of event code
|
13 Line(s) of event code
|
||||||
107 Unique line(s) of event code
|
13 Unique line(s) of event code
|
||||||
popupShutter
|
popupShutter
|
||||||
19 Component(s)
|
19 Component(s)
|
||||||
148 Line(s) of event code
|
148 Line(s) of event code
|
||||||
@@ -46,6 +42,10 @@ cardThermo
|
|||||||
42 Component(s)
|
42 Component(s)
|
||||||
450 Line(s) of event code
|
450 Line(s) of event code
|
||||||
220 Unique line(s) of event code
|
220 Unique line(s) of event code
|
||||||
|
pageStartup
|
||||||
|
19 Component(s)
|
||||||
|
140 Line(s) of event code
|
||||||
|
107 Unique line(s) of event code
|
||||||
cardAlarm
|
cardAlarm
|
||||||
28 Component(s)
|
28 Component(s)
|
||||||
159 Line(s) of event code
|
159 Line(s) of event code
|
||||||
|
|||||||
@@ -475,7 +475,7 @@ Button bSendStartup
|
|||||||
prints tSend.txt,0
|
prints tSend.txt,0
|
||||||
prints crcval,2
|
prints crcval,2
|
||||||
|
|
||||||
Hotspot mSpecial
|
Hotspot mSpinner
|
||||||
Attributes
|
Attributes
|
||||||
ID : 16
|
ID : 16
|
||||||
Scope : local
|
Scope : local
|
||||||
@@ -483,10 +483,10 @@ Hotspot mSpecial
|
|||||||
Disable release event after dragging: 0
|
Disable release event after dragging: 0
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Opacity : 127
|
Opacity : 127
|
||||||
x coordinate : 87
|
x coordinate : 154
|
||||||
y coordinate : 33
|
y coordinate : 49
|
||||||
Width : 288
|
Width : 140
|
||||||
Height : 187
|
Height : 140
|
||||||
Effect : load
|
Effect : load
|
||||||
Effect Priority : 0
|
Effect Priority : 0
|
||||||
Effect Time : 300
|
Effect Time : 300
|
||||||
@@ -643,7 +643,7 @@ Timer tmSpinner
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Timer Event
|
Timer Event
|
||||||
xpic 154,49,spinner_w.val,140,frame_ptr.val,0,11 // draw the current frame
|
xpic mSpinner.x,mSpinner.y,spinner_w.val,140,frame_ptr.val,0,11 // draw the current frame
|
||||||
frame_ptr.val+=spinner_w.val%frapic_w.val // advance the pointer to the next frame in the pic resource and roll over at the end
|
frame_ptr.val+=spinner_w.val%frapic_w.val // advance the pointer to the next frame in the pic resource and roll over at the end
|
||||||
doevents // finish drawing before next timer event triggers
|
doevents // finish drawing before next timer event triggers
|
||||||
if(frame_ptr.val==1820)
|
if(frame_ptr.val==1820)
|
||||||
|
|||||||
Reference in New Issue
Block a user