34 lines
870 B
C++
34 lines
870 B
C++
/*
|
|
* Copyright (c) CompanyNameMagicTag 2022-2022. All rights reserved.
|
|
* Description: temperature
|
|
* Author:
|
|
* Create: 2022-02-15
|
|
*/
|
|
|
|
#ifndef TEMP_INIT_INTER_H
|
|
#define TEMP_INIT_INTER_H
|
|
|
|
#include "components/ui_image_view.h"
|
|
#include "components/ui_label.h"
|
|
#include "components/ui_label_button.h"
|
|
#include "AppGroupView.h"
|
|
#include "TempPresenter.h"
|
|
|
|
namespace OHOS {
|
|
class TempInitInter : public AppGroupView {
|
|
public:
|
|
TempInitInter();
|
|
~TempInitInter() override;
|
|
static TempInitInter *GetInstance();
|
|
bool InitView(void *caller) override;
|
|
private:
|
|
bool TempInitImage(void);
|
|
bool TempInitButton(void);
|
|
bool SetBasicLabel(void);
|
|
bool SetAppendLabel(void);
|
|
UIImageView *tempImage[SET_THREE]{nullptr};
|
|
UILabel *tempLabel[TEMP_SET_SIX]{nullptr};
|
|
UILabelButton *buttonTemp{nullptr};
|
|
};
|
|
}
|
|
#endif |