Selectable icon size on button pages

Solves #960
This commit is contained in:
Edward Firmo
2023-12-16 18:48:34 +01:00
parent c8d805e174
commit 17115e09cc
44 changed files with 1871 additions and 1546 deletions

View File

@@ -194,7 +194,7 @@ api:
component: string
foreground: int[]
then:
- lambda: set_component_color->execute(component, foreground, {});
- lambda: set_component_color->execute(component, foreground);
##### Service to play a rtttl tones #####
# Example tones : https://codebender.cc/sketch:109888#RTTTL%20Songs.ino
@@ -451,7 +451,7 @@ api:
{
if ((page_icon != std::string()) and (page_icon != ""))
disp1->set_component_text_printf("icon_state", "%s", page_icon.c_str());
set_component_color->execute("icon_state", page_icon_color, {});
set_component_color->execute("icon_state", page_icon_color);
}
# Service to show a QR code on the display (ex. for WiFi password)
@@ -496,15 +496,12 @@ api:
variables:
page: string
id: string
pic: int
bg: int[]
state: bool
icon: string
icon_color: int[]
icon_font: int
bri: string
bri_color: int[]
label: string
label_color: int[]
then:
- lambda: |-
static const char *const TAG = "service.set_button";
@@ -512,11 +509,16 @@ api:
std::string btnicon = id.c_str() + std::string("icon");
std::string btntext = id.c_str() + std::string("text");
std::string btnbri = id.c_str() + std::string("bri");
disp1->send_command_printf("%spic.pic=%" PRIu32, id.c_str(), pic);
uint8_t bg_pic = state ? 47 : 46;
uint16_t txt_color = state ? 10597 : 65535;
disp1->send_command_printf("%spic.picc=%u", id.c_str(), bg_pic);
disp1->send_command_printf("%sbri.picc=%u", id.c_str(), bg_pic);
disp1->send_command_printf("%stext.picc=%u", id.c_str(), bg_pic);
disp1->send_command_printf("%sicon.picc=%u", id.c_str(), bg_pic);
disp1->send_command_printf("%sicon.font=%" PRIu32, id.c_str(), icon_font);
set_component_color->execute(btnicon.c_str(), icon_color, bg);
set_component_color->execute(btntext.c_str(), label_color, bg);
set_component_color->execute(btnbri.c_str(), bri_color, bg);
disp1->send_command_printf("%sbri.pco=%u", id.c_str(), txt_color);
disp1->send_command_printf("%stext.pco=%u", id.c_str(), txt_color);
set_component_color->execute(btnicon.c_str(), icon_color);
disp1->set_component_text_printf(btnicon.c_str(), "%s", icon.c_str());
display_wrapped_text->execute(btntext.c_str(), label.c_str(), 10);
if (strcmp(bri.c_str(), "0") != 0)
@@ -605,7 +607,7 @@ api:
ESP_LOGV(TAG, "Set Notification button");
disp1->send_command_printf("is_notification=%i", (notification_text->state.empty() and notification_label->state.empty()) ? 0 : 1);
disp1->set_component_text_printf("home.bt_notific", "%s", notification_icon.c_str());
set_component_color->execute("home.bt_notific", notification_unread->state ? notification_icon_color_unread : notification_icon_color_normal, {});
set_component_color->execute("home.bt_notific", notification_unread->state ? notification_icon_color_unread : notification_icon_color_normal);
id(home_notify_icon_color_normal) = notification_icon_color_normal;
id(home_notify_icon_color_unread) = notification_icon_color_unread;
@@ -613,14 +615,14 @@ api:
ESP_LOGV(TAG, "Set QRCode button");
disp1->send_command_printf("is_qrcode=%i", qrcode ? 1 : 0);
disp1->set_component_text_printf("home.bt_qrcode", "%s", qrcode_icon.c_str());
set_component_color->execute("home.bt_qrcode", qrcode_icon_color, {});
set_component_color->execute("home.bt_qrcode", qrcode_icon_color);
// Entities pages button
ESP_LOGV(TAG, "Set Entities button");
disp1->send_command_printf("is_entities=%i", entities_pages ? 1 : 0);
disp1->set_component_text_printf("home.bt_entities", "%s", entities_pages_icon.c_str());
//set_component_color->execute("home.bt_entities", entities_pages_icon_color, {});
set_component_color->execute("home.bt_entities", entities_pages_icon_color, {});
//set_component_color->execute("home.bt_entities", entities_pages_icon_color);
set_component_color->execute("home.bt_entities", entities_pages_icon_color);
// Alarm button
ESP_LOGV(TAG, "Set Alarm button");
@@ -668,12 +670,12 @@ api:
// on/off button
if (supported_features & 128 and state == "off") //TURN_ON
{
set_component_color->execute("bt_on_off", { 65535 }, {} );
disp1->set_component_color("bt_on_off", 65535);
disp1->show_component("bt_on_off");
}
else if (supported_features & 256 and state != "off") //TURN_OFF
{
set_component_color->execute("bt_on_off", { 10597 }, {} );
disp1->set_component_color("bt_on_off", 10597);
disp1->show_component("bt_on_off");
}
else disp1->hide_component("bt_on_off");
@@ -1313,9 +1315,9 @@ switch:
optimistic: true
restore_mode: ALWAYS_OFF
on_turn_on:
- lambda: set_component_color->execute("home.bt_notific", id(home_notify_icon_color_unread), {});
- lambda: set_component_color->execute("home.bt_notific", id(home_notify_icon_color_unread));
on_turn_off:
- lambda: set_component_color->execute("home.bt_notific", id(home_notify_icon_color_normal), {});
- lambda: set_component_color->execute("home.bt_notific", id(home_notify_icon_color_normal));
##### Notification sound #####
- name: ${device_name} Notification sound
@@ -2094,24 +2096,15 @@ script:
parameters:
component: string
foreground: int32_t[]
background: int32_t[]
then:
- lambda: |-
int fg565 = -1;
int bg565 = -1;
// Foreground
if (foreground.size() == 3 and foreground[0] >= 0 and foreground[1] >= 0 and foreground[2] >= 0) fg565 = ((foreground[0] & 0b11111000) << 8) | ((foreground[1] & 0b11111100) << 3) | (foreground[2] >> 3);
else if (foreground.size() == 1) fg565 = foreground[0];
else fg565 = -1;
if (fg565 >= 0) disp1->set_component_font_color(component.c_str(), fg565);
// Background
if (background.size() == 3 and background[0] >= 0 and background[1] >= 0 and background[2] >= 0) bg565 = ((background[0] & 0b11111000) << 8) | ((background[1] & 0b11111100) << 3) | (background[2] >> 3);
else if (background.size() == 1) bg565 = background[0];
else bg565 = -1;
if (bg565 >= 0) disp1->set_component_background_color(component.c_str(), bg565);
- id: display_wrapped_text
mode: queued
parameters:
@@ -2462,7 +2455,7 @@ script:
refresh_relays->execute();
refresh_wifi_icon->execute();
disp1->send_command_printf("is_notification=%i", (notification_text->state.empty() and notification_label->state.empty()) ? 0 : 1);
set_component_color->execute("home.bt_notific", notification_unread->state ? id(home_notify_icon_color_unread) : id(home_notify_icon_color_normal), {});
set_component_color->execute("home.bt_notific", notification_unread->state ? id(home_notify_icon_color_unread) : id(home_notify_icon_color_normal));
refresh_datetime->execute();
addon_climate_update_page_home->execute();
}

Binary file not shown.

View File

