bool viewiInitStatus{false};
bool resLoadStatus{false};
- std::string dialFile; // 表盘背景文件名
- ColorTypeSet colorType = COLOR_DEFAULT; // 颜色类型
- BatteryDisplayType batterySetting = BATTERY_DISPLAY_DEFAULT; // 电池设置
- TimeDisplayPosition timePosition = TIME_DISPLAY_DEFAULT; // 时间位置
- int64_t color_ = Color::White().full; // 电量颜色
- int32_t power_ = -1; // 电量
- bool isBatteryIconVisible{false}; // 电池暂停
+ std::string dialFile; // 表盘背景文件名
+ ColorTypeSet colorType = COLOR_DEFAULT; // 颜色类型
+ BatteryDisplayType batterySetting = BATTERY_DISPLAY_NONE; // 电池设置
+ TimeDisplayPosition timePosition = TIME_DISPLAY_DEFAULT; // 时间位置
+ int64_t color_ = Color::White().full; // 电量颜色
+ int32_t power_ = -1; // 电量
+ bool isBatteryIconVisible{false}; // 电池暂停
};
} // namespace OHOS
#endif // MAIN_CLOCK_VIEW_H
{
case TIME_DISPLAY_ABOVE:
timerlabel->SetPosition(104, 98, 200, 60);
- timerlabel->SetFont(DEFAULT_VECTOR_FONT_FILENAME, 100);
+ timerlabel->SetFont(GILROY_BOLD_FONT, 100);
datelabel->SetPosition(133, 206, 200, 60);
datelabel->SetFont(DEFAULT_VECTOR_FONT_FILENAME, 26);
weekLabel->SetPosition(242, 206, 200, 60);