33 lines
889 B
C++
33 lines
889 B
C++
#ifndef TJDUIAPP_ALARM_POPUP_PAGE_H
|
|
#define TJDUIAPP_ALARM_POPUP_PAGE_H
|
|
|
|
#include "ui_view.h"
|
|
#include "ui_view_group.h"
|
|
#include "ui_label.h"
|
|
#include "ui_button.h"
|
|
#include "ui_image_animator.h"
|
|
#include "graphic_timer.h"
|
|
#include "ui_label_ext.h"
|
|
|
|
namespace TJD {
|
|
class TjdUiAppAlarmPopUpPage : public OHOS::UIViewGroup,
|
|
public OHOS::UIView::OnClickListener
|
|
{
|
|
public:
|
|
TjdUiAppAlarmPopUpPage();
|
|
~TjdUiAppAlarmPopUpPage();
|
|
bool OnClick(OHOS::UIView& view, const OHOS::ClickEvent& event) override;
|
|
void OnDelayButtonCallback();
|
|
private:
|
|
OHOS::UILabel timeLabel_;
|
|
OHOS::UILabelExt delayLabel_;
|
|
OHOS::UIButton cancelButton_;
|
|
OHOS::UIButton delayButton_;
|
|
OHOS::UIImageAnimatorView animator_;
|
|
OHOS::GraphicTimer *waitTimer_{nullptr};
|
|
|
|
bool isDeley_{true};
|
|
};
|
|
} // namespace TJD
|
|
|
|
#endif |