@@ -25,92 +25,62 @@ Page buttonpage01
Variable (string) lastclick
Attributes
ID : 44
ID : 4
Scope : local
Text :
Max. Text Size: 100
Variable (string) click_comp
Attributes
ID : 47
ID : 7
Scope : local
Text :
Max. Text Size: 8
Variable (string) page_name
Attributes
ID : 49
ID : 9
Scope : local
Text : buttonpage01
Max. Text Size: 12
Variable (int32) confirm
Attributes
ID : 51
ID : 11
Scope: local
Value: 0
Text button01text
Text page_label
Attributes
ID : 4
ID : 3
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 100
Text button01bri
Text page_index
Attributes
ID : 5
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 20
Text button02text
Text button01pic
Attributes
ID : 7
ID : 12
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button02bri
Attributes
ID : 8
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Text button03text
Attributes
ID : 10
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button03bri
Attributes
ID : 11
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Text button04text
Text button02pic
Attributes
ID : 13
Scope : local
@@ -118,9 +88,9 @@ Text button04text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button04bri
Text button03pic
Attributes
ID : 14
Scope : local
@@ -128,9 +98,19 @@ Text button04bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 0
Text button05text
Text button04pic
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 0
Text button05pic
Attributes
ID : 16
Scope : local
@@ -138,9 +118,9 @@ Text button05text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button05bri
Text button06pic
Attributes
ID : 17
Scope : local
@@ -148,9 +128,19 @@ Text button05bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 0
Text button06text
Text button07pic
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 0
Text button08pic
Attributes
ID : 19
Scope : local
@@ -158,9 +148,9 @@ Text button06text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button06bri
Text button01text
Attributes
ID : 20
Scope : local
@@ -168,9 +158,19 @@ Text button06bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text button07text
Text button02text
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button03text
Attributes
ID : 22
Scope : local
@@ -180,7 +180,7 @@ Text button07text
Text :
Max. Text Size : 22
Text button07bri
Text button04text
Attributes
ID : 23
Scope : local
@@ -188,9 +188,19 @@ Text button07bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text button08text
Text button05text
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button06text
Attributes
ID : 25
Scope : local
@@ -200,7 +210,7 @@ Text button08text
Text :
Max. Text Size : 22
Text button08bri
Text button07text
Attributes
ID : 26
Scope : local
@@ -208,17 +218,17 @@ Text button08bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text bpage01_label
Text button08text
Attributes
ID : 27
Scope : local
Dragging : 0
Send Component ID : on press and release
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 100
Max. Text Size : 22
Text button01icon
Attributes
@@ -300,75 +310,89 @@ Text button08icon
Text :
Max. Text Size : 10
Text page_index
Text button01bri
Attributes
ID : 45
ID : 36
Scope : local
Dragging : 0
Send Component ID : on press and release
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 20
Max. Text Size : 4
Picture button01pic
Text button02bri
Attributes
ID : 3
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 37
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button02pic
Text button03bri
Attributes
ID : 6
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 38
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button03pic
Text button04bri
Attributes
ID : 9
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 39
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button04pic
Text button05bri
Attributes
ID : 12
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 40
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button05pic
Text button06bri
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 41
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button06pic
Text button07bri
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 42
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button07pic
Text button08bri
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID: disabled
Picture button08pic
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 43
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Button button_back
Attributes
ID : 46
ID : 6
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -382,7 +406,7 @@ Button button_back
Hotspot button01
Attributes
ID : 36
ID : 44
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -418,7 +442,7 @@ Hotspot button01
Hotspot button02
Attributes
ID : 37
ID : 45
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -454,7 +478,7 @@ Hotspot button02
Hotspot button03
Attributes
ID : 38
ID : 46
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -490,7 +514,7 @@ Hotspot button03
Hotspot button04
Attributes
ID : 39
ID : 47
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -526,7 +550,7 @@ Hotspot button04
Hotspot button05
Attributes
ID : 40
ID : 48
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -562,7 +586,7 @@ Hotspot button05
Hotspot button06
Attributes
ID : 41
ID : 49
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -598,7 +622,7 @@ Hotspot button06
Hotspot button07
Attributes
ID : 42
ID : 50
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -634,7 +658,7 @@ Hotspot button07
Hotspot button08
Attributes
ID : 43
ID : 51
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -682,7 +706,7 @@ Timer swipestore
Timer click_timer
Attributes
ID : 48
ID : 8
Scope : local
Period (ms): 800
Enabled : no
@@ -700,7 +724,7 @@ Timer click_timer
Timer wakeup_timer
Attributes
ID : 50
ID : 10
Scope : local
Period (ms): 100
Enabled : yes

View File

@@ -25,92 +25,62 @@ Page buttonpage02
Variable (string) lastclick
Attributes
ID : 44
ID : 4
Scope : local
Text :
Max. Text Size: 100
Variable (string) click_comp
Attributes
ID : 47
ID : 7
Scope : local
Text :
Max. Text Size: 8
Variable (string) page_name
Attributes
ID : 49
ID : 9
Scope : local
Text : buttonpage02
Max. Text Size: 12
Variable (int32) confirm
Attributes
ID : 51
ID : 11
Scope: local
Value: 0
Text button01text
Text page_label
Attributes
ID : 4
ID : 3
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 100
Text button01bri
Text page_index
Attributes
ID : 5
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 20
Text button02text
Text button01pic
Attributes
ID : 7
ID : 12
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button02bri
Attributes
ID : 8
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Text button03text
Attributes
ID : 10
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button03bri
Attributes
ID : 11
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Text button04text
Text button02pic
Attributes
ID : 13
Scope : local
@@ -118,9 +88,9 @@ Text button04text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button04bri
Text button03pic
Attributes
ID : 14
Scope : local
@@ -128,9 +98,19 @@ Text button04bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 0
Text button05text
Text button04pic
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 0
Text button05pic
Attributes
ID : 16
Scope : local
@@ -138,9 +118,9 @@ Text button05text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button05bri
Text button06pic
Attributes
ID : 17
Scope : local
@@ -148,9 +128,19 @@ Text button05bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 0
Text button06text
Text button07pic
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 0
Text button08pic
Attributes
ID : 19
Scope : local
@@ -158,9 +148,9 @@ Text button06text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button06bri
Text button01text
Attributes
ID : 20
Scope : local
@@ -168,9 +158,19 @@ Text button06bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text button07text
Text button02text
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button03text
Attributes
ID : 22
Scope : local
@@ -180,7 +180,7 @@ Text button07text
Text :
Max. Text Size : 22
Text button07bri
Text button04text
Attributes
ID : 23
Scope : local
@@ -188,9 +188,19 @@ Text button07bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text button08text
Text button05text
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button06text
Attributes
ID : 25
Scope : local
@@ -200,7 +210,7 @@ Text button08text
Text :
Max. Text Size : 22
Text button08bri
Text button07text
Attributes
ID : 26
Scope : local
@@ -208,17 +218,17 @@ Text button08bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text bpage02_label
Text button08text
Attributes
ID : 27
Scope : local
Dragging : 0
Send Component ID : on press and release
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 100
Max. Text Size : 22
Text button01icon
Attributes
@@ -300,75 +310,89 @@ Text button08icon
Text :
Max. Text Size : 10
Text page_index
Text button01bri
Attributes
ID : 46
ID : 36
Scope : local
Dragging : 0
Send Component ID : on press and release
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 20
Max. Text Size : 4
Picture button01pic
Text button02bri
Attributes
ID : 3
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 37
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button02pic
Text button03bri
Attributes
ID : 6
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 38
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button03pic
Text button04bri
Attributes
ID : 9
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 39
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button04pic
Text button05bri
Attributes
ID : 12
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 40
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button05pic
Text button06bri
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 41
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button06pic
Text button07bri
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 42
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button07pic
Text button08bri
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID: disabled
Picture button08pic
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 43
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Button button_back
Attributes
ID : 45
ID : 6
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -382,7 +406,7 @@ Button button_back
Hotspot button01
Attributes
ID : 36
ID : 44
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -418,7 +442,7 @@ Hotspot button01
Hotspot button02
Attributes
ID : 37
ID : 45
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -454,7 +478,7 @@ Hotspot button02
Hotspot button03
Attributes
ID : 38
ID : 46
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -490,7 +514,7 @@ Hotspot button03
Hotspot button04
Attributes
ID : 39
ID : 47
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -526,7 +550,7 @@ Hotspot button04
Hotspot button05
Attributes
ID : 40
ID : 48
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -562,7 +586,7 @@ Hotspot button05
Hotspot button06
Attributes
ID : 41
ID : 49
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -598,7 +622,7 @@ Hotspot button06
Hotspot button07
Attributes
ID : 42
ID : 50
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -634,7 +658,7 @@ Hotspot button07
Hotspot button08
Attributes
ID : 43
ID : 51
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -682,14 +706,14 @@ Timer swipestore
Timer click_timer
Attributes
ID : 48
ID : 8
Scope : local
Period (ms): 800
Enabled : no
Events
Timer Event
lastclick.txt="{\"page\": \"buttonpage02\", \"event\": \"long_click\", \"component\": \""+click_comp.txt+"\"}"
lastclick.txt="{\"page\": \"buttonpage01\", \"event\": \"long_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
@@ -700,7 +724,7 @@ Timer click_timer
Timer wakeup_timer
Attributes
ID : 50
ID : 10
Scope : local
Period (ms): 100
Enabled : yes
@@ -762,7 +786,7 @@ TouchCap swipe
swipec2=0-swipedy
if(swipec<-100)
{
page home
//page
}
}

