From: hcj <1224667075@qq.com> Date: Sat, 30 Mar 2024 09:29:32 +0000 (+0800) Subject: 补 X-Git-Tag: release_V1.2.70_20241020_135402~1241^2~6^2 X-Git-Url: http://git.snicker.com.cn/Users/apple/Desktop/static/gitweb.css?a=commitdiff_plain;h=a669aa2ee71ab3ce48b1fbd5fd615237e0528d0b;p=mirrors%2FFD230.git 补 --- diff --git a/code/sdk/application/wearable/fd230app/nativeui/system/include/SystemPresenter.h b/code/sdk/application/wearable/fd230app/nativeui/system/include/SystemPresenter.h index a92a604e4..e1dc25718 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/system/include/SystemPresenter.h +++ b/code/sdk/application/wearable/fd230app/nativeui/system/include/SystemPresenter.h @@ -59,14 +59,15 @@ namespace OHOS class SystemPresenter : public Presenter, public UIView::OnClickListener, public RootView::OnKeyActListener, - public UIView::OnDragListener + public UIView::OnDragListener, + public UIView::OnTouchListener { public: SystemPresenter(); virtual ~SystemPresenter(); void OnStart() override; - void OnPause() override; + //void OnPause() override; void OnResume() override; void OnStop() override; @@ -78,6 +79,7 @@ namespace OHOS bool OnDrag(UIView &view, const DragEvent &event) override; bool OnDragEnd(UIView &view, const DragEvent &event) override; bool OnKeyAct(UIView &view, const KeyEvent &event) override; // 增加按键事件 + bool OnPress(UIView &view, const PressEvent &event); private: SystemModel *systemModel;