LeviLamina
Loading...
Searching...
No Matches
PanRecognizer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/oreui/input/gestures/GestureRecognizerBase.h"
7#include "mc/deps/core/math/Vec2.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace OreUI { struct TouchEventData; }
12// clang-format on
13
14namespace OreUI {
15
16class PanRecognizer : public ::OreUI::GestureRecognizerBase {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, uint64 const> mMinimumNumberOfTouches;
21 ::ll::TypedStorage<8, 8, uint64 const> mMaximumNumberOfTouches;
22 ::ll::TypedStorage<4, 4, float const> mMinDistanceToPanCm;
23 ::ll::TypedStorage<4, 4, float> mTotalDeltaMovementInCm;
24 ::ll::TypedStorage<4, 8, ::Vec2> mPreviousLocation;
25 ::ll::TypedStorage<4, 8, ::Vec2> mStartPoint;
26 ::ll::TypedStorage<4, 8, ::Vec2> mEndPoint;
27 ::ll::TypedStorage<4, 8, ::Vec2> mDeltaTranslation;
28 // NOLINTEND
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ~PanRecognizer() /*override*/ = default;
34
35 virtual void onTouchesBegan(::std::vector<::OreUI::TouchEventData> const& touches) /*override*/;
36
37 virtual void onTouchesMoved(
38 ::std::vector<::OreUI::GestureRecognizerBase::TouchEventDataWithCurrentPos> const& touches
39 ) /*override*/;
40
41 virtual void onTouchesEnded(
42 ::std::vector<::OreUI::GestureRecognizerBase::TouchEventDataWithCurrentPos> const& touches
43 ) /*override*/;
44
45 virtual void onGestureRecognized() /*override*/;
46 // NOLINTEND
47
48public:
49 // virtual function thunks
50 // NOLINTBEGIN
51 MCAPI void $onTouchesBegan(::std::vector<::OreUI::TouchEventData> const& touches);
52
53 MCAPI void
54 $onTouchesMoved(::std::vector<::OreUI::GestureRecognizerBase::TouchEventDataWithCurrentPos> const& touches);
55
56 MCAPI void
57 $onTouchesEnded(::std::vector<::OreUI::GestureRecognizerBase::TouchEventDataWithCurrentPos> const& touches);
58
59 MCAPI void $onGestureRecognized();
60 // NOLINTEND
61
62public:
63 // vftables
64 // NOLINTBEGIN
65 MCNAPI static void** $vftable();
66 // NOLINTEND
67};
68
69} // namespace OreUI
Definition PanRecognizer.h:7
static MCAPI void ** $vftable()
Definition TouchEventData.h:7