View File

@@ -25,92 +25,62 @@ Page buttonpage03
Variable (string) lastclick
Attributes
ID : 44
ID : 4
Scope : local
Text :
Max. Text Size: 100
Variable (string) click_comp
Attributes
ID : 47
ID : 7
Scope : local
Text :
Max. Text Size: 8
Variable (string) page_name
Attributes
ID : 49
ID : 9
Scope : local
Text : buttonpage03
Max. Text Size: 12
Variable (int32) confirm
Attributes
ID : 51
ID : 11
Scope: local
Value: 0
Text button01text
Text page_label
Attributes
ID : 4
ID : 3
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 100
Text button01bri
Text page_index
Attributes
ID : 5
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 20
Text button02text
Text button01pic
Attributes
ID : 7
ID : 12
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button02bri
Attributes
ID : 8
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Text button03text
Attributes
ID : 10
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button03bri
Attributes
ID : 11
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Text button04text
Text button02pic
Attributes
ID : 13
Scope : local
@@ -118,9 +88,9 @@ Text button04text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button04bri
Text button03pic
Attributes
ID : 14
Scope : local
@@ -128,9 +98,19 @@ Text button04bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 0
Text button05text
Text button04pic
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 0
Text button05pic
Attributes
ID : 16
Scope : local
@@ -138,9 +118,9 @@ Text button05text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button05bri
Text button06pic
Attributes
ID : 17
Scope : local
@@ -148,9 +128,19 @@ Text button05bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 0
Text button06text
Text button07pic
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 0
Text button08pic
Attributes
ID : 19
Scope : local
@@ -158,9 +148,9 @@ Text button06text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button06bri
Text button01text
Attributes
ID : 20
Scope : local
@@ -168,9 +158,19 @@ Text button06bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text button07text
Text button02text
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button03text
Attributes
ID : 22
Scope : local
@@ -180,7 +180,7 @@ Text button07text
Text :
Max. Text Size : 22
Text button07bri
Text button04text
Attributes
ID : 23
Scope : local
@@ -188,9 +188,19 @@ Text button07bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text button08text
Text button05text
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button06text
Attributes
ID : 25
Scope : local
@@ -200,7 +210,7 @@ Text button08text
Text :
Max. Text Size : 22
Text button08bri
Text button07text
Attributes
ID : 26
Scope : local
@@ -208,17 +218,17 @@ Text button08bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text bpage03_label
Text button08text
Attributes
ID : 27
Scope : local
Dragging : 0
Send Component ID : on press and release
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 100
Max. Text Size : 22
Text button01icon
Attributes
@@ -300,75 +310,89 @@ Text button08icon
Text :
Max. Text Size : 10
Text page_index
Text button01bri
Attributes
ID : 46
ID : 36
Scope : local
Dragging : 0
Send Component ID : on press and release
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 20
Max. Text Size : 4
Picture button01pic
Text button02bri
Attributes
ID : 3
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 37
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button02pic
Text button03bri
Attributes
ID : 6
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 38
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button03pic
Text button04bri
Attributes
ID : 9
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 39
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button04pic
Text button05bri
Attributes
ID : 12
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 40
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button05pic
Text button06bri
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 41
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button06pic
Text button07bri
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 42
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button07pic
Text button08bri
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID: disabled
Picture button08pic
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 43
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Button button_back
Attributes
ID : 45
ID : 6
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -382,7 +406,7 @@ Button button_back
Hotspot button01
Attributes
ID : 36
ID : 44
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -418,7 +442,7 @@ Hotspot button01
Hotspot button02
Attributes
ID : 37
ID : 45
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -454,7 +478,7 @@ Hotspot button02
Hotspot button03
Attributes
ID : 38
ID : 46
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -490,7 +514,7 @@ Hotspot button03
Hotspot button04
Attributes
ID : 39
ID : 47
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -526,7 +550,7 @@ Hotspot button04
Hotspot button05
Attributes
ID : 40
ID : 48
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -562,7 +586,7 @@ Hotspot button05
Hotspot button06
Attributes
ID : 41
ID : 49
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -598,7 +622,7 @@ Hotspot button06
Hotspot button07
Attributes
ID : 42
ID : 50
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -634,7 +658,7 @@ Hotspot button07
Hotspot button08
Attributes
ID : 43
ID : 51
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -682,14 +706,14 @@ Timer swipestore
Timer click_timer
Attributes
ID : 48
ID : 8
Scope : local
Period (ms): 800
Enabled : no
Events
Timer Event
lastclick.txt="{\"page\": \"buttonpage03\", \"event\": \"long_click\", \"component\": \""+click_comp.txt+"\"}"
lastclick.txt="{\"page\": \"buttonpage01\", \"event\": \"long_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
@@ -700,7 +724,7 @@ Timer click_timer
Timer wakeup_timer
Attributes
ID : 50
ID : 10
Scope : local
Period (ms): 100
Enabled : yes
@@ -756,7 +780,7 @@ TouchCap swipe
// From Up to Down
if(swipec>100)
{
page home
//page
}
// Down to Up
swipec2=0-swipedy

View File

@@ -25,92 +25,62 @@ Page buttonpage04
Variable (string) lastclick
Attributes
ID : 44
ID : 4
Scope : local
Text :
Max. Text Size: 100
Variable (string) click_comp
Attributes
ID : 47
ID : 7
Scope : local
Text :
Max. Text Size: 8
Variable (string) page_name
Attributes
ID : 49
ID : 9
Scope : local
Text : buttonpage04
Max. Text Size: 12
Variable (int32) confirm
Attributes
ID : 51
ID : 11
Scope: local
Value: 0
Text button01text
Text page_label
Attributes
ID : 4
ID : 3
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 100
Text button01bri
Text page_index
Attributes
ID : 5
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 20
Text button02text
Text button01pic
Attributes
ID : 7
ID : 12
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button02bri
Attributes
ID : 8
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Text button03text
Attributes
ID : 10
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button03bri
Attributes
ID : 11
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Text button04text
Text button02pic
Attributes
ID : 13
Scope : local
@@ -118,9 +88,9 @@ Text button04text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button04bri
Text button03pic
Attributes
ID : 14
Scope : local
@@ -128,9 +98,19 @@ Text button04bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 0
Text button05text
Text button04pic
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 0
Text button05pic
Attributes
ID : 16
Scope : local
@@ -138,9 +118,9 @@ Text button05text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button05bri
Text button06pic
Attributes
ID : 17
Scope : local
@@ -148,9 +128,19 @@ Text button05bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 0
Text button06text
Text button07pic
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 0
Text button08pic
Attributes
ID : 19
Scope : local
@@ -158,9 +148,9 @@ Text button06text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button06bri
Text button01text
Attributes
ID : 20
Scope : local
@@ -168,9 +158,19 @@ Text button06bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text button07text
Text button02text
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button03text
Attributes
ID : 22
Scope : local
@@ -180,7 +180,7 @@ Text button07text
Text :
Max. Text Size : 22
Text button07bri
Text button04text
Attributes
ID : 23
Scope : local
@@ -188,9 +188,19 @@ Text button07bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text button08text
Text button05text
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button06text
Attributes
ID : 25
Scope : local
@@ -200,7 +210,7 @@ Text button08text
Text :
Max. Text Size : 22
Text button08bri
Text button07text
Attributes
ID : 26
Scope : local
@@ -208,17 +218,17 @@ Text button08bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text bpage04_label
Text button08text
Attributes
ID : 27
Scope : local
Dragging : 0
Send Component ID : on press and release
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 100
Max. Text Size : 22
Text button01icon
Attributes
@@ -300,75 +310,89 @@ Text button08icon
Text :
Max. Text Size : 10
Text page_index
Text button01bri
Attributes
ID : 46
ID : 36
Scope : local
Dragging : 0
Send Component ID : on press and release
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 20
Max. Text Size : 4
Picture button01pic
Text button02bri
Attributes
ID : 3
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 37
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button02pic
Text button03bri
Attributes
ID : 6
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 38
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button03pic
Text button04bri
Attributes
ID : 9
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 39
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button04pic
Text button05bri
Attributes
ID : 12
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 40
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button05pic
Text button06bri
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 41
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button06pic
Text button07bri
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 42
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button07pic
Text button08bri
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID: disabled
Picture button08pic
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 43
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Button button_back
Attributes
ID : 45
ID : 6
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -382,7 +406,7 @@ Button button_back
Hotspot button01
Attributes
ID : 36
ID : 44
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -418,7 +442,7 @@ Hotspot button01
Hotspot button02
Attributes
ID : 37
ID : 45
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -454,7 +478,7 @@ Hotspot button02
Hotspot button03
Attributes
ID : 38
ID : 46
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -490,7 +514,7 @@ Hotspot button03
Hotspot button04
Attributes
ID : 39
ID : 47
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -526,7 +550,7 @@ Hotspot button04
Hotspot button05
Attributes
ID : 40
ID : 48
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -562,7 +586,7 @@ Hotspot button05
Hotspot button06
Attributes
ID : 41
ID : 49
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -598,7 +622,7 @@ Hotspot button06
Hotspot button07
Attributes
ID : 42
ID : 50
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -634,7 +658,7 @@ Hotspot button07
Hotspot button08
Attributes
ID : 43
ID : 51
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -682,14 +706,14 @@ Timer swipestore
Timer click_timer
Attributes
ID : 48
ID : 8
Scope : local
Period (ms): 800
Enabled : no
Events
Timer Event
lastclick.txt="{\"page\": \"buttonpage04\", \"event\": \"long_click\", \"component\": \""+click_comp.txt+"\"}"
lastclick.txt="{\"page\": \"buttonpage01\", \"event\": \"long_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
@@ -700,7 +724,7 @@ Timer click_timer
Timer wakeup_timer
Attributes
ID : 50
ID : 10
Scope : local
Period (ms): 100
Enabled : yes

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 B

