/*---------------------------------------------------------------------------- * Copyright (c) TJD Technologies Co., Ltd. 2024. All rights reserved. * * Description: * * Author: huangshuyi * * Create: 2024-8 *--------------------------------------------------------------------------*/ #ifndef TJDUI_FEMALE_WAIT_FAIL_PAGE_H #define TJDUI_FEMALE_WAIT_FAIL_PAGE_H #include #include #include "components/ui_view_group.h" #include "View.h" #include "components/ui_label.h" #include "components/root_view.h" #include "components/ui_view_group.h" #include "components/ui_image_view.h" #include "components/ui_label_button.h" #include "components/abstract_adapter.h" #include "components/ui_scroll_view.h" #include "font/ui_font_bitmap.h" #include "font/ui_font.h" #include "graphic_config.h" #include "animator/animator_manager.h" #include "time.h" #include "sys/time.h" #include "sql_message.h" #include "TjdUiScreenDrag.h" namespace TJD { class TjdUiFemaleWaitFailPage : public TjdUiScreenDragListener, public OHOS::UIView::OnClickListener { public: TjdUiFemaleWaitFailPage(); virtual ~TjdUiFemaleWaitFailPage(); static TjdUiFemaleWaitFailPage *GetInstance(void); OHOS::UIViewGroup *PageInit(void); bool OnClick(OHOS::UIView& view, const OHOS::ClickEvent& event) override; void ShowView(void); void HideView(void); private: bool g_pv_isExit_{true}; int16_t dragStartX_{0}; int16_t dragCurrentX_{0}; int32_t dragDistance_{0}; OHOS::UIImageView *imageRetry_{nullptr}; OHOS::UIViewGroup* pageGroup_{nullptr}; }; // namespace OHOS } #endif