35 lines
909 B
C++
35 lines
909 B
C++
/**
|
|
* Copyright (c) CompanyNameMagicTag 2023-2023. All rights reserved.
|
|
* Description: alipay bind animate view.
|
|
* Author:
|
|
* Create:
|
|
*/
|
|
|
|
#ifndef ALIPAY_BIND_ANI_H
|
|
#define ALIPAY_BIND_ANI_H
|
|
|
|
#include "components/ui_image_view.h"
|
|
#include "components/ui_label.h"
|
|
#include "components/ui_label_button.h"
|
|
#include "components/ui_image_animator.h"
|
|
#include "AlipayPresenter.h"
|
|
|
|
#define ALIPAY_BIND_SEARCH_IMAGE_NUM 8
|
|
|
|
namespace OHOS {
|
|
class AlipayBindAni : public UIViewGroup {
|
|
public:
|
|
explicit AlipayBindAni(AlipayPresenter *presenter);
|
|
~AlipayBindAni() override;
|
|
bool InitView();
|
|
|
|
private:
|
|
bool AlipayInitLabel(void);
|
|
bool AlipayInitImageAni(void);
|
|
AlipayPresenter *presenter_;
|
|
UILabel *alipayLabel { nullptr };
|
|
UIImageAnimatorView *alipayImageAni { nullptr };
|
|
ImageAnimatorInfo searchImageInfo[ALIPAY_BIND_SEARCH_IMAGE_NUM];
|
|
};
|
|
}
|
|
#endif |