Clean-up TFT

- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
This commit is contained in:
Edward Firmo
2023-08-31 14:27:25 +02:00
parent 646152d3e1
commit 960c055fb5
72 changed files with 1719 additions and 1196 deletions

View File

@@ -102,14 +102,14 @@ Variable (int32) currenttab
Variable (string) lightsetting
Attributes
ID : 32
ID : 30
Scope : local
Text :
Max. Text Size: 255
Variable (string) back_page
Attributes
ID : 33
ID : 31
Scope : local
Text : home
Max. Text Size: 15
@@ -184,7 +184,7 @@ Text temp_value_2
Text icon_state
Attributes
ID : 31
ID : 29
Scope : local
Dragging : 0
Send Component ID : disabled
@@ -398,13 +398,6 @@ Picture colorwheel
va2.txt=""
va3.txt=""
Picture light_exit
Attributes
ID : 29
Scope : local
Dragging : 0
Send Component ID: disabled
Slider lightslider
Attributes
ID : 3
@@ -451,6 +444,35 @@ Slider tempslider
printh 00
printh FF FF FF
Button button_back
Attributes
ID : 32
Scope : local
Dragging : 0
Send Component ID: disabled
State : unpressed
Text : x
Max. Text Size : 1
Events
Touch Press Event
if(back_page.txt=="buttonpage01")
{
page buttonpage01
}else if(back_page.txt=="buttonpage02")
{
page buttonpage02
}else if(back_page.txt=="buttonpage03")
{
page buttonpage03
}else if(back_page.txt=="buttonpage04")
{
page buttonpage04
}else
{
page home
}
Hotspot hsv2rgb
Attributes
ID : 6
@@ -615,32 +637,6 @@ Hotspot color_touch
vis tempslider,0
// #### OFF Color #####
Hotspot light_back
Attributes
ID : 30
Scope : local
Dragging : 0
Send Component ID: disabled
Events
Touch Press Event
if(back_page.txt=="buttonpage01")
{
page buttonpage01
}else if(back_page.txt=="buttonpage02")
{
page buttonpage02
}else if(back_page.txt=="buttonpage03")
{
page buttonpage03
}else if(back_page.txt=="buttonpage04")
{
page buttonpage04
}else
{
page home
}
Timer swipestore
Attributes
ID : 21