Binary file not shown.

View File

@@ -25,92 +25,62 @@ Page buttonpage01
Variable (string) lastclick
Attributes
ID : 44
ID : 4
Scope : local
Text :
Max. Text Size: 100
Variable (string) click_comp
Attributes
ID : 47
ID : 7
Scope : local
Text :
Max. Text Size: 8
Variable (string) page_name
Attributes
ID : 49
ID : 9
Scope : local
Text : buttonpage01
Max. Text Size: 12
Variable (int32) confirm
Attributes
ID : 51
ID : 11
Scope: local
Value: 0
Text button01text
Text page_label
Attributes
ID : 4
ID : 3
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 100
Text button01bri
Text page_index
Attributes
ID : 5
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 20
Text button02text
Text button01pic
Attributes
ID : 7
ID : 12
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button02bri
Attributes
ID : 8
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Text button03text
Attributes
ID : 10
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button03bri
Attributes
ID : 11
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Text button04text
Text button02pic
Attributes
ID : 13
Scope : local
@@ -118,9 +88,9 @@ Text button04text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button04bri
Text button03pic
Attributes
ID : 14
Scope : local
@@ -128,9 +98,19 @@ Text button04bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 0
Text button05text
Text button04pic
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 0
Text button05pic
Attributes
ID : 16
Scope : local
@@ -138,9 +118,9 @@ Text button05text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button05bri
Text button06pic
Attributes
ID : 17
Scope : local
@@ -148,9 +128,19 @@ Text button05bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 0
Text button06text
Text button07pic
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 0
Text button08pic
Attributes
ID : 19
Scope : local
@@ -158,9 +148,9 @@ Text button06text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button06bri
Text button01text
Attributes
ID : 20
Scope : local
@@ -168,9 +158,19 @@ Text button06bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text button07text
Text button02text
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button03text
Attributes
ID : 22
Scope : local
@@ -180,7 +180,7 @@ Text button07text
Text :
Max. Text Size : 22
Text button07bri
Text button04text
Attributes
ID : 23
Scope : local
@@ -188,9 +188,19 @@ Text button07bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text button08text
Text button05text
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button06text
Attributes
ID : 25
Scope : local
@@ -200,7 +210,7 @@ Text button08text
Text :
Max. Text Size : 22
Text button08bri
Text button07text
Attributes
ID : 26
Scope : local
@@ -208,17 +218,17 @@ Text button08bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text bpage01_label
Text button08text
Attributes
ID : 27
Scope : local
Dragging : 0
Send Component ID : on press and release
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 100
Max. Text Size : 22
Text button01icon
Attributes
@@ -300,75 +310,89 @@ Text button08icon
Text :
Max. Text Size : 10
Text page_index
Text button01bri
Attributes
ID : 45
ID : 36
Scope : local
Dragging : 0
Send Component ID : on press and release
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 20
Max. Text Size : 4
Picture button01pic
Text button02bri
Attributes
ID : 3
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 37
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button02pic
Text button03bri
Attributes
ID : 6
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 38
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button03pic
Text button04bri
Attributes
ID : 9
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 39
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button04pic
Text button05bri
Attributes
ID : 12
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 40
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button05pic
Text button06bri
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 41
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button06pic
Text button07bri
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 42
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button07pic
Text button08bri
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID: disabled
Picture button08pic
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 43
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Button button_back
Attributes
ID : 46
ID : 6
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -382,7 +406,7 @@ Button button_back
Hotspot button01
Attributes
ID : 36
ID : 44
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -418,7 +442,7 @@ Hotspot button01
Hotspot button02
Attributes
ID : 37
ID : 45
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -454,7 +478,7 @@ Hotspot button02
Hotspot button03
Attributes
ID : 38
ID : 46
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -490,7 +514,7 @@ Hotspot button03
Hotspot button04
Attributes
ID : 39
ID : 47
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -526,7 +550,7 @@ Hotspot button04
Hotspot button05
Attributes
ID : 40
ID : 48
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -562,7 +586,7 @@ Hotspot button05
Hotspot button06
Attributes
ID : 41
ID : 49
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -598,7 +622,7 @@ Hotspot button06
Hotspot button07
Attributes
ID : 42
ID : 50
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -634,7 +658,7 @@ Hotspot button07
Hotspot button08
Attributes
ID : 43
ID : 51
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -682,7 +706,7 @@ Timer swipestore
Timer click_timer
Attributes
ID : 48
ID : 8
Scope : local
Period (ms): 800
Enabled : no
@@ -700,7 +724,7 @@ Timer click_timer
Timer wakeup_timer
Attributes
ID : 50
ID : 10
Scope : local
Period (ms): 100
Enabled : yes

View File

