New "Confirm" pop-up

This also removes the sensor "NSPanel Event"
This commit is contained in:
Edward Firmo
2023-09-10 02:48:28 +02:00
parent c1bdd7da54
commit 6e65ea3d03
29 changed files with 4035 additions and 1817 deletions

View File

@@ -52,6 +52,68 @@ Variable (string) lastclick
Text :
Max. Text Size: 100
Variable (string) click_comp
Attributes
ID : 47
Scope : local
Text :
Max. Text Size: 8
Variable (string) page_name
Attributes
ID : 49
Scope : local
Text : buttonpage01
Max. Text Size: 12
Variable (int32) button01conf
Attributes
ID : 50
Scope: local
Value: 0
Variable (int32) button02conf
Attributes
ID : 51
Scope: local
Value: 0
Variable (int32) button03conf
Attributes
ID : 52
Scope: local
Value: 0
Variable (int32) button04conf
Attributes
ID : 53
Scope: local
Value: 0
Variable (int32) button05conf
Attributes
ID : 54
Scope: local
Value: 0
Variable (int32) button06conf
Attributes
ID : 55
Scope: local
Value: 0
Variable (int32) button07conf
Attributes
ID : 56
Scope: local
Value: 0
Variable (int32) button08conf
Attributes
ID : 57
Scope: local
Value: 0
Text button01text
Attributes
ID : 4
@@ -387,208 +449,280 @@ Hotspot button01
ID : 36
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: disabled
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button01\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button01"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button01\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button01conf.val==1)
{
confirm.body.txt=button01text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button02
Attributes
ID : 37
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: disabled
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button02\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button02"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button02\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button02conf.val==1)
{
confirm.body.txt=button02text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button03
Attributes
ID : 38
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: disabled
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button03\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button03"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button03\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button03conf.val==1)
{
confirm.body.txt=button03text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button04
Attributes
ID : 39
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: disabled
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button04\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button04"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button04\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button04conf.val==1)
{
confirm.body.txt=button04text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button05
Attributes
ID : 40
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: disabled
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button05\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button05"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button05\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button05conf.val==1)
{
confirm.body.txt=button05text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button06
Attributes
ID : 41
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: disabled
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button06\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button06"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button06\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button06conf.val==1)
{
confirm.body.txt=button06text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button07
Attributes
ID : 42
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: disabled
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button07\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button07"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button07\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button07conf.val==1)
{
confirm.body.txt=button07text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button08
Attributes
ID : 43
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: disabled
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button08\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button08"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage01\", \"component\": \"button08\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button08conf.val==1)
{
confirm.body.txt=button08text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Timer swipestore
Attributes
@@ -602,6 +736,24 @@ Timer swipestore
swipex=tch0
swipey=tch1
Timer click_timer
Attributes
ID : 48
Scope : local
Period (ms): 800
Enabled : no
Events
Timer Event
lastclick.txt="{\"page\": \"buttonpage01\", \"event\": \"long_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_timer.en=0
TouchCap swipe
Attributes
ID : 1

View File

@@ -52,6 +52,68 @@ Variable (string) lastclick
Text :
Max. Text Size: 100
Variable (string) click_comp
Attributes
ID : 47
Scope : local
Text :
Max. Text Size: 8
Variable (string) page_name
Attributes
ID : 49
Scope : local
Text : buttonpage02
Max. Text Size: 12
Variable (int32) button01conf
Attributes
ID : 50
Scope: local
Value: 0
Variable (int32) button02conf
Attributes
ID : 51
Scope: local
Value: 0
Variable (int32) button03conf
Attributes
ID : 52
Scope: local
Value: 0
Variable (int32) button04conf
Attributes
ID : 53
Scope: local
Value: 0
Variable (int32) button05conf
Attributes
ID : 54
Scope: local
Value: 0
Variable (int32) button06conf
Attributes
ID : 55
Scope: local
Value: 0
Variable (int32) button07conf
Attributes
ID : 56
Scope: local
Value: 0
Variable (int32) button08conf
Attributes
ID : 57
Scope: local
Value: 0
Text button01text
Attributes
ID : 4
@@ -387,208 +449,280 @@ Hotspot button01
ID : 36
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: disabled
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button01\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button01"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button01\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button01conf.val==1)
{
confirm.body.txt=button01text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button02
Attributes
ID : 37
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: on release
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button02\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button02"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button02\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button02conf.val==1)
{
confirm.body.txt=button02text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button03
Attributes
ID : 38
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: on release
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button03\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button03"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button03\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button03conf.val==1)
{
confirm.body.txt=button03text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button04
Attributes
ID : 39
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: on release
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button04\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button04"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button04\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button04conf.val==1)
{
confirm.body.txt=button04text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button05
Attributes
ID : 40
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: on release
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button05\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button05"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button05\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button05conf.val==1)
{
confirm.body.txt=button05text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button06
Attributes
ID : 41
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: on release
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button06\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button06"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button06\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button06conf.val==1)
{
confirm.body.txt=button06text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button07
Attributes
ID : 42
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: on release
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button07\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button07"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button07\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button07conf.val==1)
{
confirm.body.txt=button07text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button08
Attributes
ID : 43
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: on release
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button08\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button08"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage02\", \"component\": \"button08\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button08conf.val==1)
{
confirm.body.txt=button08text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Timer swipestore
Attributes
@@ -602,6 +736,24 @@ Timer swipestore
swipex=tch0
swipey=tch1
Timer click_timer
Attributes
ID : 48
Scope : local
Period (ms): 800
Enabled : no
Events
Timer Event
lastclick.txt="{\"page\": \"buttonpage02\", \"event\": \"long_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_timer.en=0
TouchCap swipe
Attributes
ID : 1

View File

@@ -52,6 +52,68 @@ Variable (string) lastclick
Text :
Max. Text Size: 100
Variable (string) click_comp
Attributes
ID : 47
Scope : local
Text :
Max. Text Size: 8
Variable (string) page_name
Attributes
ID : 49
Scope : local
Text : buttonpage03
Max. Text Size: 12
Variable (int32) button01conf
Attributes
ID : 50
Scope: local
Value: 0
Variable (int32) button02conf
Attributes
ID : 51
Scope: local
Value: 0
Variable (int32) button03conf
Attributes
ID : 52
Scope: local
Value: 0
Variable (int32) button04conf
Attributes
ID : 53
Scope: local
Value: 0
Variable (int32) button05conf
Attributes
ID : 54
Scope: local
Value: 0
Variable (int32) button06conf
Attributes
ID : 55
Scope: local
Value: 0
Variable (int32) button07conf
Attributes
ID : 56
Scope: local
Value: 0
Variable (int32) button08conf
Attributes
ID : 57
Scope: local
Value: 0
Text button01text
Attributes
ID : 4
@@ -387,208 +449,280 @@ Hotspot button01
ID : 36
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: disabled
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button01\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button01"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button01\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button01conf.val==1)
{
confirm.body.txt=button01text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button02
Attributes
ID : 37
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: disabled
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button02\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button01"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button02\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button02conf.val==1)
{
confirm.body.txt=button02text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button03
Attributes
ID : 38
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: disabled
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button03\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button03"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button03\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button03conf.val==1)
{
confirm.body.txt=button03text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button04
Attributes
ID : 39
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: disabled
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button04\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button04"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button04\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button04conf.val==1)
{
confirm.body.txt=button04text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button05
Attributes
ID : 40
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: disabled
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button05\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button05"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button05\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button05conf.val==1)
{
confirm.body.txt=button05text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button06
Attributes
ID : 41
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: disabled
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button06\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button06"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button06\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button06conf.val==1)
{
confirm.body.txt=button06text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button07
Attributes
ID : 42
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: disabled
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button07\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button07"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button07\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button07conf.val==1)
{
confirm.body.txt=button07text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button08
Attributes
ID : 43
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: disabled
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button08\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button08"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage03\", \"component\": \"button08\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button08conf.val==1)
{
confirm.body.txt=button08text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Timer swipestore
Attributes
@@ -602,6 +736,24 @@ Timer swipestore
swipex=tch0
swipey=tch1
Timer click_timer
Attributes
ID : 48
Scope : local
Period (ms): 800
Enabled : no
Events
Timer Event
lastclick.txt="{\"page\": \"buttonpage02\", \"event\": \"long_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_timer.en=0
TouchCap swipe
Attributes
ID : 1

View File

@@ -52,6 +52,68 @@ Variable (string) lastclick
Text :
Max. Text Size: 100
Variable (string) click_comp
Attributes
ID : 47
Scope : local
Text :
Max. Text Size: 8
Variable (string) page_name
Attributes
ID : 49
Scope : local
Text : buttonpage04
Max. Text Size: 12
Variable (int32) button01conf
Attributes
ID : 50
Scope: local
Value: 0
Variable (int32) button02conf
Attributes
ID : 51
Scope: local
Value: 0
Variable (int32) button03conf
Attributes
ID : 52
Scope: local
Value: 0
Variable (int32) button04conf
Attributes
ID : 53
Scope: local
Value: 0
Variable (int32) button05conf
Attributes
ID : 54
Scope: local
Value: 0
Variable (int32) button06conf
Attributes
ID : 55
Scope: local
Value: 0
Variable (int32) button07conf
Attributes
ID : 56
Scope: local
Value: 0
Variable (int32) button08conf
Attributes
ID : 57
Scope: local
Value: 0
Text button01text
Attributes
ID : 4
@@ -387,208 +449,280 @@ Hotspot button01
ID : 36
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: disabled
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button01\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button01"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button01\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button01conf.val==1)
{
confirm.body.txt=button01text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button02
Attributes
ID : 37
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: disabled
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button02\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button02"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button02\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button02conf.val==1)
{
confirm.body.txt=button02text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button03
Attributes
ID : 38
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: disabled
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button03\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button03"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button03\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button03conf.val==1)
{
confirm.body.txt=button03text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button04
Attributes
ID : 39
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: disabled
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button04\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button04"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button04\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button04conf.val==1)
{
confirm.body.txt=button04text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button05
Attributes
ID : 40
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: disabled
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button05\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button05"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button05\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button05conf.val==1)
{
confirm.body.txt=button05text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button06
Attributes
ID : 41
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: disabled
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button06\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button06"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button06\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button06conf.val==1)
{
confirm.body.txt=button06text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button07
Attributes
ID : 42
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: disabled
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button07\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button07"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button07\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button07conf.val==1)
{
confirm.body.txt=button07text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Hotspot button08
Attributes
ID : 43
Scope : local
Dragging : 0
Send Component ID: on press and release
Send Component ID: disabled
Events
Touch Press Event
lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button08\", \"value\": \"press\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button08"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"buttonpage04\", \"component\": \"button08\", \"value\": \"release\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
if(button08conf.val==1)
{
confirm.body.txt=button08text.txt
confirm.page_id.val=dp
confirm.page_name.txt=page_name.txt
confirm.component.txt=click_comp.txt
page confirm
}else
{
lastclick.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
}
Timer swipestore
Attributes
@@ -602,6 +736,24 @@ Timer swipestore
swipex=tch0
swipey=tch1
Timer click_timer
Attributes
ID : 48
Scope : local
Period (ms): 800
Enabled : no
Events
Timer Event
lastclick.txt="{\"page\": \"buttonpage04\", \"event\": \"long_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_timer.en=0
TouchCap swipe
Attributes
ID : 1

View File

@@ -143,6 +143,13 @@ Variable (string) entity
Text :
Max. Text Size: 100
Variable (string) click_comp
Attributes
ID : 50
Scope : local
Text :
Max. Text Size: 8
Text current_temp
Attributes
ID : 3
@@ -612,22 +619,21 @@ Hotspot button08
Events
Touch Press Event
lastclick.txt="{\"page\": \"climate\", \"component\": \"button08\", \"value\": \"press\", \"entity\": \""+entity.txt+"\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button08"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"climate\", \"component\": \"button08\", \"value\": \"release\", \"entity\": \""+entity.txt+"\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
lastclick.txt="{\"page\": \"climate\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
Hotspot button09
Attributes
@@ -638,22 +644,21 @@ Hotspot button09
Events
Touch Press Event
lastclick.txt="{\"page\": \"climate\", \"component\": \"button09\", \"value\": \"press\", \"entity\": \""+entity.txt+"\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_comp.txt="button09"
click_timer.en=1
Touch Release Event
lastclick.txt="{\"page\": \"climate\", \"component\": \"button09\", \"value\": \"release\", \"entity\": \""+entity.txt+"\"}"
printh 92
prints "nspanelevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
if(click_timer.en==1)
{
click_timer.en=0
lastclick.txt="{\"page\": \"climate\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
}
Timer swipestore
Attributes
@@ -687,6 +692,24 @@ Timer timer01
printh 00
printh FF FF FF
Timer click_timer
Attributes
ID : 51
Scope : local
Period (ms): 800
Enabled : no
Events
Timer Event
lastclick.txt="{\"page\": \"buttonpage01\", \"event\": \"long_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints lastclick.txt,0
printh 00
printh FF FF FF
click_timer.en=0
TouchCap swipe
Attributes
ID : 1

150
nspanel_us_code/confirm.txt Normal file
View File

@@ -0,0 +1,150 @@
Page confirm
Attributes
ID : 0
Scope : local
Dragging : 0
Send Component ID : disabled
Locked : no
Swide up page ID : disabled
Swide down page ID : disabled
Swide left page ID : disabled
Swide right page ID: disabled
Events
Preinitialize Event
dim=brightness
if(api==0)
{
page home
}else
{
printh 92
prints "nspanelevent",0
printh 00
prints "{\"page\": \"confirm\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0
printh 00
printh FF FF FF
}
Touch Press Event
printh 92
prints "touchevent",0
printh 00
prints "confirm",0
printh 00
printh FF FF FF
Touch Release Event
printh 92
prints "touchevent",0
printh 00
prints "confirm",0
printh 00
printh FF FF FF
Variable (int32) page_id
Attributes
ID : 3
Scope: global
Value: 0
Variable (string) aux
Attributes
ID : 5
Scope : local
Text :
Max. Text Size: 255
Variable (string) page_name
Attributes
ID : 9
Scope : global
Text :
Max. Text Size: 12
Variable (string) component
Attributes
ID : 10
Scope : global
Text :
Max. Text Size: 10
Text t0
Attributes
ID : 1
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 10
Text title
Attributes
ID : 4
Scope : global
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Please confirm
Max. Text Size : 30
Text body
Attributes
ID : 8
Scope : global
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : Please confirm
Max. Text Size : 22
Button bclose
Attributes
ID : 2
Scope : local
Dragging : 0
Send Component ID: disabled
State : unpressed
Text : 
Max. Text Size : 10
Events
Touch Release Event
page page_id.val
Button bt_accept
Attributes
ID : 6
Scope : local
Dragging : 0
Send Component ID: disabled
State : unpressed
Text : 
Max. Text Size : 3
Events
Touch Release Event
aux.txt="{\"page\": \""+page_name.txt+"\", \"event\": \"short_click\", \"component\": \""+component.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints aux.txt,0
printh 00
printh FF FF FF
page page_id.val
Button bt_clear
Attributes
ID : 7
Scope : local
Dragging : 0
Send Component ID: disabled
State : unpressed
Text : 
Max. Text Size : 10
Events
Touch Release Event
page page_id.val

View File

@@ -94,7 +94,7 @@ Text date
Text value01_state
Attributes
ID : 10
Scope : global
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
@@ -224,7 +224,7 @@ Text icon_top_10
Text value01_icon
Attributes
ID : 26
Scope : global
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
@@ -234,7 +234,7 @@ Text value01_icon
Text value03_state
Attributes
ID : 27
Scope : global
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
@@ -244,7 +244,7 @@ Text value03_state
Text value03_icon
Attributes
ID : 28
Scope : global
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
@@ -254,7 +254,7 @@ Text value03_icon
Text value02_icon
Attributes
ID : 29
Scope : global
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
@@ -264,7 +264,7 @@ Text value02_icon
Text value02_state
Attributes
ID : 30
Scope : global
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none