68 lines
1.8 KiB
C++
68 lines
1.8 KiB
C++
/*----------------------------------------------------------------------------
|
|
* Copyright (c) TJD Technologies Co., Ltd. 2024. All rights reserved.
|
|
*
|
|
* Description:
|
|
*
|
|
* Author: huangshuyi
|
|
*
|
|
* Create: 2024-7
|
|
*--------------------------------------------------------------------------*/
|
|
|
|
#ifndef TJDUI_MESSAGE_CONFIRM_DEL_PAGE_H
|
|
#define TJDUI_MESSAGE_CONFIRM_DEL_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 "TjdUiMessageCommon.h"
|
|
#include "components/ui_scroll_view.h"
|
|
|
|
namespace TJD {
|
|
|
|
class TjdUiMessageConfirmDelPage : public OHOS::HeapBase {
|
|
//class TjdUiMessageConfirmDelPage : public OHOS::UIViewGroup {
|
|
//class TjdUiMessageScroll;
|
|
public:
|
|
TjdUiMessageConfirmDelPage();
|
|
virtual ~TjdUiMessageConfirmDelPage();
|
|
static TjdUiMessageConfirmDelPage *GetInstance(void);
|
|
void PageInit(OHOS::UIViewGroup *cont);
|
|
void SetParentPage(TjdUiMessagePageCommon* parent);
|
|
TjdUiMessagePageCommon* GetParentPage(void);
|
|
void show(void);
|
|
void hide(void);
|
|
|
|
private:
|
|
class TjdUiMessageScroll : public OHOS::UIScrollView
|
|
{
|
|
public:
|
|
bool OnDragEvent(const OHOS::DragEvent& event) override
|
|
{
|
|
return true;
|
|
}
|
|
};
|
|
//OHOS::UIViewGroup *pageGroup{nullptr};
|
|
TjdUiMessageScroll* pageGroup{nullptr};
|
|
TjdUiMessagePageCommon *parentPage{nullptr};
|
|
OHOS::UIView::OnClickListener* clickListener{nullptr};
|
|
OHOS::UIViewGroup *container_{nullptr};
|
|
|
|
};
|
|
|
|
} // namespace OHOS
|
|
#endif
|