32 lines
873 B
C++
32 lines
873 B
C++
/**
|
|
* Copyright (c) CompanyNameMagicTag 2023-2023. All rights reserved.
|
|
* Description: alipay remove bind view.
|
|
* Author:
|
|
* Create:
|
|
*/
|
|
|
|
#ifndef ALIPAY_UNBIND_H
|
|
#define ALIPAY_UNBIND_H
|
|
|
|
#include "components/ui_image_view.h"
|
|
#include "components/ui_label.h"
|
|
#include "components/ui_label_button.h"
|
|
#include "AlipayPresenter.h"
|
|
|
|
namespace OHOS {
|
|
class AlipayUnbind : public UIViewGroup {
|
|
public:
|
|
explicit AlipayUnbind(AlipayPresenter *presenter);
|
|
~AlipayUnbind() override;
|
|
bool InitView();
|
|
|
|
private:
|
|
bool AlipayInitLabel();
|
|
bool AlipayInitButton();
|
|
bool InitSimilarButton(int16 num, int16 alipayX, int16 alipayY, const char *buttonStr, const char *viewId);
|
|
AlipayPresenter *presenter_;
|
|
UILabel *alipayLabel[ALIPAY_SET_TWO] { nullptr };
|
|
UILabelButton *alipayButton[ALIPAY_SET_TWO] { nullptr };
|
|
};
|
|
}
|
|
#endif |