4eae2a652e236adfbb6e4fe5f79351bc4d1d22cf
[mirrors/FD230.git] /
1 /**\r
2  * Copyright (c) CompanyNameMagicTag 2023-2023. All rights reserved.\r
3  * Description: alipay get trans list view.\r
4  * Author:\r
5  * Create:\r
6  */\r
7 \r
8 #ifndef ALIPAY_GET_TRANS_LIST_H\r
9 #define ALIPAY_GET_TRANS_LIST_H\r
10 \r
11 #include "components/ui_image_view.h"\r
12 #include "components/ui_label.h"\r
13 #include "components/ui_label_button.h"\r
14 #include "alipay/AlipayPresenter.h"\r
15 \r
16 namespace OHOS {\r
17 class AlipayGetTransList : public UIViewGroup {\r
18 public:\r
19     explicit AlipayGetTransList(AlipayPresenter *presenter);\r
20     ~AlipayGetTransList() override;\r
21     bool InitGetView(uint32_t index);\r
22 private:\r
23     AlipayPresenter *presenter_;\r
24     bool AlipayInitLabel(uint32_t index);\r
25     bool AlipayInitButton(uint32_t index);\r
26     bool InitSimilarButton(int16 num, int16 alipayX, int16 alipayY, const char *buttonStr, const char *viewId);\r
27     UILabel *alipayLabel { nullptr };\r
28     UILabelButton *alipayButton[ALIPAY_SET_TWO] { nullptr };\r
29 };\r
30 }\r
31 #endif