#define MMI_CUSTOMER_LANGUAGE (LANG_CH) // LANG_EN
//ring volume
-#define MMI_CUSTOMER_RING_VOLUME (2) // (10)
+#define MMI_CUSTOMER_RING_VOLUME (5) // (10)
//backlight level
#define MMI_CUSTOMER_BACKLIGHT_LEVEL (10)
#define MMI_CUSTOMER_WHITE_LIST_SWITCH (MMI_WATCH_SWITCH_OFF)
//main menu style
-#define MMI_CUSTOMER_MAIN_MENU_STYLE (MMI_MAIN_MENU_STYLE_LIST)
+#define MMI_CUSTOMER_MAIN_MENU_STYLE (MMI_MAIN_MENU_STYLE_ONE_PAGE)
// sim unbind
#define MMI_CUSTOMER_SIM_UNBIND_SWITCH (MMI_WATCH_SWITCH_ON)
#define MMI_CUSTOMER_CHIP_TEMP_HIGH_THRESHOLD (70)
#define MMI_CUSTOMER_CHIP_TEMP_LOW_THRESHOLD (60)
-// sleep setting
-#define MMI_CUSTOMER_SLEEP_SETTING_TIME_SWITCH (MMI_WATCH_SWITCH_ON) // 0-close; 1-open
-#define MMI_CUSTOMER_SLEEP_SETTING_TIME_BHOUR (20) // 0-23
-#define MMI_CUSTOMER_SLEEP_SETTING_TIME_BMIN (0) // 0-59
-#define MMI_CUSTOMER_SLEEP_SETTING_TIME_EHOUR (10) // 0-23
-#define MMI_CUSTOMER_SLEEP_SETTING_TIME_EMIN (0) // 0-59
-
#endif
-default_digit
-R:/png/dial_digital/dial_digital.json
-rokcket
-R:/png/dial_rocket/rocket_watch.json
-dolphin
-R:/png/dial_dolphin/dolphin_watch.json
style1
R:/png/dial_style1/dial_style1.json
-dial_style3
-R:/png/dial_style3/dial_style3.json
+++ /dev/null
-{
- "name": "无",
- "preview_img": "R:/png/dial/icon_none.png",
- "configurable": 2,
- "element_ll": [
- {
- "element_pos": {
- "x": 0,
- "y": 0
- },
- "element_cnt": 0,
- "act_type": 1,
- "layer": 0,
- "element_dsc_ll": [
- ]
- }
- ]
-}
+++ /dev/null
-{
- "name": "数字时钟",
- "preview_img": "R:/png/dial_digital/pre.png",
- "bg_img": "R:/png/dial_digital/bg.png",
- "configurable": 0,
- "element_ll": [
- {
- "element_pos": {
- "x": 28,
- "y": 144
- },
- "element_cnt": 1,
- "act_type": 1,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 1,
- "element_name": "数字时钟",
- "img_cnt": 5,
- "img_ll": [
- {
- "img_type": 10,
- "img_pos": {
- "x": 0,
- "y": 0
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_digital/0.png"
- },
- {
- "sub_img": "R:/png/dial_digital/1.png"
- },
- {
- "sub_img": "R:/png/dial_digital/2.png"
- },
- {
- "sub_img": "R:/png/dial_digital/3.png"
- },
- {
- "sub_img": "R:/png/dial_digital/4.png"
- },
- {
- "sub_img": "R:/png/dial_digital/5.png"
- },
- {
- "sub_img": "R:/png/dial_digital/6.png"
- },
- {
- "sub_img": "R:/png/dial_digital/7.png"
- },
- {
- "sub_img": "R:/png/dial_digital/8.png"
- },
- {
- "sub_img": "R:/png/dial_digital/9.png"
- }
- ]
- },
- {
- "img_type": 11,
- "img_pos": {
- "x": 90,
- "y": 0
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_digital/0.png"
- },
- {
- "sub_img": "R:/png/dial_digital/1.png"
- },
- {
- "sub_img": "R:/png/dial_digital/2.png"
- },
- {
- "sub_img": "R:/png/dial_digital/3.png"
- },
- {
- "sub_img": "R:/png/dial_digital/4.png"
- },
- {
- "sub_img": "R:/png/dial_digital/5.png"
- },
- {
- "sub_img": "R:/png/dial_digital/6.png"
- },
- {
- "sub_img": "R:/png/dial_digital/7.png"
- },
- {
- "sub_img": "R:/png/dial_digital/8.png"
- },
- {
- "sub_img": "R:/png/dial_digital/9.png"
- }
- ]
- },
- {
- "img_type": 16,
- "img_pos": {
- "x": 180,
- "y": 0
- },
- "sub_img_cnt": 1,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_digital/colon.png"
- }
- ]
- },
- {
- "img_type": 12,
- "img_pos": {
- "x": 229,
- "y": 0
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_digital/0.png"
- },
- {
- "sub_img": "R:/png/dial_digital/1.png"
- },
- {
- "sub_img": "R:/png/dial_digital/2.png"
- },
- {
- "sub_img": "R:/png/dial_digital/3.png"
- },
- {
- "sub_img": "R:/png/dial_digital/4.png"
- },
- {
- "sub_img": "R:/png/dial_digital/5.png"
- },
- {
- "sub_img": "R:/png/dial_digital/6.png"
- },
- {
- "sub_img": "R:/png/dial_digital/7.png"
- },
- {
- "sub_img": "R:/png/dial_digital/8.png"
- },
- {
- "sub_img": "R:/png/dial_digital/9.png"
- }
- ]
- },
- {
- "img_type": 13,
- "img_pos": {
- "x": 319,
- "y": 0
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_digital/0.png"
- },
- {
- "sub_img": "R:/png/dial_digital/1.png"
- },
- {
- "sub_img": "R:/png/dial_digital/2.png"
- },
- {
- "sub_img": "R:/png/dial_digital/3.png"
- },
- {
- "sub_img": "R:/png/dial_digital/4.png"
- },
- {
- "sub_img": "R:/png/dial_digital/5.png"
- },
- {
- "sub_img": "R:/png/dial_digital/6.png"
- },
- {
- "sub_img": "R:/png/dial_digital/7.png"
- },
- {
- "sub_img": "R:/png/dial_digital/8.png"
- },
- {
- "sub_img": "R:/png/dial_digital/9.png"
- }
- ]
- }
- ],
- "label_cnt": 0,
- "label_ll": [
- {
- "label_type": 0,
- "text": "",
- "text_color": {
- "r": 0,
- "g": 0,
- "b": 0
- },
- "text_pos": {
- "x": 0,
- "y": 0
- },
- "font_size": 0
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 0,
- "y": 0
- },
- "bar_color": {
- "r": 0,
- "g": 0,
- "b": 0
- },
- "bar_w": 0,
- "bar_h": 0
- }
- }
- ]
- }
- ]
-}
+++ /dev/null
-{
- "name": "海豚世界",
- "preview_img": "R:/png/dial_dolphin/icon_dial_dolphin.png",
- "bg_img": "R:/png/dial_dolphin/icon_dolphin.png",
- "configurable": 0,
- "element_ll": [
- {
- "element_pos": {
- "x": 50,
- "y": 100
- },
- "element_cnt": 1,
- "act_type": 1,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 1,
- "element_name": "数字时钟",
- "img_cnt": 4,
- "img_ll": [
- {
- "img_type": 10,
- "img_pos": {
- "x": 0,
- "y": 0
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_0.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_1.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_2.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_3.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_4.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_5.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_6.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_7.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_8.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_9.png"
- }
- ]
- },
- {
- "img_type": 11,
- "img_pos": {
- "x": 60,
- "y": 0
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_0.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_1.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_2.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_3.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_4.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_5.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_6.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_7.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_8.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_9.png"
- }
- ]
- },
- {
- "img_type": 12,
- "img_pos": {
- "x": 0,
- "y": 110
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_0.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_1.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_2.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_3.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_4.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_5.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_6.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_7.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_8.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_9.png"
- }
- ]
- },
- {
- "img_type": 13,
- "img_pos": {
- "x": 60,
- "y": 110
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_0.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_1.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_2.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_3.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_4.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_5.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_6.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_7.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_8.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_9.png"
- }
- ]
- }
- ],
- "label_cnt": 0,
- "label_ll": [
- {
- "label_type": 5,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 25,
- "y": 190
- },
- "font_size": 20
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- },
- {
- "element_pos": {
- "x": 50,
- "y": 325
- },
- "element_cnt": 1,
- "act_type": 5,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 5,
- "element_name": "日期",
- "img_cnt": 0,
- "img_ll": [
- ],
- "label_cnt": 3,
- "label_ll": [
- {
- "label_type": 8,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 0,
- "y": 0
- },
- "font_size": 30
- },
- {
- "label_type": 10,
- "text": "-",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 35,
- "y": 0
- },
- "font_size": 30
- },
- {
- "label_type": 9,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 50,
- "y": 0
- },
- "font_size": 30
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- },
- {
- "element_pos": {
- "x": 140,
- "y": 325
- },
- "element_cnt": 1,
- "act_type": 4,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 4,
- "element_name": "星期",
- "img_cnt": 0,
- "img_ll": [
- ],
- "label_cnt": 1,
- "label_ll": [
- {
- "label_type": 5,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 0,
- "y": 0
- },
- "font_size": 30
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- }
- ]
-}
+++ /dev/null
-{
- "name": "太空翱翔",
- "preview_img": "R:/png/dial_rocket/icon_dial_rocket.png",
- "bg_img": "R:/png/dial_rocket/icon_rocket.png",
- "configurable": 0,
- "element_ll": [
- {
- "element_pos": {
- "x": 230,
- "y": 80
- },
- "element_cnt": 1,
- "act_type": 1,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 1,
- "element_name": "数字时钟",
- "img_cnt": 4,
- "img_ll": [
- {
- "img_type": 10,
- "img_pos": {
- "x": 0,
- "y": 0
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_0.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_1.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_2.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_3.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_4.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_5.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_6.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_7.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_8.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_9.png"
- }
- ]
- },
- {
- "img_type": 11,
- "img_pos": {
- "x": 90,
- "y": 0
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_0.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_1.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_2.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_3.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_4.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_5.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_6.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_7.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_8.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_9.png"
- }
- ]
- },
- {
- "img_type": 12,
- "img_pos": {
- "x": 88,
- "y": 170
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_0.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_1.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_2.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_3.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_4.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_5.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_6.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_7.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_8.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_9.png"
- }
- ]
- },
- {
- "img_type": 13,
- "img_pos": {
- "x": 135,
- "y": 170
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_0.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_1.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_2.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_3.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_4.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_5.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_6.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_7.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_8.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_9.png"
- }
- ]
- }
- ],
- "label_cnt": 0,
- "label_ll": [
- {
- "label_type": 5,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 25,
- "y": 190
- },
- "font_size": 20
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- },
- {
- "element_pos": {
- "x": 215,
- "y": 330
- },
- "element_cnt": 1,
- "act_type": 5,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 5,
- "element_name": "日期",
- "img_cnt": 0,
- "img_ll": [
- ],
- "label_cnt": 4,
- "label_ll": [
- {
- "label_type": 8,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 0,
- "y": 0
- },
- "font_size": 30
- },
- {
- "label_type": 10,
- "text": "月",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 32,
- "y": 0
- },
- "font_size": 30
- },
- {
- "label_type": 9,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 65,
- "y": 0
- },
- "font_size": 30
- },
- {
- "label_type": 10,
- "text": "日",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 98,
- "y": 0
- },
- "font_size": 30
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- },
- {
- "element_pos": {
- "x": 345,
- "y": 330
- },
- "element_cnt": 1,
- "act_type": 4,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 4,
- "element_name": "星期",
- "img_cnt": 0,
- "img_ll": [
- ],
- "label_cnt": 1,
- "label_ll": [
- {
- "label_type": 5,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 0,
- "y": 0
- },
- "font_size": 30
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- }
- ]
-}
+++ /dev/null
-{
- "name": "火力全开",
- "preview_img": "R:/png/dial_style3/pre.png",
- "bg_img": "R:/png/dial_style3/bg.png",
- "configurable": 0,
- "element_ll": [
- {
- "element_pos": {
- "x": 76,
- "y": 173
- },
- "element_cnt": 1,
- "act_type": 1,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 1,
- "element_name": "数字时钟",
- "img_cnt": 5,
- "img_ll": [
- {
- "img_type": 10,
- "img_pos": {
- "x": -5,
- "y": 0
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_style3/0.png"
- },
- {
- "sub_img": "R:/png/dial_style3/1.png"
- },
- {
- "sub_img": "R:/png/dial_style3/2.png"
- },
- {
- "sub_img": "R:/png/dial_style3/3.png"
- },
- {
- "sub_img": "R:/png/dial_style3/4.png"
- },
- {
- "sub_img": "R:/png/dial_style3/5.png"
- },
- {
- "sub_img": "R:/png/dial_style3/6.png"
- },
- {
- "sub_img": "R:/png/dial_style3/7.png"
- },
- {
- "sub_img": "R:/png/dial_style3/8.png"
- },
- {
- "sub_img": "R:/png/dial_style3/9.png"
- }
- ]
- },
- {
- "img_type": 11,
- "img_pos": {
- "x": 67,
- "y": 0
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_style3/0.png"
- },
- {
- "sub_img": "R:/png/dial_style3/1.png"
- },
- {
- "sub_img": "R:/png/dial_style3/2.png"
- },
- {
- "sub_img": "R:/png/dial_style3/3.png"
- },
- {
- "sub_img": "R:/png/dial_style3/4.png"
- },
- {
- "sub_img": "R:/png/dial_style3/5.png"
- },
- {
- "sub_img": "R:/png/dial_style3/6.png"
- },
- {
- "sub_img": "R:/png/dial_style3/7.png"
- },
- {
- "sub_img": "R:/png/dial_style3/8.png"
- },
- {
- "sub_img": "R:/png/dial_style3/9.png"
- }
- ]
- },
- {
- "img_type": 12,
- "img_pos": {
- "x": 174,
- "y": 0
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_style3/0.png"
- },
- {
- "sub_img": "R:/png/dial_style3/1.png"
- },
- {
- "sub_img": "R:/png/dial_style3/2.png"
- },
- {
- "sub_img": "R:/png/dial_style3/3.png"
- },
- {
- "sub_img": "R:/png/dial_style3/4.png"
- },
- {
- "sub_img": "R:/png/dial_style3/5.png"
- },
- {
- "sub_img": "R:/png/dial_style3/6.png"
- },
- {
- "sub_img": "R:/png/dial_style3/7.png"
- },
- {
- "sub_img": "R:/png/dial_style3/8.png"
- },
- {
- "sub_img": "R:/png/dial_style3/9.png"
- }
- ]
- },
- {
- "img_type": 13,
- "img_pos": {
- "x": 246,
- "y": 0
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_style3/0.png"
- },
- {
- "sub_img": "R:/png/dial_style3/1.png"
- },
- {
- "sub_img": "R:/png/dial_style3/2.png"
- },
- {
- "sub_img": "R:/png/dial_style3/3.png"
- },
- {
- "sub_img": "R:/png/dial_style3/4.png"
- },
- {
- "sub_img": "R:/png/dial_style3/5.png"
- },
- {
- "sub_img": "R:/png/dial_style3/6.png"
- },
- {
- "sub_img": "R:/png/dial_style3/7.png"
- },
- {
- "sub_img": "R:/png/dial_style3/8.png"
- },
- {
- "sub_img": "R:/png/dial_style3/9.png"
- }
- ]
- },
- {
- "img_type": 16,
- "img_pos": {
- "x": 144,
- "y": 0
- },
- "sub_img_cnt": 1,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_style3/colon.png"
- }
- ]
- }
- ],
- "label_cnt": 0,
- "label_ll": [
- {
- "label_type": 5,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 25,
- "y": 190
- },
- "font_size": 20
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- },
- {
- "element_pos": {
- "x": 80,
- "y": 60
- },
- "element_cnt": 1,
- "act_type": 5,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 5,
- "element_name": "日期",
- "img_cnt": 0,
- "img_ll": [
- ],
- "label_cnt": 3,
- "label_ll": [
- {
- "label_type": 9,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 0,
- "y": 0
- },
- "font_size": 40
- },
- {
- "label_type": 10,
- "text": "/",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 52,
- "y": 7
- },
- "font_size": 30
- },
- {
- "label_type": 8,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 67,
- "y": 0
- },
- "font_size": 40
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- },
- {
- "element_pos": {
- "x": 89,
- "y": 105
- },
- "element_cnt": 1,
- "act_type": 4,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 4,
- "element_name": "星期",
- "img_cnt": 0,
- "img_ll": [
- ],
- "label_cnt": 1,
- "label_ll": [
- {
- "label_type": 5,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 0,
- "y": 0
- },
- "font_size": 40
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- },
- {
- "element_pos": {
- "x": 260,
- "y": 0
- },
- "element_cnt": 1,
- "act_type": 7,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 7,
- "element_name": "卡路里",
- "img_cnt": 2,
- "img_ll": [
- {
- "img_type": 70,
- "img_pos": {
- "x": 60,
- "y": 50
- },
- "sub_img_cnt": 1,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_style3/calorie.png"
- }
- ]
- },
- {
- "img_type": 75,
- "img_pos": {
- "x": 0,
- "y": 0
- },
- "sub_img_cnt": 11,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_style3/calorie/0.png"
- },
- {
- "sub_img": "R:/png/dial_style3/calorie/1.png"
- },
- {
- "sub_img": "R:/png/dial_style3/calorie/2.png"
- },
- {
- "sub_img": "R:/png/dial_style3/calorie/3.png"
- },
- {
- "sub_img": "R:/png/dial_style3/calorie/4.png"
- },
- {
- "sub_img": "R:/png/dial_style3/calorie/5.png"
- },
- {
- "sub_img": "R:/png/dial_style3/calorie/6.png"
- },
- {
- "sub_img": "R:/png/dial_style3/calorie/7.png"
- },
- {
- "sub_img": "R:/png/dial_style3/calorie/8.png"
- },
- {
- "sub_img": "R:/png/dial_style3/calorie/9.png"
- },
- {
- "sub_img": "R:/png/dial_style3/calorie/10.png"
- }
- ]
- }
- ],
- "label_cnt": 2,
- "label_ll": [
- {
- "label_type": 15,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 0,
- "y": 90
- },
- "font_size": 30
- },
- {
- "label_type": 16,
- "text": "KCAL",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 0,
- "y": 120
- },
- "font_size": 30
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- },
- {
- "element_pos": {
- "x": 40,
- "y": 300
- },
- "element_cnt": 1,
- "act_type": 13,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 13,
- "element_name": "心率",
- "img_cnt": 2,
- "img_ll": [
- {
- "img_type": 130,
- "img_pos": {
- "x": 50,
- "y": 65
- },
- "sub_img_cnt": 1,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_style3/heart.png"
- }
- ]
- },
- {
- "img_type": 135,
- "img_pos": {
- "x": 0,
- "y": 0
- },
- "sub_img_cnt": 1,
- "sub_img_ll": [
-
- {
- "sub_img": "R:/png/dial_style3/heart_image.png"
- }
- ]
- }
- ],
- "label_cnt": 2,
- "label_ll": [
- {
- "label_type": 24,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 105,
- "y": 0
- },
- "font_size": 30
- },
- {
- "label_type": 25,
- "text": "BPM",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 105,
- "y": 30
- },
- "font_size": 30
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- },
- {
- "element_pos": {
- "x": 260,
- "y": 330
- },
- "element_cnt": 1,
- "act_type": 8,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 8,
- "element_name": "计步",
- "img_cnt": 1,
- "img_ll": [
- {
- "img_type": 80,
- "img_pos": {
- "x": 30,
- "y": 0
- },
- "sub_img_cnt": 1,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_style3/step.png"
- }
- ]
- }
- ],
- "label_cnt": 1,
- "label_ll": [
- {
- "label_type": 17,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 20,
- "y": 50
- },
- "font_size": 30
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- }
- ]
-}
#define USE_LV_WATCH_PRIMARY_MENU 1
#define USE_LV_WATCH_STATUS_AND_SETTING 1
#define USE_LV_WATCH_QUICK_FUNCTION 0
-#define USE_LV_WATCH_WEATHER 1
+#define USE_LV_WATCH_WEATHER 0 // 1
#define USE_LV_WATCH_PEDOMETER 1
#define USE_LV_WATCH_BODYINFO 1
#define USE_LV_WATCH_RECORD 0 // 1
#define USE_LV_WATCH_SETTING_ABOUT 1
#define USE_LV_WATCH_SHUTDOWN 1
#define USE_LV_WATCH_LANGUAGE 1
-#define USE_LV_WATCH_DIAL_SWITCH 1
+#define USE_LV_WATCH_DIAL_SWITCH 0 // 1
//#define USE_LV_WATCH_DIAL_DEFAULT_CLOCK 1
//#define USE_LV_WATCH_DIAL_DOLPHIN 1
//#define USE_LV_WATCH_DIAL_ROCKET 1
#define USE_LV_WATCH_ALARM 1
#define USE_LV_WATCH_ALARM_SET 1
#define USE_LV_WATCH_POWER_OFF_CHARGING 1
-#define USE_LV_WATCH_CALCULATOR 1
+#define USE_LV_WATCH_CALCULATOR 0 // 1
#define USE_LV_WATCH_FACTORY_MODE 1
#define USE_LV_WATCH_VOICE_MSG 0 // 1
#define USE_LV_WATCH_RESTART_AND_RESET 1
#define USE_LV_WATCH_KEYPAD 1
#define USE_LV_WATCH_MOBILE_NETWORK 1
#define USE_LV_WATCH_COMPASS 0
-#define USE_LV_WATCH_TIMER 1
+#define USE_LV_WATCH_TIMER 0 // 1
#define USE_LV_WATCH_EXERCISE 0
#define USE_LV_WATCH_SLEEP 0
#define USE_LV_WATCH_ELEVATION 0
#define USE_LV_WATCH_SIMCHECK 0
-#define USE_LV_WATCH_CALL_LOG 1
+#define USE_LV_WATCH_CALL_LOG 0 // 1
#define USE_LV_WATCH_MESSAGE 0 // 1
#define USE_LV_WATCH_ALIPAY 0
#endif
-#define USE_LV_WATCH_SMS_MSG 1
+#define USE_LV_WATCH_SMS_MSG 0 // 1
#define USE_LV_WATCH_UPGRADE 0 // 1
#define USE_LV_WATCH_UPGRADE_RS 0
#define __MMI_ZHSX_SUPPORT_FZD__
#define __MMI_ZHSX_SUPPORT_AUTHENTICATE__
-#define __MMI_ZHSX_SUPPORT_SMS__
+//#define __MMI_ZHSX_SUPPORT_SMS__
// project mmi
#define MMI_PROJECT_Z5_HA_K18
+#define MMI_PROJECT_Z5_HA_K18_NFC
-#if 0 != USE_LV_WATCH_ALIPAY
-#define __MMI_ZHSX_SUPPORT_ALIPAY__
-#endif
-
-//#define __MMI_ZHSX_SUPPORT_VIDEO_CALL__
-//#define __MMI_ZHSX_SUPPORT_VIDEO_CALL_WULIAN__
-//#define __MMI_ZHSX_SUPPORT_VIDEO_CALL_FZD__
-//#define __MMI_ZHSX_SUPPORT_VIDEO_CALL_TONGXIN__
-
-#define __MMI_WECHAT_SUPPORT__
-#define __MMI_WECHAT_RECEIVE_AUDIO_USE_MP3__
//#define __MMI_MAIN_MENU_SWITCH_MENU__
-//#define __MMI_MAIN_MENU_ONE_PAGE_STYLE__
-#define __MMI_MAIN_MENU_LIST_STYLE__
+#define __MMI_MAIN_MENU_ONE_PAGE_STYLE__
+//#define __MMI_MAIN_MENU_LIST_STYLE__
#define __MMI_ZHSX_SUPPORT_HEALTH_SENSOR__
#define __MMI_CHIP_TEMPERATURE_MONITOR_SUPPORT__
-#define __MMI_SLEEP_FUNCTION_SUPPORT__
-//#define __MMI_CUSTOM_HENGAI_SLEEP__
-#define __MMI_CUSTOM_HENGAI_SLEEP_K18__
-
-#define __MMI_CUSTOM_HENGAI_MICRO_HEALTH_CHECKUP__
#endif
lv_watch_png_cache_all_free();
lv_obj_t * launcher_act_obj = lv_watch_get_activity_obj(ACT_ID_LAUNCHER);
if(launcher_act_obj == lv_watch_get_top_activity_obj()) {
+ #if USE_LV_WATCH_DIAL_SWITCH != 0
dial_switch_create(NULL, 0);
+ #endif
} else {
printf("not create dial switch when other act(e.g. phone) create above launcher\n");
}
// one page
#ifdef __MMI_MAIN_MENU_ONE_PAGE_STYLE__
+#ifdef MMI_PROJECT_Z5_HA_K18_NFC
+static mmi_page_main_menu_info_t s_main_menu_one_page[] =
+{
+#ifdef __MMI_HEALTH_MEASURE_HEART_SUPPORT__
+ {{ ICON_HEART_RATE_ONE_PAGE, WATCH_TEXT_ID_HEART_RATE, health_heart_rate_create_event_cb}, NULL},
+#endif
+#ifdef __MMI_HEALTH_MEASURE_SPO2_SUPPORT__
+ {{ ICON_SPO2_ONE_PAGE, WATCH_TEXT_ID_SPO2, health_spo2_create_event_cb}, NULL},
+#endif
+#ifdef __MMI_HEALTH_MEASURE_TEMPERATURE_SUPPORT__
+ {{ ICON_TEMPERATURE_ONE_PAGE, WATCH_TEXT_ID_TEMPERATURE, health_temperature_create_event_cb}, NULL},
+#endif
+ {{ ICON_SETTING_ONE_PAGE, WATCH_TEXT_ID_SETTINGS, setting_create_event_cb}, NULL},
+};
+
+#else
//static watch_app_info_t s_main_menu_one_page[] =
static mmi_page_main_menu_info_t s_main_menu_one_page[] =
{
#endif
{{ ICON_SETTING_ONE_PAGE, WATCH_TEXT_ID_SETTINGS, setting_create_event_cb}, AUDIO_MAIN_MENU_SETTINGS},
};
+#endif
#ifdef __MMI_PAGE_MAIN_MENU_TTS_SUPPORT__
lv_res_t mmi_key_back_sos_btn_action(void)
{
+
+#ifdef MMI_PROJECT_Z5_HA_K18_NFC
+ return LV_RES_INV;
+#endif
+
if(false == watch_modem_sim_present_check_req())
{
printf("[@CHENG_DEBUG][%s][%d]: \n", __FUNCTION__, __LINE__);