63 lines
2.0 KiB
C++
63 lines
2.0 KiB
C++
/*----------------------------------------------------------------------------
|
|
* Copyright (c) TJD Technologies Co., Ltd. 2024. All rights reserved.
|
|
*
|
|
* Description:
|
|
*
|
|
* Author: wuchangxin
|
|
*
|
|
* Create: 2024-6-17
|
|
*--------------------------------------------------------------------------*/
|
|
|
|
#ifndef TJD_UI_MAIN_FOUR_LEAF_CLOVER_PAGE_H
|
|
#define TJD_UI_MAIN_FOUR_LEAF_CLOVER_PAGE_H
|
|
|
|
#include "components/ui_arc_label.h"
|
|
#include "components/ui_card_page.h"
|
|
#include "components/ui_circle_progress.h"
|
|
#include "components/ui_image_view.h"
|
|
#include "components/ui_label.h"
|
|
#include "components/ui_view_group.h"
|
|
|
|
namespace TJD {
|
|
|
|
class TjdUiAppMainPageFourLeafClover : public OHOS::UICardPage
|
|
{
|
|
public:
|
|
TjdUiAppMainPageFourLeafClover();
|
|
virtual ~TjdUiAppMainPageFourLeafClover();
|
|
static TjdUiAppMainPageFourLeafClover *GetInstance(void);
|
|
void PreLoad(void) override;
|
|
void UnLoad(void) override;
|
|
void NotifyTick(void);
|
|
|
|
private:
|
|
void InitView(void);
|
|
void UpdateValue(void);
|
|
bool viewiInitStatus{false};
|
|
OHOS::UIViewGroup *container_{nullptr};
|
|
OHOS::UIImageView *standBg_{nullptr};
|
|
OHOS::UIImageView *standFull_{nullptr};
|
|
OHOS::UIImageView *standIocn_{nullptr};
|
|
OHOS::UICircleProgress *standProgress_{nullptr};
|
|
OHOS::UIArcLabel *standArcLabel_{nullptr};
|
|
OHOS::UIImageView *kcalBg_{nullptr};
|
|
OHOS::UIImageView *kcalFull_{nullptr};
|
|
OHOS::UIImageView *kcalIocn_{nullptr};
|
|
OHOS::UICircleProgress *kcalProgress_{nullptr};
|
|
OHOS::UIArcLabel *kcalArcLabel_{nullptr};
|
|
OHOS::UIImageView *strengthBg_{nullptr};
|
|
OHOS::UIImageView *strengthFull_{nullptr};
|
|
OHOS::UIImageView *strengthIocn_{nullptr};
|
|
OHOS::UICircleProgress *strengthProgress_{nullptr};
|
|
OHOS::UIArcLabel *strengthArcLabel_{nullptr};
|
|
OHOS::UIImageView *stepBg_{nullptr};
|
|
OHOS::UIImageView *stepFull_{nullptr};
|
|
OHOS::UIImageView *stepIocn_{nullptr};
|
|
OHOS::UICircleProgress *stepProgress_{nullptr};
|
|
OHOS::UIArcLabel *stepArcLabel_{nullptr};
|
|
};
|
|
|
|
} // namespace TJD
|
|
|
|
#endif
|