Get camera message.

This commit is contained in:
xiaojiazhu 2023-10-08 15:32:18 +08:00
parent 95ef77a50f
commit 10174b26ef

View File

@ -375,6 +375,44 @@ static void update_4g_module_icon(void)
}
}
static void update_camera_message(void)
{
UIMenuStoreInfo *puiPara = sf_ui_para_get();
// if((puiPara->CamMode == SF_CAM_MODE_PHOTO) || (puiPara->CamMode == SF_CAM_MODE_PHOTO_VIDEO))
switch (puiPara->ImgSize)
{
case PHOTO_SIZE_16M:
lv_label_set_text(label_5_scr_uiflowphoto, "16M");
break;
case PHOTO_SIZE_12M:
lv_label_set_text(label_5_scr_uiflowphoto, "12M");
break;
case PHOTO_SIZE_8M:
lv_label_set_text(label_5_scr_uiflowphoto, "8M");
break;
default:
break;
}
switch (puiPara->Multishot)
{
case 1:
lv_label_set_text(label_4_scr_uiflowphoto, "1P");
break;
case 2:
lv_label_set_text(label_4_scr_uiflowphoto, "2P");
break;
case 3:
lv_label_set_text(label_4_scr_uiflowphoto, "3P");
break;
default:
break;
}
UIStorageCheck(STORAGE_CHECK_FULL, &g_uiFreePicNum);
lv_label_set_text(label_6_scr_uiflowphoto, Get_FreePicNumString(g_uiFreePicNum));
}
static void update_fd_frame(void)
{
if (SysGetFlag(FL_FD) != FD_OFF){
@ -411,6 +449,7 @@ static void update_icons(void)
update_fd();
update_dzoom();
update_4g_module_icon();
update_camera_message();
}
static void FlowPhoto_InitStartupFuncs(void)