Fixed bug number 9727.
This commit is contained in:
parent
86e019e2fc
commit
03ba4e7249
|
@ -542,6 +542,21 @@ static void update_bluetooth(void)
|
||||||
lv_plugin_img_set_src(image_bluetooth_connected_scr_uiflowphoto, res[index]);
|
lv_plugin_img_set_src(image_bluetooth_connected_scr_uiflowphoto, res[index]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void update_camera_mode(void)
|
||||||
|
{
|
||||||
|
UIMenuStoreInfo *puiPara = sf_ui_para_get();
|
||||||
|
#define CAMERA_MODE_PHOTO 0
|
||||||
|
#define CAMERA_MODE_PHOTO_AND_VIDEO 2
|
||||||
|
if (CAMERA_MODE_PHOTO == puiPara->CamMode)
|
||||||
|
{
|
||||||
|
lv_plugin_img_set_src(image_mode_photo_scr_uiflowphoto, LV_PLUGIN_IMG_ID_SF_CAMERA);
|
||||||
|
}
|
||||||
|
if (CAMERA_MODE_PHOTO_AND_VIDEO == puiPara->CamMode)
|
||||||
|
{
|
||||||
|
lv_plugin_img_set_src(image_mode_photo_scr_uiflowphoto, LV_PLUGIN_IMG_ID_SF_MODE_STILL_VIDEO);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
static void update_fd_frame(void)
|
static void update_fd_frame(void)
|
||||||
{
|
{
|
||||||
if (SysGetFlag(FL_FD) != FD_OFF){
|
if (SysGetFlag(FL_FD) != FD_OFF){
|
||||||
|
@ -581,6 +596,7 @@ static void update_icons(void)
|
||||||
update_camera_message();
|
update_camera_message();
|
||||||
update_wifi();
|
update_wifi();
|
||||||
update_bluetooth();
|
update_bluetooth();
|
||||||
|
update_camera_mode();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void FlowPhoto_InitStartupFuncs(void)
|
static void FlowPhoto_InitStartupFuncs(void)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user