LeviLamina
Loading...
Searching...
No Matches
GestureComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/controls/ComponentReceiveActionType.h"
7#include "mc/client/gui/controls/UIComponent.h"
8
9// auto generated forward declare list
10// clang-format off
13class UIControl;
14class VisualTree;
15struct ScreenEvent;
16// clang-format on
17
18class GestureComponent : public ::UIComponent {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<1, 1, bool> mButtonDown;
23 ::ll::TypedStorage<4, 4, uint> mTrackpadButtonId;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 GestureComponent();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ::std::unique_ptr<::UIComponent> clone(::UIControl& cloneOwner) const /*override*/;
34
35 virtual void reset() /*override*/;
36
37 virtual ::ComponentReceiveActionType receive(
38 ::VisualTree& screenEvent,
39 ::ScreenInputContext&,
40 ::UIAnimationController&,
41 ::ScreenEvent const&
42 ) /*override*/;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI explicit GestureComponent(::UIControl& owner);
49
50 MCFOLD void setTrackpadButtonId(uint buttonId);
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCAPI void* $ctor(::UIControl& owner);
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCAPI ::std::unique_ptr<::UIComponent> $clone(::UIControl& cloneOwner) const;
63
64 MCFOLD void $reset();
65
66 MCAPI ::ComponentReceiveActionType
67 $receive(::VisualTree& screenEvent, ::ScreenInputContext&, ::UIAnimationController&, ::ScreenEvent const&);
68 // NOLINTEND
69
70public:
71 // vftables
72 // NOLINTBEGIN
73 MCNAPI static void** $vftable();
74 // NOLINTEND
75};
Definition GestureComponent.h:5
static MCAPI void ** $vftable()
Definition ScreenInputContext.h:5
Definition UIAnimationController.h:5
Definition UIComponent.h:5
Definition UIControl.h:5
Definition VisualTree.h:5
Definition ScreenEvent.h:5