dLabel[alarmNum]->SetText(weekStr.c_str());
else
dLabel[alarmNum]->SetText(weekStr_en.c_str());
- dLabel[alarmNum]->ForceResetText();
+ // dLabel[alarmNum]->ForceResetText();
}
bool MainAlarmView::GetRefreshStatus(void)
* @Author: luozheng 1732036298@qq.com
* @Date: 2024-04-10 17:32:02
* @LastEditors: luozheng 1732036298@qq.com
- * @LastEditTime: 2024-04-10 21:17:05
+ * @LastEditTime: 2024-09-13 18:55:12
* @FilePath: /FD230/code/sdk/application/wearable/fd230app/nativeui/flashligh/include/FlashlightView.h
*/
void GetValueByColorCustomSelectedImage(int16_t x, int16_t y, int64_t * value);
void GetPointByColorCustomSelectedImage(int16_t * x, int16_t * y, int64_t value);
void UpdateViewMainScreenFlashing(bool flag);
+ void UpdateViewMainScreenColor();
typedef enum
{
* @Author: luozheng 1732036298@qq.com
* @Date: 2024-04-10 17:32:08
* @LastEditors: luozheng 1732036298@qq.com
- * @LastEditTime: 2024-08-28 20:47:00
+ * @LastEditTime: 2024-09-13 18:59:42
* @FilePath: /FD230/code/sdk/application/wearable/fd230app/nativeui/flashligh/src/FlashlightView.cpp
*/
#include "flashlight/include/FlashlightView.h"
Draw();
}
+ void FlashlightView::UpdateViewMainScreenColor()
+ {
+ if(GroupMain_)
+ {
+ GroupMain_->SetStyle(STYLE_BACKGROUND_COLOR, presenter_->GetColorValue());
+ }
+ }
+
void FlashlightView::UpdateViewMainScreen(void)
{
if(nullptr == SwipeView_)
SwipeView_->SetCurrentPage(0);
+ UpdateViewMainScreenColor();
if(0 == presenter_->GetFlashingLevel())
UpdateViewMainScreenFlashing(false);
else