@@ -25,92 +25,62 @@ Page buttonpage02
Variable (string) lastclick
Attributes
ID : 44
ID : 4
Scope : local
Text :
Max. Text Size: 100
Variable (string) click_comp
Attributes
ID : 47
ID : 7
Scope : local
Text :
Max. Text Size: 8
Variable (string) page_name
Attributes
ID : 49
ID : 9
Scope : local
Text : buttonpage02
Max. Text Size: 12
Variable (int32) confirm
Attributes
ID : 51
ID : 11
Scope: local
Value: 0
Text button01text
Text page_label
Attributes
ID : 4
ID : 3
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 100
Text button01bri
Text page_index
Attributes
ID : 5
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 20
Text button02text
Text button01pic
Attributes
ID : 7
ID : 12
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button02bri
Attributes
ID : 8
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Text button03text
Attributes
ID : 10
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button03bri
Attributes
ID : 11
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Text button04text
Text button02pic
Attributes
ID : 13
Scope : local
@@ -118,9 +88,9 @@ Text button04text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button04bri
Text button03pic
Attributes
ID : 14
Scope : local
@@ -128,9 +98,19 @@ Text button04bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 0
Text button05text
Text button04pic
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 0
Text button05pic
Attributes
ID : 16
Scope : local
@@ -138,9 +118,9 @@ Text button05text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button05bri
Text button06pic
Attributes
ID : 17
Scope : local
@@ -148,9 +128,19 @@ Text button05bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 0
Text button06text
Text button07pic
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 0
Text button08pic
Attributes
ID : 19
Scope : local
@@ -158,9 +148,9 @@ Text button06text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button06bri
Text button01text
Attributes
ID : 20
Scope : local
@@ -168,9 +158,19 @@ Text button06bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text button07text
Text button02text
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button03text
Attributes
ID : 22
Scope : local
@@ -180,7 +180,7 @@ Text button07text
Text :
Max. Text Size : 22
Text button07bri
Text button04text
Attributes
ID : 23
Scope : local
@@ -188,9 +188,19 @@ Text button07bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text button08text
Text button05text
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button06text
Attributes
ID : 25
Scope : local
@@ -200,7 +210,7 @@ Text button08text
Text :
Max. Text Size : 22
Text button08bri
Text button07text
Attributes
ID : 26
Scope : local
@@ -208,17 +218,17 @@ Text button08bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text bpage02_label
Text button08text
Attributes
ID : 27
Scope : local
Dragging : 0
Send Component ID : on press and release
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 100
Max. Text Size : 22
Text button01icon
Attributes
@@ -300,75 +310,89 @@ Text button08icon
Text :
Max. Text Size : 10
Text page_index
Text button01bri
Attributes
ID : 46
ID : 36
Scope : local
Dragging : 0
Send Component ID : on press and release
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 20
Max. Text Size : 4
Picture button01pic
Text button02bri
Attributes
ID : 3
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 37
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button02pic
Text button03bri
Attributes
ID : 6
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 38
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button03pic
Text button04bri
Attributes
ID : 9
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 39
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button04pic
Text button05bri
Attributes
ID : 12
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 40
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button05pic
Text button06bri
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 41
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button06pic
Text button07bri
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 42
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button07pic
Text button08bri
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID: disabled
Picture button08pic
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 43
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Button button_back
Attributes
ID : 45
ID : 6
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -382,7 +406,7 @@ Button button_back
Hotspot button01
Attributes
ID : 36
ID : 44
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -418,7 +442,7 @@ Hotspot button01
Hotspot button02
Attributes
ID : 37
ID : 45
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -454,7 +478,7 @@ Hotspot button02
Hotspot button03
Attributes
ID : 38
ID : 46
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -490,7 +514,7 @@ Hotspot button03
Hotspot button04
Attributes
ID : 39
ID : 47
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -526,7 +550,7 @@ Hotspot button04
Hotspot button05
Attributes
ID : 40
ID : 48
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -562,7 +586,7 @@ Hotspot button05
Hotspot button06
Attributes
ID : 41
ID : 49
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -598,7 +622,7 @@ Hotspot button06
Hotspot button07
Attributes
ID : 42
ID : 50
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -634,7 +658,7 @@ Hotspot button07
Hotspot button08
Attributes
ID : 43
ID : 51
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -682,14 +706,14 @@ Timer swipestore
Timer click_timer
Attributes
ID : 48
ID : 8
Scope : local
Period (ms): 800
Enabled : no
Events
Timer Event
lastclick.txt="{\"page\": \"buttonpage02\", \"event\": \"long_click\", \"component\": \""+click_comp.txt+"\"}"
lastclick.txt="{\"page\": \"buttonpage01\", \"event\": \"long_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
@@ -700,7 +724,7 @@ Timer click_timer
Timer wakeup_timer
Attributes
ID : 50
ID : 10
Scope : local
Period (ms): 100
Enabled : yes
@@ -762,7 +786,7 @@ TouchCap swipe
swipec2=0-swipedy
if(swipec<-100)
{
page home
//page
}
}

View File

@@ -25,92 +25,62 @@ Page buttonpage03
Variable (string) lastclick
Attributes
ID : 44
ID : 4
Scope : local
Text :
Max. Text Size: 100
Variable (string) click_comp
Attributes
ID : 47
ID : 7
Scope : local
Text :
Max. Text Size: 8
Variable (string) page_name
Attributes
ID : 49
ID : 9
Scope : local
Text : buttonpage03
Max. Text Size: 12
Variable (int32) confirm
Attributes
ID : 51
ID : 11
Scope: local
Value: 0
Text button01text
Text page_label
Attributes
ID : 4
ID : 3
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 100
Text button01bri
Text page_index
Attributes
ID : 5
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 20
Text button02text
Text button01pic
Attributes
ID : 7
ID : 12
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button02bri
Attributes
ID : 8
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Text button03text
Attributes
ID : 10
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button03bri
Attributes
ID : 11
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Text button04text
Text button02pic
Attributes
ID : 13
Scope : local
@@ -118,9 +88,9 @@ Text button04text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button04bri
Text button03pic
Attributes
ID : 14
Scope : local
@@ -128,9 +98,19 @@ Text button04bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 0
Text button05text
Text button04pic
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 0
Text button05pic
Attributes
ID : 16
Scope : local
@@ -138,9 +118,9 @@ Text button05text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button05bri
Text button06pic
Attributes
ID : 17
Scope : local
@@ -148,9 +128,19 @@ Text button05bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 0
Text button06text
Text button07pic
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 0
Text button08pic
Attributes
ID : 19
Scope : local
@@ -158,9 +148,9 @@ Text button06text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button06bri
Text button01text
Attributes
ID : 20
Scope : local
@@ -168,9 +158,19 @@ Text button06bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text button07text
Text button02text
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button03text
Attributes
ID : 22
Scope : local
@@ -180,7 +180,7 @@ Text button07text
Text :
Max. Text Size : 22
Text button07bri
Text button04text
Attributes
ID : 23
Scope : local
@@ -188,9 +188,19 @@ Text button07bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text button08text
Text button05text
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button06text
Attributes
ID : 25
Scope : local
@@ -200,7 +210,7 @@ Text button08text
Text :
Max. Text Size : 22
Text button08bri
Text button07text
Attributes
ID : 26
Scope : local
@@ -208,17 +218,17 @@ Text button08bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text bpage03_label
Text button08text
Attributes
ID : 27
Scope : local
Dragging : 0
Send Component ID : on press and release
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 100
Max. Text Size : 22
Text button01icon
Attributes
@@ -300,75 +310,89 @@ Text button08icon
Text :
Max. Text Size : 10
Text page_index
Text button01bri
Attributes
ID : 46
ID : 36
Scope : local
Dragging : 0
Send Component ID : on press and release
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 20
Max. Text Size : 4
Picture button01pic
Text button02bri
Attributes
ID : 3
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 37
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button02pic
Text button03bri
Attributes
ID : 6
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 38
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button03pic
Text button04bri
Attributes
ID : 9
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 39
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button04pic
Text button05bri
Attributes
ID : 12
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 40
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button05pic
Text button06bri
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 41
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button06pic
Text button07bri
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 42
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button07pic
Text button08bri
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID: disabled
Picture button08pic
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 43
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Button button_back
Attributes
ID : 45
ID : 6
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -382,7 +406,7 @@ Button button_back
Hotspot button01
Attributes
ID : 36
ID : 44
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -418,7 +442,7 @@ Hotspot button01
Hotspot button02
Attributes
ID : 37
ID : 45
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -454,7 +478,7 @@ Hotspot button02
Hotspot button03
Attributes
ID : 38
ID : 46
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -490,7 +514,7 @@ Hotspot button03
Hotspot button04
Attributes
ID : 39
ID : 47
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -526,7 +550,7 @@ Hotspot button04
Hotspot button05
Attributes
ID : 40
ID : 48
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -562,7 +586,7 @@ Hotspot button05
Hotspot button06
Attributes
ID : 41
ID : 49
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -598,7 +622,7 @@ Hotspot button06
Hotspot button07
Attributes
ID : 42
ID : 50
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -634,7 +658,7 @@ Hotspot button07
Hotspot button08
Attributes
ID : 43
ID : 51
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -682,14 +706,14 @@ Timer swipestore
Timer click_timer
Attributes
ID : 48
ID : 8
Scope : local
Period (ms): 800
Enabled : no
Events
Timer Event
lastclick.txt="{\"page\": \"buttonpage03\", \"event\": \"long_click\", \"component\": \""+click_comp.txt+"\"}"
lastclick.txt="{\"page\": \"buttonpage01\", \"event\": \"long_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
@@ -700,7 +724,7 @@ Timer click_timer
Timer wakeup_timer
Attributes
ID : 50
ID : 10
Scope : local
Period (ms): 100
Enabled : yes
@@ -756,7 +780,7 @@ TouchCap swipe
// From Up to Down
if(swipec>100)
{
page home
//page
}
// Down to Up
swipec2=0-swipedy

View File

