29 lines
654 B
C++
29 lines
654 B
C++
/*
|
|
* Copyright (c) CompanyNameMagicTag 2022-2022. All rights reserved.
|
|
* Description: temperature
|
|
* Author:
|
|
* Create: 2022-02-15
|
|
*/
|
|
|
|
#ifndef TEMP_LITTLE_TIP
|
|
#define TEMP_LITTLE_TIP
|
|
|
|
#include "components/ui_label.h"
|
|
#include "components/ui_scroll_view.h"
|
|
#include "TempPresenter.h"
|
|
|
|
namespace OHOS {
|
|
class TempLittleTip : public UIScrollView {
|
|
public:
|
|
TempLittleTip();
|
|
~TempLittleTip() override;
|
|
bool InitLittleTip();
|
|
static TempLittleTip *GetInstance();
|
|
void RefreshTip(void);
|
|
private:
|
|
bool SetBasicLabel(void);
|
|
bool SetAppendLabel(void);
|
|
UILabel *tempLabel[SET_NINE]{nullptr};
|
|
};
|
|
}
|
|
#endif |