mcu_hi3321_watch/application/wearable/nativeapp/nativeui/temperature/include/TempJoinStudy.h
2025-05-26 20:15:20 +08:00

32 lines
832 B
C++

/*
* Copyright (c) CompanyNameMagicTag 2022-2022. All rights reserved.
* Description: temperature
* Author:
* Create: 2022-02-15
*/
#ifndef TEMP_JOIN_STUDY_H
#define TEMP_JOIN_STUDY_H
#include "components/ui_label.h"
#include "components/ui_label_button.h"
#include "components/ui_scroll_view.h"
#include "TempPresenter.h"
namespace OHOS {
class TempJoinStudy : public UIScrollView {
public:
TempJoinStudy();
~TempJoinStudy() override;
bool InitJoinStudy();
static TempJoinStudy *GetInstance();
private:
bool TempInitLabel(void);
bool TempInitButton(void);
bool InitSimilarLabel(int16 num, int16 labelY, const char *labelText);
UILabel *tempTitle{nullptr};
UILabel *tempLabel[SET_THREE]{nullptr};
UILabelButton *tempButton[SET_TWO]{nullptr};
};
}
#endif