55 lines
1.4 KiB
C++
55 lines
1.4 KiB
C++
/*----------------------------------------------------------------------------
|
|
* Copyright (c) TJD Technologies Co., Ltd. 2024. All rights reserved.
|
|
*
|
|
* Description:
|
|
*
|
|
* Author: huangshuyi
|
|
*
|
|
* Create: 2024-8
|
|
*--------------------------------------------------------------------------*/
|
|
|
|
#ifndef TJDUI_FEMALE_WAIT_DATA_PAGE_H
|
|
#define TJDUI_FEMALE_WAIT_DATA_PAGE_H
|
|
|
|
#include <string>
|
|
#include <time.h>
|
|
#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/ui_image_animator.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 "graphic_timer.h"
|
|
|
|
namespace TJD {
|
|
|
|
class TjdUiFemaleWaitDataPage : public OHOS::UIView::OnDragListener
|
|
{
|
|
public:
|
|
TjdUiFemaleWaitDataPage();
|
|
virtual ~TjdUiFemaleWaitDataPage();
|
|
static TjdUiFemaleWaitDataPage *GetInstance(void);
|
|
OHOS::UIViewGroup *PageInit(void);
|
|
void ShowView(void);
|
|
void HideView(void);
|
|
private:
|
|
OHOS::UIViewGroup* pageGroup_{nullptr};
|
|
static void TimerCallback(void*);
|
|
OHOS::UIImageAnimatorView* animator_{nullptr};
|
|
OHOS::GraphicTimer *waitTimer_{nullptr};
|
|
void Start(void);
|
|
void Stop();
|
|
|
|
}; // namespace OHOS
|
|
}
|
|
#endif
|