mcu_hi3321_watch/tjd/ui/app/female_health/TjdUiFemaleHaveDataPage.h
2025-05-26 20:15:20 +08:00

65 lines
1.8 KiB
C++

/*----------------------------------------------------------------------------
* Copyright (c) TJD Technologies Co., Ltd. 2024. All rights reserved.
*
* Description:
*
* Author: huangshuyi
*
* Create: 2024-8
*--------------------------------------------------------------------------*/
#ifndef TJDUI_FEMALE_HAVE_DATA_PAGE_H
#define TJDUI_FEMALE_HAVE_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 "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 "components/abstract_adapter.h"
#include "components/ui_scroll_view.h"
#include "sql_message.h"
#include "TjdUiScreenDrag.h"
namespace TJD {
class TjdUiFemaleHaveDataPage : public TjdUiScreenDragListener, public OHOS::UIView::OnClickListener
{
public:
TjdUiFemaleHaveDataPage();
virtual ~TjdUiFemaleHaveDataPage();
static TjdUiFemaleHaveDataPage *GetInstance(void);
bool OnClick(OHOS::UIView& view, const OHOS::ClickEvent& event) override;
OHOS::UIViewGroup *PageInit(void);
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::UIScrollView* pageGroup{nullptr};
OHOS::UIImageView *rightArrow{nullptr};
OHOS::UIImageView *leftArrow{nullptr};
OHOS::UILabel *labelDateTime{nullptr};
OHOS::UILabel *labelStatusData{nullptr};
OHOS::UIImageView *imageFlow[3]{nullptr};
OHOS::UIImageView *imageAche[3]{nullptr};
OHOS::UILabel *labelSyncTime{nullptr};
}; // namespace OHOS
}
#endif