mcu_hi3321_watch/tjd/ui/common/transition/TjdZoomTransition.h
2025-05-26 20:15:20 +08:00

25 lines
784 B
C++

/*
* Copyright (c) CompanyNameMagicTag 2023. All rights reserved.
* Description: TjdZoomTransition
* Author:
* Create: 2023-11
*/
#ifndef TJD_ZOOM_TRANSITION_H
#define TJD_ZOOM_TRANSITION_H
#include "TransitionCallback.h"
namespace OHOS {
class TjdZoomTransition : public TransitionCallback {
public:
TjdZoomTransition(uint32_t time, bool enableCurrentSnapshot, bool enableTargetSnapshot) :
TransitionCallback(time, enableCurrentSnapshot, enableTargetSnapshot) {}
~TjdZoomTransition() override {}
void OnTransitionStart(UIViewGroup* current, UIImageView* target) override;
void TransitionAlg(uint32_t time) override;
private:
UIViewGroup* current_ = nullptr;
UIImageView* target_ = nullptr;
};
} // namespace OHOS
#endif // TJD_ZOOM_TRANSITION_H