LeviLamina
Loading...
Searching...
No Matches
TouchControlSet.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/input/TouchMoveAndTurnControlState.h"
7#include "mc/deps/input/TouchPointResults.h"
8#include "mc/deps/input/TouchTurnControlState.h"
9#include "mc/deps/input/TouchTurnState.h"
10
11// auto generated forward declare list
12// clang-format off
13class BindingFactory;
14class InputEventQueue;
15class TouchControl;
18// clang-format on
19
20class TouchControlSet {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 24, ::TouchPointResults> mTouchPointResults;
25 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::TouchControl>>> mControls;
26 ::ll::TypedStorage<8, 8, ::TouchTurnInteractControl*> mTurnInteractControl;
27 ::ll::TypedStorage<8, 8, ::TouchMoveAndTurnInteractControl*> mTouchMoveAndTurnInteractControl;
28 ::ll::TypedStorage<4, 4, int> mScreenWidth;
29 ::ll::TypedStorage<4, 4, int> mScreenHeight;
30 ::ll::TypedStorage<8, 8, uint64> mControlOptionEditorId;
31 ::ll::TypedStorage<4, 4, ::TouchTurnState> mPrevState;
32 ::ll::TypedStorage<8, 32, ::TouchTurnControlState> mPrevTouchTurnControlState;
33 ::ll::TypedStorage<8, 152, ::TouchMoveAndTurnControlState> mPrevTouchMoveAndTurnControlState;
34 ::ll::TypedStorage<8, 24, ::std::vector<::std::pair<uint, int>>> mActivePointers;
35 // NOLINTEND
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCAPI void addConditionalGuiPassthrough(
41 ::BindingFactory const& bindingFactory,
42 uint areaBindingName,
43 ::std::string const& buttonName,
44 uint conditionName,
45 bool consumeInput
46 );
47
48 MCAPI void addCustomZone(::BindingFactory const& bindingFactory, uint areaBindingName, uint conditionName);
49
50 MCAPI void addTouchControlEditor(
51 ::BindingFactory const& bindingFactory,
52 uint areaBindingName,
53 uint mainPanelAreaBindingName,
54 uint subPanelAreaBindingName,
55 uint conditionBindingName
56 );
57
58 MCAPI void clearControls(::InputEventQueue& eventQueue);
59
60 MCAPI ~TouchControlSet();
61 // NOLINTEND
62
63public:
64 // destructor thunk
65 // NOLINTBEGIN
66 MCAPI void $dtor();
67 // NOLINTEND
68};
Definition BindingFactory.h:5
Definition InputEventQueue.h:5
Definition TouchControlSet.h:5
Definition TouchControl.h:5
Definition TouchMoveAndTurnInteractControl.h:5
Definition TouchTurnInteractControl.h:5