31 lines
805 B
C++
31 lines
805 B
C++
/*
|
|
* Copyright (c) CompanyNameMagicTag 2022-2022. All rights reserved.
|
|
* Description: temperature
|
|
* Author:
|
|
* Create: 2022-02-15
|
|
*/
|
|
|
|
#ifndef TEMP_EXIT_INTER_H
|
|
#define TEMP_EXIT_INTER_H
|
|
|
|
#include "components/ui_image_view.h"
|
|
#include "components/ui_label.h"
|
|
#include "AppGroupView.h"
|
|
#include "TempPresenter.h"
|
|
|
|
namespace OHOS {
|
|
class TempExitInter : public AppGroupView {
|
|
public:
|
|
TempExitInter();
|
|
~TempExitInter() override;
|
|
static TempExitInter *GetInstance();
|
|
bool InitView(void *caller) override;
|
|
private:
|
|
bool TempInitLabel(void);
|
|
bool TempInitImage(void);
|
|
bool InitSimilarImage(int16 num, int16 tempX, int16 tempY, const char* imageSrc);
|
|
UILabel *tempLabel[SET_TWO]{nullptr};
|
|
UIImageView *tempImage[SET_FOUR]{nullptr};
|
|
};
|
|
}
|
|
#endif |