static constexpr const char *TB_LISTEN_IMAGE_93 = APP_RES_PATH"/animated_icon/listen/93.bin";
static constexpr const char *TB_LISTEN_IMAGE_94 = APP_RES_PATH"/animated_icon/listen/94.bin";
static constexpr const char *TB_LISTEN_IMAGE_95 = APP_RES_PATH"/animated_icon/listen/95.bin";
+
+ // Thunderbird animations: search 1..30
+ static constexpr const char *TB_SEARCH_IMAGE_1 = APP_RES_PATH"/animated_icon/sreach/1.bin";
+ static constexpr const char *TB_SEARCH_IMAGE_2 = APP_RES_PATH"/animated_icon/sreach/2.bin";
+ static constexpr const char *TB_SEARCH_IMAGE_3 = APP_RES_PATH"/animated_icon/sreach/3.bin";
+ static constexpr const char *TB_SEARCH_IMAGE_4 = APP_RES_PATH"/animated_icon/sreach/4.bin";
+ static constexpr const char *TB_SEARCH_IMAGE_5 = APP_RES_PATH"/animated_icon/sreach/5.bin";
+ static constexpr const char *TB_SEARCH_IMAGE_6 = APP_RES_PATH"/animated_icon/sreach/6.bin";
+ static constexpr const char *TB_SEARCH_IMAGE_7 = APP_RES_PATH"/animated_icon/sreach/7.bin";
+ static constexpr const char *TB_SEARCH_IMAGE_8 = APP_RES_PATH"/animated_icon/sreach/8.bin";
+ static constexpr const char *TB_SEARCH_IMAGE_9 = APP_RES_PATH"/animated_icon/sreach/9.bin";
+ static constexpr const char *TB_SEARCH_IMAGE_10 = APP_RES_PATH"/animated_icon/sreach/10.bin";
+ static constexpr const char *TB_SEARCH_IMAGE_11 = APP_RES_PATH"/animated_icon/sreach/11.bin";
+ static constexpr const char *TB_SEARCH_IMAGE_12 = APP_RES_PATH"/animated_icon/sreach/12.bin";
+ static constexpr const char *TB_SEARCH_IMAGE_13 = APP_RES_PATH"/animated_icon/sreach/13.bin";
+ static constexpr const char *TB_SEARCH_IMAGE_14 = APP_RES_PATH"/animated_icon/sreach/14.bin";
+ static constexpr const char *TB_SEARCH_IMAGE_15 = APP_RES_PATH"/animated_icon/sreach/15.bin";
+ static constexpr const char *TB_SEARCH_IMAGE_16 = APP_RES_PATH"/animated_icon/sreach/16.bin";
+ static constexpr const char *TB_SEARCH_IMAGE_17 = APP_RES_PATH"/animated_icon/sreach/17.bin";
+ static constexpr const char *TB_SEARCH_IMAGE_18 = APP_RES_PATH"/animated_icon/sreach/18.bin";
+ static constexpr const char *TB_SEARCH_IMAGE_19 = APP_RES_PATH"/animated_icon/sreach/19.bin";
+ static constexpr const char *TB_SEARCH_IMAGE_20 = APP_RES_PATH"/animated_icon/sreach/20.bin";
+ static constexpr const char *TB_SEARCH_IMAGE_21 = APP_RES_PATH"/animated_icon/sreach/21.bin";
+ static constexpr const char *TB_SEARCH_IMAGE_22 = APP_RES_PATH"/animated_icon/sreach/22.bin";
+ static constexpr const char *TB_SEARCH_IMAGE_23 = APP_RES_PATH"/animated_icon/sreach/23.bin";
+ static constexpr const char *TB_SEARCH_IMAGE_24 = APP_RES_PATH"/animated_icon/sreach/24.bin";
+
+ // Thunderbird animations: list 1..49
+ static constexpr const char *TB_LIST_IMAGE_1 = APP_RES_PATH"/animated_icon/list/1.bin";
+ static constexpr const char *TB_LIST_IMAGE_2 = APP_RES_PATH"/animated_icon/list/2.bin";
+ static constexpr const char *TB_LIST_IMAGE_3 = APP_RES_PATH"/animated_icon/list/3.bin";
+ static constexpr const char *TB_LIST_IMAGE_4 = APP_RES_PATH"/animated_icon/list/4.bin";
+ static constexpr const char *TB_LIST_IMAGE_5 = APP_RES_PATH"/animated_icon/list/5.bin";
+ static constexpr const char *TB_LIST_IMAGE_6 = APP_RES_PATH"/animated_icon/list/6.bin";
+ static constexpr const char *TB_LIST_IMAGE_7 = APP_RES_PATH"/animated_icon/list/7.bin";
+ static constexpr const char *TB_LIST_IMAGE_8 = APP_RES_PATH"/animated_icon/list/8.bin";
+ static constexpr const char *TB_LIST_IMAGE_9 = APP_RES_PATH"/animated_icon/list/9.bin";
+ static constexpr const char *TB_LIST_IMAGE_10 = APP_RES_PATH"/animated_icon/list/10.bin";
+ static constexpr const char *TB_LIST_IMAGE_11 = APP_RES_PATH"/animated_icon/list/11.bin";
+ static constexpr const char *TB_LIST_IMAGE_12 = APP_RES_PATH"/animated_icon/list/12.bin";
+ static constexpr const char *TB_LIST_IMAGE_13 = APP_RES_PATH"/animated_icon/list/13.bin";
+ static constexpr const char *TB_LIST_IMAGE_14 = APP_RES_PATH"/animated_icon/list/14.bin";
+ static constexpr const char *TB_LIST_IMAGE_15 = APP_RES_PATH"/animated_icon/list/15.bin";
+ static constexpr const char *TB_LIST_IMAGE_16 = APP_RES_PATH"/animated_icon/list/16.bin";
+ static constexpr const char *TB_LIST_IMAGE_17 = APP_RES_PATH"/animated_icon/list/17.bin";
+ static constexpr const char *TB_LIST_IMAGE_18 = APP_RES_PATH"/animated_icon/list/18.bin";
+ static constexpr const char *TB_LIST_IMAGE_19 = APP_RES_PATH"/animated_icon/list/19.bin";
+ static constexpr const char *TB_LIST_IMAGE_20 = APP_RES_PATH"/animated_icon/list/20.bin";
+ static constexpr const char *TB_LIST_IMAGE_21 = APP_RES_PATH"/animated_icon/list/21.bin";
+ static constexpr const char *TB_LIST_IMAGE_22 = APP_RES_PATH"/animated_icon/list/22.bin";
+ static constexpr const char *TB_LIST_IMAGE_23 = APP_RES_PATH"/animated_icon/list/23.bin";
+ static constexpr const char *TB_LIST_IMAGE_24 = APP_RES_PATH"/animated_icon/list/24.bin";
+ static constexpr const char *TB_LIST_IMAGE_25 = APP_RES_PATH"/animated_icon/list/25.bin";
+ static constexpr const char *TB_LIST_IMAGE_26 = APP_RES_PATH"/animated_icon/list/26.bin";
+ static constexpr const char *TB_LIST_IMAGE_27 = APP_RES_PATH"/animated_icon/list/27.bin";
+ static constexpr const char *TB_LIST_IMAGE_28 = APP_RES_PATH"/animated_icon/list/28.bin";
+ static constexpr const char *TB_LIST_IMAGE_29 = APP_RES_PATH"/animated_icon/list/29.bin";
+ static constexpr const char *TB_LIST_IMAGE_30 = APP_RES_PATH"/animated_icon/list/30.bin";
+ static constexpr const char *TB_LIST_IMAGE_31 = APP_RES_PATH"/animated_icon/list/31.bin";
+ static constexpr const char *TB_LIST_IMAGE_32 = APP_RES_PATH"/animated_icon/list/32.bin";
+ static constexpr const char *TB_LIST_IMAGE_33 = APP_RES_PATH"/animated_icon/list/33.bin";
+ static constexpr const char *TB_LIST_IMAGE_34 = APP_RES_PATH"/animated_icon/list/34.bin";
+ static constexpr const char *TB_LIST_IMAGE_35 = APP_RES_PATH"/animated_icon/list/35.bin";
+ static constexpr const char *TB_LIST_IMAGE_36 = APP_RES_PATH"/animated_icon/list/36.bin";
+ static constexpr const char *TB_LIST_IMAGE_37 = APP_RES_PATH"/animated_icon/list/37.bin";
+ static constexpr const char *TB_LIST_IMAGE_38 = APP_RES_PATH"/animated_icon/list/38.bin";
+ static constexpr const char *TB_LIST_IMAGE_39 = APP_RES_PATH"/animated_icon/list/39.bin";
+ static constexpr const char *TB_LIST_IMAGE_40 = APP_RES_PATH"/animated_icon/list/40.bin";
+ static constexpr const char *TB_LIST_IMAGE_41 = APP_RES_PATH"/animated_icon/list/41.bin";
+ static constexpr const char *TB_LIST_IMAGE_42 = APP_RES_PATH"/animated_icon/list/42.bin";
+ static constexpr const char *TB_LIST_IMAGE_43 = APP_RES_PATH"/animated_icon/list/43.bin";
+ static constexpr const char *TB_LIST_IMAGE_44 = APP_RES_PATH"/animated_icon/list/44.bin";
+ static constexpr const char *TB_LIST_IMAGE_45 = APP_RES_PATH"/animated_icon/list/45.bin";
+ static constexpr const char *TB_LIST_IMAGE_46 = APP_RES_PATH"/animated_icon/list/46.bin";
+ static constexpr const char *TB_LIST_IMAGE_47 = APP_RES_PATH"/animated_icon/list/47.bin";
+ static constexpr const char *TB_LIST_IMAGE_48 = APP_RES_PATH"/animated_icon/list/48.bin";
+ static constexpr const char *TB_LIST_IMAGE_49 = APP_RES_PATH"/animated_icon/list/49.bin";
// Thunderbird animations: net 1..60
static constexpr const char *TB_NET_IMAGE_1 = APP_RES_PATH"/animated_icon/net/1.bin";
if (BackGround != nullptr) { delete BackGround; BackGround = nullptr; }
if (DeviceList != nullptr) { delete DeviceList; DeviceList = nullptr; }
if (deviceListAdapter_ != nullptr) { delete deviceListAdapter_; deviceListAdapter_ = nullptr; }
+ if (searchAnimator != nullptr) { delete searchAnimator; searchAnimator = nullptr; }
+ if (selectAnimator != nullptr) { delete selectAnimator; selectAnimator = nullptr; }
}
bool ThunderBirdBlueView::EnsureNetAnimator()
return true;
}
+ bool ThunderBirdBlueView::EnsureSearchAnimator()
+ {
+ if (searchAnimator == nullptr)
+ {
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "ThunderBirdBlueView::EnsureSearchAnimator: 创建搜索动画");
+ searchPathsArray = TB_BLUE_SEARCH_PATHS;
+ searchAnimator = new UIImageAnimatorView();
+ if (searchAnimator == nullptr)
+ {
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "ThunderBirdBlueView new UIImageAnimatorView fail");
+ return false;
+ }
+ searchAnimator->SetAutoEnable(false);
+ for (uint8_t i = 0; i < TB_BLUE_SEARCH_ANIM_FRAMES; i++)
+ {
+ searchImageInfo[i].imagePath = (searchPathsArray[i]);
+ searchImageInfo[i].imageType = IMG_SRC_FILE_PATH;
+ searchImageInfo[i].pos.x = TB_BLUE_SEARCH_ANIM_X;
+ searchImageInfo[i].pos.y = TB_BLUE_SEARCH_ANIM_Y;
+ searchImageInfo[i].width = TB_BLUE_SEARCH_ANIM_W;
+ searchImageInfo[i].height = TB_BLUE_SEARCH_ANIM_H;
+ }
+ searchAnimator->SetPosition(TB_BLUE_SEARCH_ANIM_X, TB_BLUE_SEARCH_ANIM_Y, TB_BLUE_SEARCH_ANIM_W, TB_BLUE_SEARCH_ANIM_H);
+ searchAnimator->SetStyle(STYLE_BACKGROUND_COLOR, 0xffffffff);
+ searchAnimator->SetStyle(STYLE_BACKGROUND_OPA, 0x00);
+ searchAnimator->SetImageAnimatorSrc(searchImageInfo, TB_BLUE_SEARCH_ANIM_FRAMES, TB_BLUE_SEARCH_ANIM_INTERVAL);
+ searchAnimator->SetRepeat(true);
+ searchAnimator->SetRepeatTimes(1);
+ searchAnimator->SetResizeMode(UIImageView::COVER);
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "ThunderBirdBlueView::EnsureSearchAnimator: 动画配置完成,位置=(%d,%d), 大小=(%d,%d), 帧数=%d",
+ TB_BLUE_SEARCH_ANIM_X, TB_BLUE_SEARCH_ANIM_Y, TB_BLUE_SEARCH_ANIM_W, TB_BLUE_SEARCH_ANIM_H, TB_BLUE_SEARCH_ANIM_FRAMES);
+ }
+ return true;
+ }
+
+ bool ThunderBirdBlueView::EnsureSelectAnimator()
+ {
+ if (selectAnimator == nullptr)
+ {
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "ThunderBirdBlueView::EnsureSelectAnimator: 创建选择动画");
+ selectPathsArray = TB_BLUE_SELECT_PATHS;
+ selectAnimator = new UIImageAnimatorView();
+ if (selectAnimator == nullptr)
+ {
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "ThunderBirdBlueView new UIImageAnimatorView fail");
+ return false;
+ }
+ selectAnimator->SetAutoEnable(false);
+ for (uint8_t i = 0; i < TB_BLUE_SELECT_ANIM_FRAMES; i++)
+ {
+ selectImageInfo[i].imagePath = (selectPathsArray[i]);
+ selectImageInfo[i].imageType = IMG_SRC_FILE_PATH;
+ selectImageInfo[i].pos.x = TB_BLUE_SELECT_ANIM_X;
+ selectImageInfo[i].pos.y = TB_BLUE_SELECT_ANIM_Y;
+ selectImageInfo[i].width = TB_BLUE_SELECT_ANIM_W;
+ selectImageInfo[i].height = TB_BLUE_SELECT_ANIM_H;
+ }
+ selectAnimator->SetPosition(TB_BLUE_SELECT_ANIM_X, TB_BLUE_SELECT_ANIM_Y, TB_BLUE_SELECT_ANIM_W, TB_BLUE_SELECT_ANIM_H);
+ selectAnimator->SetStyle(STYLE_BACKGROUND_COLOR, 0xffffffff);
+ selectAnimator->SetStyle(STYLE_BACKGROUND_OPA, 0x00);
+ selectAnimator->SetImageAnimatorSrc(selectImageInfo, TB_BLUE_SELECT_ANIM_FRAMES, TB_BLUE_SELECT_ANIM_INTERVAL);
+ selectAnimator->SetRepeat(true);
+ selectAnimator->SetRepeatTimes(1);
+ selectAnimator->SetResizeMode(UIImageView::COVER);
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "ThunderBirdBlueView::EnsureSelectAnimator: 动画配置完成,位置=(%d,%d), 大小=(%d,%d), 帧数=%d",
+ TB_BLUE_SELECT_ANIM_X, TB_BLUE_SELECT_ANIM_Y, TB_BLUE_SELECT_ANIM_W, TB_BLUE_SELECT_ANIM_H, TB_BLUE_SELECT_ANIM_FRAMES);
+ }
+ return true;
+ }
+
void ThunderBirdBlueView::InitDeviceListAdapter(void)
{
WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "ThunderBirdBlueView::InitDeviceListAdapter");
BackGround->SetSrc("/user/res/yellowbg.bin");
BackGround->SetStyle(STYLE_BACKGROUND_OPA, 0xff);
BackGround->SetResizeMode(UIImageView::CONTAIN);
- BackGround->SetVisible(true);
+ BackGround->SetVisible(false);
group->Add(BackGround);
}
if(!EnsureNetAnimator())
{
return nullptr;
}
+
TextLabel = new UILabelExt();
if (TextLabel)
{
RemindIcon3->SetResizeMode(UIImageView::CONTAIN);
group->Add(RemindIcon3);
}
+ RemindIcon4 = new UIImageView();
+ if (RemindIcon4)
+ {
+ RemindIcon4->SetAutoEnable(false);
+ RemindIcon4->SetVisible(false);
+ RemindIcon4->SetResizeMode(UIImageView::CONTAIN);
+ group->Add(RemindIcon4);
+ }
RemindLabel = new UILabelExt();
if (RemindLabel)
{
DeviceList->SetStyle(STYLE_BACKGROUND_OPA, OPA_TRANSPARENT); // 透明背景
group->Add(DeviceList);
}
+ if(!EnsureSearchAnimator())
+ {
+ return nullptr;
+ }
+ if(!EnsureSelectAnimator())
+ {
+ return nullptr;
+ }
+ group->Add(searchAnimator);
+ group->Add(selectAnimator);
// 初始化设备列表适配器
InitDeviceListAdapter();
if (RemindIcon1) { RemindIcon1->SetVisible(false); }
if (RemindIcon2) { RemindIcon2->SetVisible(false); }
if (RemindIcon3) { RemindIcon3->SetVisible(false); }
+ if (RemindIcon4) { RemindIcon4->SetVisible(false); }
if (DeviceList) { DeviceList->SetVisible(false); }
+ if (searchAnimator) { searchAnimator->SetVisible(false); searchAnimator->Stop(); }
+ if (selectAnimator) { selectAnimator->SetVisible(false); selectAnimator->Stop(); }
switch (showView)
{
if (RemindIcon)
{
RemindIcon->SetPosition(148, 102, 64, 64);
- RemindIcon->SetSrc("/user/res/bluetooth.bin");
+ RemindIcon->SetSrc("/user/res/bule_connect.bin");
RemindIcon->SetVisible(true);
}
if (RemindIcon1)
{
- RemindIcon1->SetPosition(104, 277, 22, 22);
+ RemindIcon1->SetPosition(102, 275, 22, 22);
RemindIcon1->SetSrc("/user/res/volume_up.bin");
RemindIcon1->SetVisible(true);
}
if (RemindIcon2)
{
- RemindIcon2->SetPosition(216, 277, 22, 22);
+ RemindIcon2->SetPosition(206, 275, 22, 22);
RemindIcon2->SetSrc("/user/res/volume_up.bin");
RemindIcon2->SetVisible(true);
}
RemindLabel->SetText("按 取消 长按 退出配对");
RemindLabel->SetVisible(true);
}
+ // 隐藏静态图标,显示搜索动画
if (RemindIcon)
{
- RemindIcon->SetPosition(148, 102, 64, 64);
- RemindIcon->SetSrc("/user/res/bluetooth.bin");
- RemindIcon->SetVisible(true);
+ RemindIcon->SetVisible(false);
+ }
+ if (searchAnimator)
+ {
+ searchAnimator->SetVisible(true);
+ searchAnimator->Start();
}
if (RemindIcon1)
{
- RemindIcon1->SetPosition(79, 277, 22, 22);
- RemindIcon1->SetSrc("/user/res/volume_up.bin");
+ RemindIcon1->SetPosition(75, 275, 22, 22);
+ RemindIcon1->SetSrc("/user/res/volume_down.bin");
RemindIcon1->SetVisible(true);
}
if (RemindIcon2)
{
- RemindIcon2->SetPosition(207, 277, 22, 22);
- RemindIcon2->SetSrc("/user/res/volume_up.bin");
+ RemindIcon2->SetPosition(200, 275, 22, 22);
+ RemindIcon2->SetSrc("/user/res/voice.bin");
RemindIcon2->SetVisible(true);
}
break;
}
if (RemindIcon)
{
- RemindIcon->SetPosition(98, 127, 36, 36);
- RemindIcon->SetSrc("/user/res/bluetooth.bin");
+ RemindIcon->SetPosition(90, 115, 36, 36);
+ RemindIcon->SetSrc("/user/res/warning.bin");
RemindIcon->SetVisible(true);
}
if (RemindIcon1)
{
- RemindIcon1->SetPosition(79, 277, 22, 22);
+ RemindIcon1->SetPosition(75, 275, 22, 22);
RemindIcon1->SetSrc("/user/res/volume_up.bin");
RemindIcon1->SetVisible(true);
}
if (RemindIcon2)
{
- RemindIcon2->SetPosition(207, 277, 22, 22);
- RemindIcon2->SetSrc("/user/res/volume_up.bin");
+ RemindIcon2->SetPosition(200, 275, 22, 22);
+ RemindIcon2->SetSrc("/user/res/voice.bin");
RemindIcon2->SetVisible(true);
}
break;
{
TextLabel_2->SetPosition(30, 184, 300, 28);
TextLabel_2->SetText("请确保蓝牙设备在范围内并已开启");
+ TextLabel_2->SetFont(DEFAULT_VECTOR_FONT_FILENAME, 20);
TextLabel_2->SetVisible(true);
}
if (RemindLabel)
}
if (RemindIcon)
{
- RemindIcon->SetPosition(90, 127, 36, 36);
- RemindIcon->SetSrc("/user/res/bluetooth.bin");
+ RemindIcon->SetPosition(90, 115, 36, 36);
+ RemindIcon->SetSrc("/user/res/warning.bin");
RemindIcon->SetVisible(true);
}
if (RemindIcon1)
{
- RemindIcon1->SetPosition(79, 277, 22, 22);
+ RemindIcon1->SetPosition(75, 275, 22, 22);
RemindIcon1->SetSrc("/user/res/volume_up.bin");
RemindIcon1->SetVisible(true);
}
if (RemindIcon2)
{
- RemindIcon2->SetPosition(207, 277, 22, 22);
- RemindIcon2->SetSrc("/user/res/volume_up.bin");
+ RemindIcon2->SetPosition(200, 275, 22, 22);
+ RemindIcon2->SetSrc("/user/res/voice.bin");
RemindIcon2->SetVisible(true);
}
break;
{
WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "Show DEVICE_LIST view");
+ // 停止搜索动画
+ if (searchAnimator)
+ {
+ searchAnimator->SetVisible(false);
+ searchAnimator->Stop();
+ }
+
+ // 显示选择动画
+ if (selectAnimator)
+ {
+ // selectAnimator->SetVisible(true);
+ // selectAnimator->Start();
+ }
+
// 不显示标题(列表中已有分组标题)
if (TextLabel)
{
}
if (RemindLabel)
{
- RemindLabel->SetPosition(44, 260, 272, 25);
- RemindLabel->SetText("按 +/- 选择 按 确认");
+ RemindLabel->SetPosition(66, 275, 272, 25);
+ RemindLabel->SetText("按 / 选择 按 确认");
RemindLabel->SetVisible(true);
}
if (RemindLabel_2)
{
- RemindLabel_2->SetPosition(109, 285, 142, 25);
+ RemindLabel_2->SetPosition(109, 310, 150, 25);
RemindLabel_2->SetText("长按 退出配对");
RemindLabel_2->SetVisible(true);
}
}
if (RemindIcon1)
{
- RemindIcon1->SetPosition(68, 262, 22, 22);
- RemindIcon1->SetSrc("/user/res/volume_up.bin");
+ RemindIcon1->SetPosition(88, 275, 22, 22);
+ RemindIcon1->SetSrc("/user/res/volume_down.bin");
RemindIcon1->SetVisible(true);
}
if (RemindIcon2)
{
- RemindIcon2->SetPosition(183, 262, 22, 22);
+ RemindIcon2->SetPosition(120, 275, 22, 22);
RemindIcon2->SetSrc("/user/res/volume_up.bin");
RemindIcon2->SetVisible(true);
}
if (RemindIcon3)
{
- RemindIcon3->SetPosition(151, 287, 22, 22);
- RemindIcon3->SetSrc("/user/res/volume_up.bin");
+ RemindIcon3->SetPosition(220, 275, 22, 22);
+ RemindIcon3->SetSrc("/user/res/voice.bin");
RemindIcon3->SetVisible(true);
}
+ if (RemindIcon4)
+ {
+ RemindIcon4->SetPosition(150, 310, 22, 22);
+ RemindIcon4->SetSrc("/user/res/voice.bin");
+ RemindIcon4->SetVisible(true);
+ }
break;
}
case THUNDERBIRD_BULEVIEW_CONNECT_SUCCESS:
if (RemindLabel)
{
RemindLabel->SetPosition(44, 260, 272, 25);
- RemindLabel->SetText("按 +/- 选择 按 连接");
+ RemindLabel->SetText("按 返回列表 按 断开连接");
RemindLabel->SetVisible(true);
}
if (RemindLabel_2)
{
- RemindLabel_2->SetPosition(109, 285, 142, 25);
+ RemindLabel_2->SetPosition(109, 310, 150, 25);
RemindLabel_2->SetText("长按 退出配对");
RemindLabel_2->SetVisible(true);
}
if (RemindIcon)
{
RemindIcon->SetPosition(68, 127, 36, 36);
- RemindIcon->SetSrc("/user/res/bluetooth.bin");
+ RemindIcon->SetSrc("/user/res/completed.bin");
RemindIcon->SetVisible(true);
}
if (RemindIcon1)
{
RemindIcon1->SetPosition(68, 262, 22, 22);
- RemindIcon1->SetSrc("/user/res/volume_up.bin");
+ RemindIcon1->SetSrc("/user/res/volume_down.bin");
RemindIcon1->SetVisible(true);
}
if (RemindIcon2)
}
if (RemindIcon3)
{
- RemindIcon3->SetPosition(151, 287, 22, 22);
- RemindIcon3->SetSrc("/user/res/volume_up.bin");
+ RemindIcon3->SetPosition(150, 310, 22, 22);
+ RemindIcon3->SetSrc("/user/res/voice.bin");
RemindIcon3->SetVisible(true);
}
break;
}
if (RemindLabel)
{
- RemindLabel->SetPosition(80, 275, 272, 25);
- RemindLabel->SetText("按 返回列表 长按 确认");
+ RemindLabel->SetPosition(80, 275, 200, 25);
+ RemindLabel->SetText("按 退出 按 重试");
RemindLabel->SetVisible(true);
}
if (RemindLabel_2)
{
- RemindLabel_2->SetPosition(109, 310, 142, 25);
+ RemindLabel_2->SetPosition(109, 310, 150, 25);
RemindLabel_2->SetText("长按 退出配对");
RemindLabel_2->SetVisible(true);
}
if (RemindIcon1)
{
- RemindIcon1->SetPosition(68, 277, 22, 22);
- RemindIcon1->SetSrc("/user/res/volume_up.bin");
+ RemindIcon1->SetPosition(105, 276, 22, 22);
+ RemindIcon1->SetSrc("/user/res/volume_down.bin");
RemindIcon1->SetVisible(true);
}
if (RemindIcon2)
{
- RemindIcon2->SetPosition(216, 277, 22, 22);
+ RemindIcon2->SetPosition(211, 276, 22, 22);
RemindIcon2->SetSrc("/user/res/volume_up.bin");
RemindIcon2->SetVisible(true);
}
if (RemindIcon3)
{
- RemindIcon3->SetPosition(151, 312, 22, 22);
- RemindIcon3->SetSrc("/user/res/volume_up.bin");
+ RemindIcon3->SetPosition(150, 310, 22, 22);
+ RemindIcon3->SetSrc("/user/res/voice.bin");
RemindIcon3->SetVisible(true);
}
break;
if (RemindIcon)
{
RemindIcon->SetPosition(148, 102, 64, 64);
- RemindIcon->SetSrc("/user/res/completed.bin");
+ RemindIcon->SetSrc("/user/res/bule_disconnect.bin");
RemindIcon->SetVisible(true);
}
if (RemindIcon1)
{
- RemindIcon1->SetPosition(160, 277, 22, 22);
+ RemindIcon1->SetPosition(160, 275, 22, 22);
RemindIcon1->SetSrc("/user/res/volume_up.bin");
RemindIcon1->SetVisible(true);
}
}
if (RemindLabel)
{
- RemindLabel->SetPosition(80, 275, 272, 25);
- RemindLabel->SetText("按 返回列表 长按 确认");
+ RemindLabel->SetPosition(80, 275, 200, 25);
+ RemindLabel->SetText("按 退出 按 重试");
RemindLabel->SetVisible(true);
}
if (RemindLabel_2)
{
- RemindLabel_2->SetPosition(109, 310, 142, 25);
+ RemindLabel_2->SetPosition(109, 310, 150, 25);
RemindLabel_2->SetText("长按 退出配对");
RemindLabel_2->SetVisible(true);
}
- if (RemindIcon)
- {
- RemindIcon->SetPosition(68, 151, 36, 36);
- RemindIcon->SetSrc("/user/res/bluetooth.bin");
- RemindIcon->SetVisible(true);
- }
+
if (RemindIcon1)
{
- RemindIcon1->SetPosition(68, 277, 22, 22);
- RemindIcon1->SetSrc("/user/res/volume_up.bin");
+ RemindIcon1->SetPosition(105, 276, 22, 22);
+ RemindIcon1->SetSrc("/user/res/volume_down.bin");
RemindIcon1->SetVisible(true);
}
if (RemindIcon2)
{
- RemindIcon2->SetPosition(216, 277, 22, 22);
+ RemindIcon2->SetPosition(211, 276, 22, 22);
RemindIcon2->SetSrc("/user/res/volume_up.bin");
RemindIcon2->SetVisible(true);
}
+ if (RemindIcon)
+ {
+ RemindIcon->SetPosition(68, 151, 36, 36);
+ RemindIcon->SetSrc("/user/res/warning.bin");
+ RemindIcon->SetVisible(true);
+ }
if (RemindIcon3)
{
- RemindIcon3->SetPosition(151, 312, 22, 22);
- RemindIcon3->SetSrc("/user/res/volume_up.bin");
+ RemindIcon3->SetPosition(150, 310, 22, 22);
+ RemindIcon3->SetSrc("/user/res/voice.bin");
RemindIcon3->SetVisible(true);
}
break;