@@ -25,92 +25,62 @@ Page buttonpage04
Variable (string) lastclick
Attributes
ID : 44
ID : 4
Scope : local
Text :
Max. Text Size: 100
Variable (string) click_comp
Attributes
ID : 47
ID : 7
Scope : local
Text :
Max. Text Size: 8
Variable (string) page_name
Attributes
ID : 49
ID : 9
Scope : local
Text : buttonpage04
Max. Text Size: 12
Variable (int32) confirm
Attributes
ID : 51
ID : 11
Scope: local
Value: 0
Text button01text
Text page_label
Attributes
ID : 4
ID : 3
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 100
Text button01bri
Text page_index
Attributes
ID : 5
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 20
Text button02text
Text button01pic
Attributes
ID : 7
ID : 12
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button02bri
Attributes
ID : 8
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Text button03text
Attributes
ID : 10
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button03bri
Attributes
ID : 11
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Text button04text
Text button02pic
Attributes
ID : 13
Scope : local
@@ -118,9 +88,9 @@ Text button04text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button04bri
Text button03pic
Attributes
ID : 14
Scope : local
@@ -128,9 +98,19 @@ Text button04bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 0
Text button05text
Text button04pic
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 0
Text button05pic
Attributes
ID : 16
Scope : local
@@ -138,9 +118,9 @@ Text button05text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button05bri
Text button06pic
Attributes
ID : 17
Scope : local
@@ -148,9 +128,19 @@ Text button05bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 0
Text button06text
Text button07pic
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 0
Text button08pic
Attributes
ID : 19
Scope : local
@@ -158,9 +148,9 @@ Text button06text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button06bri
Text button01text
Attributes
ID : 20
Scope : local
@@ -168,9 +158,19 @@ Text button06bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text button07text
Text button02text
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button03text
Attributes
ID : 22
Scope : local
@@ -180,7 +180,7 @@ Text button07text
Text :
Max. Text Size : 22
Text button07bri
Text button04text
Attributes
ID : 23
Scope : local
@@ -188,9 +188,19 @@ Text button07bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text button08text
Text button05text
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button06text
Attributes
ID : 25
Scope : local
@@ -200,7 +210,7 @@ Text button08text
Text :
Max. Text Size : 22
Text button08bri
Text button07text
Attributes
ID : 26
Scope : local
@@ -208,17 +218,17 @@ Text button08bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text bpage04_label
Text button08text
Attributes
ID : 27
Scope : local
Dragging : 0
Send Component ID : on press and release
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 100
Max. Text Size : 22
Text button01icon
Attributes
@@ -300,75 +310,89 @@ Text button08icon
Text :
Max. Text Size : 10
Text page_index
Text button01bri
Attributes
ID : 46
ID : 36
Scope : local
Dragging : 0
Send Component ID : on press and release
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 20
Max. Text Size : 4
Picture button01pic
Text button02bri
Attributes
ID : 3
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 37
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button02pic
Text button03bri
Attributes
ID : 6
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 38
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button03pic
Text button04bri
Attributes
ID : 9
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 39
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button04pic
Text button05bri
Attributes
ID : 12
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 40
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button05pic
Text button06bri
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 41
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button06pic
Text button07bri
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 42
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button07pic
Text button08bri
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID: disabled
Picture button08pic
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 43
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Button button_back
Attributes
ID : 45
ID : 6
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -382,7 +406,7 @@ Button button_back
Hotspot button01
Attributes
ID : 36
ID : 44
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -418,7 +442,7 @@ Hotspot button01
Hotspot button02
Attributes
ID : 37
ID : 45
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -454,7 +478,7 @@ Hotspot button02
Hotspot button03
Attributes
ID : 38
ID : 46
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -490,7 +514,7 @@ Hotspot button03
Hotspot button04
Attributes
ID : 39
ID : 47
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -526,7 +550,7 @@ Hotspot button04
Hotspot button05
Attributes
ID : 40
ID : 48
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -562,7 +586,7 @@ Hotspot button05
Hotspot button06
Attributes
ID : 41
ID : 49
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -598,7 +622,7 @@ Hotspot button06
Hotspot button07
Attributes
ID : 42
ID : 50
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -634,7 +658,7 @@ Hotspot button07
Hotspot button08
Attributes
ID : 43
ID : 51
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -682,14 +706,14 @@ Timer swipestore
Timer click_timer
Attributes
ID : 48
ID : 8
Scope : local
Period (ms): 800
Enabled : no
Events
Timer Event
lastclick.txt="{\"page\": \"buttonpage04\", \"event\": \"long_click\", \"component\": \""+click_comp.txt+"\"}"
lastclick.txt="{\"page\": \"buttonpage01\", \"event\": \"long_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
@@ -700,7 +724,7 @@ Timer click_timer
Timer wakeup_timer
Attributes
ID : 50
ID : 10
Scope : local
Period (ms): 100
Enabled : yes

Binary file not shown.

View File

@@ -25,92 +25,62 @@ Page buttonpage01
Variable (string) lastclick
Attributes
ID : 44
ID : 4
Scope : local
Text :
Max. Text Size: 100
Variable (string) click_comp
Attributes
ID : 47
ID : 7
Scope : local
Text :
Max. Text Size: 8
Variable (string) page_name
Attributes
ID : 49
ID : 9
Scope : local
Text : buttonpage01
Max. Text Size: 12
Variable (int32) confirm
Attributes
ID : 51
ID : 11
Scope: local
Value: 0
Text button01text
Text page_label
Attributes
ID : 4
ID : 3
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 100
Text button01bri
Text page_index
Attributes
ID : 5
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 20
Text button02text
Text button01pic
Attributes
ID : 7
ID : 12
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button02bri
Attributes
ID : 8
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Text button03text
Attributes
ID : 10
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button03bri
Attributes
ID : 11
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Text button04text
Text button02pic
Attributes
ID : 13
Scope : local
@@ -118,9 +88,9 @@ Text button04text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button04bri
Text button03pic
Attributes
ID : 14
Scope : local
@@ -128,9 +98,19 @@ Text button04bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 0
Text button05text
Text button04pic
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 0
Text button05pic
Attributes
ID : 16
Scope : local
@@ -138,9 +118,9 @@ Text button05text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button05bri
Text button06pic
Attributes
ID : 17
Scope : local
@@ -148,9 +128,19 @@ Text button05bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 0
Text button06text
Text button07pic
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 0
Text button08pic
Attributes
ID : 19
Scope : local
@@ -158,9 +148,9 @@ Text button06text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button06bri
Text button01text
Attributes
ID : 20
Scope : local
@@ -168,9 +158,19 @@ Text button06bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text button07text
Text button02text
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button03text
Attributes
ID : 22
Scope : local
@@ -180,7 +180,7 @@ Text button07text
Text :
Max. Text Size : 22
Text button07bri
Text button04text
Attributes
ID : 23
Scope : local
@@ -188,9 +188,19 @@ Text button07bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text button08text
Text button05text
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button06text
Attributes
ID : 25
Scope : local
@@ -200,7 +210,7 @@ Text button08text
Text :
Max. Text Size : 22
Text button08bri
Text button07text
Attributes
ID : 26
Scope : local
@@ -208,17 +218,17 @@ Text button08bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text bpage01_label
Text button08text
Attributes
ID : 27
Scope : local
Dragging : 0
Send Component ID : on press and release
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 100
Max. Text Size : 22
Text button01icon
Attributes
@@ -300,75 +310,89 @@ Text button08icon
Text :
Max. Text Size : 10
Text page_index
Text button01bri
Attributes
ID : 45
ID : 36
Scope : local
Dragging : 0
Send Component ID : on press and release
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 20
Max. Text Size : 4
Picture button01pic
Text button02bri
Attributes
ID : 3
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 37
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button02pic
Text button03bri
Attributes
ID : 6
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 38
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button03pic
Text button04bri
Attributes
ID : 9
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 39
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button04pic
Text button05bri
Attributes
ID : 12
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 40
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button05pic
Text button06bri
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 41
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button06pic
Text button07bri
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 42
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button07pic
Text button08bri
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID: disabled
Picture button08pic
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 43
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Button button_back
Attributes
ID : 46
ID : 6
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -382,7 +406,7 @@ Button button_back
Hotspot button01
Attributes
ID : 36
ID : 44
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -418,7 +442,7 @@ Hotspot button01
Hotspot button02
Attributes
ID : 37
ID : 45
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -454,7 +478,7 @@ Hotspot button02
Hotspot button03
Attributes
ID : 38
ID : 46
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -490,7 +514,7 @@ Hotspot button03
Hotspot button04
Attributes
ID : 39
ID : 47
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -526,7 +550,7 @@ Hotspot button04
Hotspot button05
Attributes
ID : 40
ID : 48
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -562,7 +586,7 @@ Hotspot button05
Hotspot button06
Attributes
ID : 41
ID : 49
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -598,7 +622,7 @@ Hotspot button06
Hotspot button07
Attributes
ID : 42
ID : 50
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -634,7 +658,7 @@ Hotspot button07
Hotspot button08
Attributes
ID : 43
ID : 51
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -682,7 +706,7 @@ Timer swipestore
Timer click_timer
Attributes
ID : 48
ID : 8
Scope : local
Period (ms): 800
Enabled : no
@@ -700,7 +724,7 @@ Timer click_timer
Timer wakeup_timer
Attributes
ID : 50
ID : 10
Scope : local
Period (ms): 100
Enabled : yes

