Move page constructors to TFT

To reduce comms between ESPHome and Nextion, which could help with some sync issues found with 921600 bps.
This commit is contained in:
Edward Firmo
2023-12-17 12:44:12 +01:00
parent bd99afa14b
commit a2dc5913fa
130 changed files with 665 additions and 701 deletions

View File

@@ -147,8 +147,8 @@ Text bt_home_icon
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 10
Text : 
Max. Text Size : 3
Text bt_away_icon
Attributes
@@ -157,8 +157,8 @@ Text bt_away_icon
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 10
Text : 
Max. Text Size : 3
Text bt_night_icon
Attributes
@@ -167,8 +167,8 @@ Text bt_night_icon
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 10
Text : ï §
Max. Text Size : 3
Text bt_vacat_icon
Attributes
@@ -177,8 +177,8 @@ Text bt_vacat_icon
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 10
Text : 
Max. Text Size : 3
Text bt_bypass_icon
Attributes
@@ -187,8 +187,8 @@ Text bt_bypass_icon
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 10
Text : 
Max. Text Size : 3
Text bt_disarm_icon
Attributes
@@ -197,8 +197,8 @@ Text bt_disarm_icon
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 10
Text : 
Max. Text Size : 3
Picture bt_home_pic
Attributes

View File

@@ -67,8 +67,8 @@ Text page_index
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 20
Text : ●○○○
Max. Text Size : 12
Text button01pic
Attributes

View File

@@ -67,8 +67,8 @@ Text page_index
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 20
Text : ○●○○
Max. Text Size : 12
Text button01pic
Attributes

View File

@@ -67,8 +67,8 @@ Text page_index
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 20
Text : ○○●○
Max. Text Size : 12
Text button01pic
Attributes

View File

@@ -67,8 +67,8 @@ Text page_index
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 20
Text : ○○○●
Max. Text Size : 12
Text button01pic
Attributes

View File

@@ -259,8 +259,8 @@ Text button01
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 10
Text : 
Max. Text Size : 3
Events
Touch Release Event
@@ -280,8 +280,8 @@ Text button02
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 10
Text : 
Max. Text Size : 3
Events
Touch Release Event
@@ -301,8 +301,8 @@ Text button03
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 10
Text : 
Max. Text Size : 3
Events
Touch Release Event
@@ -322,8 +322,8 @@ Text button04
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 10
Text : 
Max. Text Size : 3
Events
Touch Release Event
@@ -343,8 +343,8 @@ Text button05
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 10
Text : 
Max. Text Size : 3
Events
Touch Release Event
@@ -364,8 +364,8 @@ Text button06
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 10
Text : 
Max. Text Size : 3
Events
Touch Release Event
@@ -385,8 +385,8 @@ Text button07
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 10
Text : 
Max. Text Size : 3
Events
Touch Release Event

View File

@@ -120,7 +120,7 @@ Button cover_open
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text :
Text : 
Max. Text Size : 3
Events
@@ -139,7 +139,7 @@ Button cover_close
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text :
Text : ï„›
Max. Text Size : 3
Events
@@ -158,7 +158,7 @@ Button cover_stop
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text :
Text : 
Max. Text Size : 3
Events

View File

@@ -277,8 +277,8 @@ Text page_index
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 20
Text : ●○○○
Max. Text Size : 12
Button button_back
Attributes

View File

@@ -277,8 +277,8 @@ Text page_index
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 20
Text : ○●○○
Max. Text Size : 12
Button button_back
Attributes

View File

@@ -277,8 +277,8 @@ Text page_index
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 20
Text : ○○●○
Max. Text Size : 12
Button button_back
Attributes

View File

@@ -277,8 +277,8 @@ Text page_index
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 20
Text : ○○○●
Max. Text Size : 12
Button button_back
Attributes

View File

@@ -111,8 +111,8 @@ Button button_up
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text :
Max. Text Size : 10
Text : ï‘­
Max. Text Size : 3
Events
Touch Press Event
@@ -150,8 +150,8 @@ Button button_on
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text :
Max. Text Size : 10
Text : 
Max. Text Size : 3
Events
Touch Press Event
@@ -192,8 +192,8 @@ Button button_down
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text :
Max. Text Size : 10
Text : 
Max. Text Size : 3
Events
Touch Press Event
@@ -231,8 +231,8 @@ Button button_off
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text :
Max. Text Size : 10
Text : 
Max. Text Size : 3
Events
Touch Press Event

View File

@@ -231,8 +231,8 @@ Button bclear
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text : <
Max. Text Size : 5
Text : 
Max. Text Size : 3
Events
Touch Release Event
@@ -259,7 +259,7 @@ Button benter
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text : OK
Text : î„«
Max. Text Size : 3
Events
@@ -273,7 +273,7 @@ Button bview
Dragging : 0
Send Component ID: on press and release
State : unpressed
Text : O
Text : 
Max. Text Size : 3
Events

View File

@@ -96,7 +96,7 @@ Text bt_vol_down
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Text : 
Max. Text Size : 3
Events
@@ -122,7 +122,7 @@ Text bt_vol_up
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Text : 
Max. Text Size : 3
Events
@@ -148,7 +148,7 @@ Text bt_mute
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Text : 
Max. Text Size : 3
Events
@@ -215,8 +215,8 @@ Text bt_prev
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 10
Text : î’­
Max. Text Size : 3
Events
Touch Release Event
@@ -234,8 +234,8 @@ Text bt_play_pause
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 10
Text : 
Max. Text Size : 3
Events
Touch Release Event
@@ -253,8 +253,8 @@ Text bt_next
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 10
Text : î’¬
Max. Text Size : 3
Events
Touch Release Event
@@ -272,8 +272,8 @@ Text bt_on_off
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 10
Text : 
Max. Text Size : 3
Events
Touch Release Event

View File

@@ -157,8 +157,8 @@ Text page_index
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 20
Text : ●○○○○
Max. Text Size : 15
Picture weather_icon
Attributes

View File

@@ -157,8 +157,8 @@ Text page_index
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 20
Text : ○●○○○
Max. Text Size : 15
Picture weather_icon
Attributes

View File

@@ -157,8 +157,8 @@ Text page_index
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 20
Text : ○○●○○
Max. Text Size : 15
Picture weather_icon
Attributes

View File

@@ -157,8 +157,8 @@ Text page_index
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 20
Text : ○○○●○
Max. Text Size : 15
Picture weather_icon
Attributes

View File

@@ -157,8 +157,8 @@ Text page_index
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 20
Text : ○○○○●
Max. Text Size : 15
Picture weather_icon
Attributes