36 lines
864 B
C++
36 lines
864 B
C++
/*
|
|
* Copyright (c) CompanyNameMagicTag 2021-2021. All rights reserved.
|
|
* Description: DialingScreenView.h
|
|
* Author:
|
|
* Create: 2021-10-12
|
|
*/
|
|
#ifndef DIALING_SCREEN_VIEW_H
|
|
#define DIALING_SCREEN_VIEW_H
|
|
|
|
#include "View.h"
|
|
#include "components/ui_label.h"
|
|
#include "components/ui_image_animator.h"
|
|
#include "components/ui_view_group.h"
|
|
#include "ohos_types.h"
|
|
|
|
namespace OHOS {
|
|
class DialingScreenView {
|
|
public:
|
|
DialingScreenView();
|
|
~DialingScreenView();
|
|
UIViewGroup *CreateUIViewGroup();
|
|
|
|
static DialingScreenView *GetInstance();
|
|
private:
|
|
bool InitUILabelDisplay();
|
|
|
|
UIViewGroup *group{nullptr};
|
|
UIView::OnClickListener* clickLeftListener{nullptr};
|
|
UILabel *dialingId{nullptr};
|
|
UILabel *dialingTime{nullptr};
|
|
UILabel *currentTimes{nullptr};
|
|
UIImageView *handup{nullptr};
|
|
};
|
|
}
|
|
|
|
#endif |