View File

@@ -25,92 +25,62 @@ Page buttonpage02
Variable (string) lastclick
Attributes
ID : 44
ID : 4
Scope : local
Text :
Max. Text Size: 100
Variable (string) click_comp
Attributes
ID : 47
ID : 7
Scope : local
Text :
Max. Text Size: 8
Variable (string) page_name
Attributes
ID : 49
ID : 9
Scope : local
Text : buttonpage02
Max. Text Size: 12
Variable (int32) confirm
Attributes
ID : 51
ID : 11
Scope: local
Value: 0
Text button01text
Text page_label
Attributes
ID : 4
ID : 3
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 100
Text button01bri
Text page_index
Attributes
ID : 5
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 20
Text button02text
Text button01pic
Attributes
ID : 7
ID : 12
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button02bri
Attributes
ID : 8
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Text button03text
Attributes
ID : 10
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button03bri
Attributes
ID : 11
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Text button04text
Text button02pic
Attributes
ID : 13
Scope : local
@@ -118,9 +88,9 @@ Text button04text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button04bri
Text button03pic
Attributes
ID : 14
Scope : local
@@ -128,9 +98,19 @@ Text button04bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 0
Text button05text
Text button04pic
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 0
Text button05pic
Attributes
ID : 16
Scope : local
@@ -138,9 +118,9 @@ Text button05text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button05bri
Text button06pic
Attributes
ID : 17
Scope : local
@@ -148,9 +128,19 @@ Text button05bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 0
Text button06text
Text button07pic
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 0
Text button08pic
Attributes
ID : 19
Scope : local
@@ -158,9 +148,9 @@ Text button06text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button06bri
Text button01text
Attributes
ID : 20
Scope : local
@@ -168,9 +158,19 @@ Text button06bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text button07text
Text button02text
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button03text
Attributes
ID : 22
Scope : local
@@ -180,7 +180,7 @@ Text button07text
Text :
Max. Text Size : 22
Text button07bri
Text button04text
Attributes
ID : 23
Scope : local
@@ -188,9 +188,19 @@ Text button07bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text button08text
Text button05text
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button06text
Attributes
ID : 25
Scope : local
@@ -200,7 +210,7 @@ Text button08text
Text :
Max. Text Size : 22
Text button08bri
Text button07text
Attributes
ID : 26
Scope : local
@@ -208,17 +218,17 @@ Text button08bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text bpage02_label
Text button08text
Attributes
ID : 27
Scope : local
Dragging : 0
Send Component ID : on press and release
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 100
Max. Text Size : 22
Text button01icon
Attributes
@@ -300,75 +310,89 @@ Text button08icon
Text :
Max. Text Size : 10
Text page_index
Text button01bri
Attributes
ID : 46
ID : 36
Scope : local
Dragging : 0
Send Component ID : on press and release
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 20
Max. Text Size : 4
Picture button01pic
Text button02bri
Attributes
ID : 3
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 37
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button02pic
Text button03bri
Attributes
ID : 6
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 38
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button03pic
Text button04bri
Attributes
ID : 9
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 39
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button04pic
Text button05bri
Attributes
ID : 12
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 40
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button05pic
Text button06bri
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 41
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button06pic
Text button07bri
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 42
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button07pic
Text button08bri
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID: disabled
Picture button08pic
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 43
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Button button_back
Attributes
ID : 45
ID : 6
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -382,7 +406,7 @@ Button button_back
Hotspot button01
Attributes
ID : 36
ID : 44
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -418,7 +442,7 @@ Hotspot button01
Hotspot button02
Attributes
ID : 37
ID : 45
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -454,7 +478,7 @@ Hotspot button02
Hotspot button03
Attributes
ID : 38
ID : 46
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -490,7 +514,7 @@ Hotspot button03
Hotspot button04
Attributes
ID : 39
ID : 47
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -526,7 +550,7 @@ Hotspot button04
Hotspot button05
Attributes
ID : 40
ID : 48
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -562,7 +586,7 @@ Hotspot button05
Hotspot button06
Attributes
ID : 41
ID : 49
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -598,7 +622,7 @@ Hotspot button06
Hotspot button07
Attributes
ID : 42
ID : 50
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -634,7 +658,7 @@ Hotspot button07
Hotspot button08
Attributes
ID : 43
ID : 51
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -682,14 +706,14 @@ Timer swipestore
Timer click_timer
Attributes
ID : 48
ID : 8
Scope : local
Period (ms): 800
Enabled : no
Events
Timer Event
lastclick.txt="{\"page\": \"buttonpage02\", \"event\": \"long_click\", \"component\": \""+click_comp.txt+"\"}"
lastclick.txt="{\"page\": \"buttonpage01\", \"event\": \"long_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
@@ -700,7 +724,7 @@ Timer click_timer
Timer wakeup_timer
Attributes
ID : 50
ID : 10
Scope : local
Period (ms): 100
Enabled : yes
@@ -762,7 +786,7 @@ TouchCap swipe
swipec2=0-swipedy
if(swipec<-100)
{
page home
//page
}
}

View File

@@ -25,92 +25,62 @@ Page buttonpage03
Variable (string) lastclick
Attributes
ID : 44
ID : 4
Scope : local
Text :
Max. Text Size: 100
Variable (string) click_comp
Attributes
ID : 47
ID : 7
Scope : local
Text :
Max. Text Size: 8
Variable (string) page_name
Attributes
ID : 49
ID : 9
Scope : local
Text : buttonpage03
Max. Text Size: 12
Variable (int32) confirm
Attributes
ID : 51
ID : 11
Scope: local
Value: 0
Text button01text
Text page_label
Attributes
ID : 4
ID : 3
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 100
Text button01bri
Text page_index
Attributes
ID : 5
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 20
Text button02text
Text button01pic
Attributes
ID : 7
ID : 12
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button02bri
Attributes
ID : 8
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Text button03text
Attributes
ID : 10
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button03bri
Attributes
ID : 11
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Text button04text
Text button02pic
Attributes
ID : 13
Scope : local
@@ -118,9 +88,9 @@ Text button04text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button04bri
Text button03pic
Attributes
ID : 14
Scope : local
@@ -128,9 +98,19 @@ Text button04bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 0
Text button05text
Text button04pic
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 0
Text button05pic
Attributes
ID : 16
Scope : local
@@ -138,9 +118,9 @@ Text button05text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button05bri
Text button06pic
Attributes
ID : 17
Scope : local
@@ -148,9 +128,19 @@ Text button05bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 0
Text button06text
Text button07pic
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 0
Text button08pic
Attributes
ID : 19
Scope : local
@@ -158,9 +148,9 @@ Text button06text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button06bri
Text button01text
Attributes
ID : 20
Scope : local
@@ -168,9 +158,19 @@ Text button06bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text button07text
Text button02text
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button03text
Attributes
ID : 22
Scope : local
@@ -180,7 +180,7 @@ Text button07text
Text :
Max. Text Size : 22
Text button07bri
Text button04text
Attributes
ID : 23
Scope : local
@@ -188,9 +188,19 @@ Text button07bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text button08text
Text button05text
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button06text
Attributes
ID : 25
Scope : local
@@ -200,7 +210,7 @@ Text button08text
Text :
Max. Text Size : 22
Text button08bri
Text button07text
Attributes
ID : 26
Scope : local
@@ -208,17 +218,17 @@ Text button08bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text bpage03_label
Text button08text
Attributes
ID : 27
Scope : local
Dragging : 0
Send Component ID : on press and release
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 100
Max. Text Size : 22
Text button01icon
Attributes
@@ -300,75 +310,89 @@ Text button08icon
Text :
Max. Text Size : 10
Text page_index
Text button01bri
Attributes
ID : 46
ID : 36
Scope : local
Dragging : 0
Send Component ID : on press and release
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 20
Max. Text Size : 4
Picture button01pic
Text button02bri
Attributes
ID : 3
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 37
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button02pic
Text button03bri
Attributes
ID : 6
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 38
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button03pic
Text button04bri
Attributes
ID : 9
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 39
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button04pic
Text button05bri
Attributes
ID : 12
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 40
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button05pic
Text button06bri
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 41
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button06pic
Text button07bri
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 42
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button07pic
Text button08bri
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID: disabled
Picture button08pic
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 43
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Button button_back
Attributes
ID : 45
ID : 6
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -382,7 +406,7 @@ Button button_back
Hotspot button01
Attributes
ID : 36
ID : 44
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -418,7 +442,7 @@ Hotspot button01
Hotspot button02
Attributes
ID : 37
ID : 45
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -454,7 +478,7 @@ Hotspot button02
Hotspot button03
Attributes
ID : 38
ID : 46
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -490,7 +514,7 @@ Hotspot button03
Hotspot button04
Attributes
ID : 39
ID : 47
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -526,7 +550,7 @@ Hotspot button04
Hotspot button05
Attributes
ID : 40
ID : 48
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -562,7 +586,7 @@ Hotspot button05
Hotspot button06
Attributes
ID : 41
ID : 49
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -598,7 +622,7 @@ Hotspot button06
Hotspot button07
Attributes
ID : 42
ID : 50
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -634,7 +658,7 @@ Hotspot button07
Hotspot button08
Attributes
ID : 43
ID : 51
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -682,14 +706,14 @@ Timer swipestore
Timer click_timer
Attributes
ID : 48
ID : 8
Scope : local
Period (ms): 800
Enabled : no
Events
Timer Event
lastclick.txt="{\"page\": \"buttonpage03\", \"event\": \"long_click\", \"component\": \""+click_comp.txt+"\"}"
lastclick.txt="{\"page\": \"buttonpage01\", \"event\": \"long_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
@@ -700,7 +724,7 @@ Timer click_timer
Timer wakeup_timer
Attributes
ID : 50
ID : 10
Scope : local
Period (ms): 100
Enabled : yes
@@ -756,7 +780,7 @@ TouchCap swipe
// From Up to Down
if(swipec>100)
{
page home
//page
}
// Down to Up
swipec2=0-swipedy

