add popup page for input_select (add nextion2text)

This commit is contained in:
joBr99
2022-10-25 17:08:39 +00:00
committed by github-actions[bot]
parent b9c50001af
commit a8746d935d
24 changed files with 6734 additions and 84 deletions

View File

@@ -1029,6 +1029,10 @@ Hotspot m2
{
page popupFan
}
if(type3.txt=="input_sel")
{
page popupInSel
}
Hotspot m1
Attributes
@@ -1056,6 +1060,10 @@ Hotspot m1
{
page popupFan
}
if(type2.txt=="input_sel")
{
page popupInSel
}
Hotspot m0
Attributes
@@ -1083,6 +1091,10 @@ Hotspot m0
{
page popupFan
}
if(type1.txt=="input_sel")
{
page popupInSel
}
Hotspot m3
Attributes
@@ -1110,6 +1122,10 @@ Hotspot m3
{
page popupFan
}
if(type4.txt=="input_sel")
{
page popupInSel
}
Hotspot mSwipeNext
Attributes
@@ -1342,7 +1358,7 @@ Timer tmSerial
// get Text (optional Value)
spstr strCommand.txt,bText1.txt,"~",8
}
if(type1.txt=="button")
if(type1.txt=="button"||type1.txt=="input_sel")
{
vis bUp1,0
vis bStop1,0
@@ -1491,7 +1507,7 @@ Timer tmSerial
// get Text (optional Value)
spstr strCommand.txt,bText2.txt,"~",14
}
if(type2.txt=="button")
if(type2.txt=="button"||type2.txt=="i")
{
vis bUp2,0
vis bStop2,0
@@ -1640,7 +1656,7 @@ Timer tmSerial
// get Text (optional Value)
spstr strCommand.txt,bText3.txt,"~",20
}
if(type3.txt=="button")
if(type3.txt=="button"||type3.txt=="input_sel")
{
vis bUp3,0
vis bStop3,0
@@ -1789,7 +1805,7 @@ Timer tmSerial
// get Text (optional Value)
spstr strCommand.txt,bText4.txt,"~",26
}
if(type4.txt=="button")
if(type4.txt=="button"||type4.txt=="input_sel")
{
vis bUp4,0
vis bStop4,0