#include "battery_hal.h"
#include "battery_service.h"
#include "audio_manager.h"
+#include "thunderbird/include/ThunderBirdModel.h"
+#include "ln_api.h"
namespace OHOS
{
static ThunderBirdReminderView *g_pThunderBirdReminderView{nullptr};
RemindIcon->SetPosition(133, 169, 94, 94);
RemindIcon->SetStyle(STYLE_BACKGROUND_COLOR, 0xff000000);
RemindIcon->SetStyle(STYLE_BACKGROUND_OPA, 0xff);
- //RemindIcon->SetSrc("/user/res/volume_up.bin");
+ RemindIcon->SetSrc(LN_CHAT_STAMINA_QRCODE_FILE);
RemindIcon->SetVisible(true);
}
if(RemindLabel)
}
if(RemindIcon2)
{
- RemindIcon2->SetPosition(158, 298, 24, 24);
+ RemindIcon2->SetPosition(159, 300, 24, 24);
RemindIcon2->SetSrc("/user/res/volume_up.bin");
RemindIcon2->SetVisible(true);
}
TextLabel->SetText(text);
TextLabel->Invalidate();
}
+ void ThunderBirdReminderView::UpdateTaskReminderIcon(const char* icon)
+ {
+ RemindIcon->SetSrc(icon);
+ RemindIcon->Invalidate();
+ }
}