View File

@@ -25,92 +25,62 @@ Page buttonpage04
Variable (string) lastclick
Attributes
ID : 44
ID : 4
Scope : local
Text :
Max. Text Size: 100
Variable (string) click_comp
Attributes
ID : 47
ID : 7
Scope : local
Text :
Max. Text Size: 8
Variable (string) page_name
Attributes
ID : 49
ID : 9
Scope : local
Text : buttonpage04
Max. Text Size: 12
Variable (int32) confirm
Attributes
ID : 51
ID : 11
Scope: local
Value: 0
Text button01text
Text page_label
Attributes
ID : 4
ID : 3
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 100
Text button01bri
Text page_index
Attributes
ID : 5
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 20
Text button02text
Text button01pic
Attributes
ID : 7
ID : 12
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button02bri
Attributes
ID : 8
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Text button03text
Attributes
ID : 10
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button03bri
Attributes
ID : 11
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Text button04text
Text button02pic
Attributes
ID : 13
Scope : local
@@ -118,9 +88,9 @@ Text button04text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button04bri
Text button03pic
Attributes
ID : 14
Scope : local
@@ -128,9 +98,19 @@ Text button04bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 0
Text button05text
Text button04pic
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 0
Text button05pic
Attributes
ID : 16
Scope : local
@@ -138,9 +118,9 @@ Text button05text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button05bri
Text button06pic
Attributes
ID : 17
Scope : local
@@ -148,9 +128,19 @@ Text button05bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 0
Text button06text
Text button07pic
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 0
Text button08pic
Attributes
ID : 19
Scope : local
@@ -158,9 +148,9 @@ Text button06text
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Max. Text Size : 0
Text button06bri
Text button01text
Attributes
ID : 20
Scope : local
@@ -168,9 +158,19 @@ Text button06bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text button07text
Text button02text
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button03text
Attributes
ID : 22
Scope : local
@@ -180,7 +180,7 @@ Text button07text
Text :
Max. Text Size : 22
Text button07bri
Text button04text
Attributes
ID : 23
Scope : local
@@ -188,9 +188,19 @@ Text button07bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text button08text
Text button05text
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 22
Text button06text
Attributes
ID : 25
Scope : local
@@ -200,7 +210,7 @@ Text button08text
Text :
Max. Text Size : 22
Text button08bri
Text button07text
Attributes
ID : 26
Scope : local
@@ -208,17 +218,17 @@ Text button08bri
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Max. Text Size : 22
Text bpage04_label
Text button08text
Attributes
ID : 27
Scope : local
Dragging : 0
Send Component ID : on press and release
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 100
Max. Text Size : 22
Text button01icon
Attributes
@@ -300,75 +310,89 @@ Text button08icon
Text :
Max. Text Size : 10
Text page_index
Text button01bri
Attributes
ID : 46
ID : 36
Scope : local
Dragging : 0
Send Component ID : on press and release
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 20
Max. Text Size : 4
Picture button01pic
Text button02bri
Attributes
ID : 3
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 37
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button02pic
Text button03bri
Attributes
ID : 6
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 38
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button03pic
Text button04bri
Attributes
ID : 9
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 39
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button04pic
Text button05bri
Attributes
ID : 12
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 40
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button05pic
Text button06bri
Attributes
ID : 15
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 41
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button06pic
Text button07bri
Attributes
ID : 18
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 42
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Picture button07pic
Text button08bri
Attributes
ID : 21
Scope : local
Dragging : 0
Send Component ID: disabled
Picture button08pic
Attributes
ID : 24
Scope : local
Dragging : 0
Send Component ID: disabled
ID : 43
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 4
Button button_back
Attributes
ID : 45
ID : 6
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -382,7 +406,7 @@ Button button_back
Hotspot button01
Attributes
ID : 36
ID : 44
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -418,7 +442,7 @@ Hotspot button01
Hotspot button02
Attributes
ID : 37
ID : 45
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -454,7 +478,7 @@ Hotspot button02
Hotspot button03
Attributes
ID : 38
ID : 46
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -490,7 +514,7 @@ Hotspot button03
Hotspot button04
Attributes
ID : 39
ID : 47
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -526,7 +550,7 @@ Hotspot button04
Hotspot button05
Attributes
ID : 40
ID : 48
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -562,7 +586,7 @@ Hotspot button05
Hotspot button06
Attributes
ID : 41
ID : 49
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -598,7 +622,7 @@ Hotspot button06
Hotspot button07
Attributes
ID : 42
ID : 50
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -634,7 +658,7 @@ Hotspot button07
Hotspot button08
Attributes
ID : 43
ID : 51
Scope : local
Dragging : 0
Send Component ID: on press and release
@@ -682,14 +706,14 @@ Timer swipestore
Timer click_timer
Attributes
ID : 48
ID : 8
Scope : local
Period (ms): 800
Enabled : no
Events
Timer Event
lastclick.txt="{\"page\": \"buttonpage04\", \"event\": \"long_click\", \"component\": \""+click_comp.txt+"\"}"
lastclick.txt="{\"page\": \"buttonpage01\", \"event\": \"long_click\", \"component\": \""+click_comp.txt+"\"}"
printh 92
prints "localevent",0
printh 00
@@ -700,7 +724,7 @@ Timer click_timer
Timer wakeup_timer
Attributes
ID : 50
ID : 10
Scope : local
Period (ms): 100
Enabled : yes

View File

@@ -1,9 +0,0 @@
# Creating `nspanel_us_land.HMI` from `nspanel_eu.HMI`:
## Program.s:
Change to `display_mode=3`
## Page `home`:
1. Change left_bt_pic (x,y,w,h) from ( 47,307,120,3) to (467,173,3,120)
2. Change right_bt_pic(x,y,w,h) from (288,307,120,3) to (467, 27,3,120)
3. Rotate pictures 30 & 31 by 90degrees - You will find the rotated pics under pics folder where this instruction file is.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 173 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 B