Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
This commit is contained in:
@@ -13,18 +13,12 @@ Page qrcode
|
||||
Events
|
||||
Preinitialize Event
|
||||
dim=home.brightness.val
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
printh 92
|
||||
prints "nspanelevent",0
|
||||
printh 00
|
||||
prints "{\"page\": \"qrcode\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
}
|
||||
printh 92
|
||||
prints "nspanelevent",0
|
||||
printh 00
|
||||
prints "{\"page\": \"qrcode\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Touch Press Event
|
||||
printh 92
|
||||
@@ -45,7 +39,7 @@ Page qrcode
|
||||
Text qrcode_label
|
||||
Attributes
|
||||
ID : 4
|
||||
Scope : local
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : disabled
|
||||
Associated Keyboard: none
|
||||
@@ -55,7 +49,7 @@ Text qrcode_label
|
||||
QR Code qrcode_value
|
||||
Attributes
|
||||
ID : 5
|
||||
Scope : local
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID: disabled
|
||||
Text :
|
||||
|
||||
Reference in New Issue
Block a user