3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/input/TouchControl.h"
7#include "mc/deps/input/TouchControlEditorState.h"
22 ::ll::TypedStorage<8, 64, ::std::function<float()>> mWYSIWYGHUDState;
23 ::ll::TypedStorage<8, 64, ::std::function<bool()>> mCondition;
24 ::ll::TypedStorage<8, 64, ::std::function<::RectangleArea()>> mMainPanelArea;
25 ::ll::TypedStorage<8, 64, ::std::function<::RectangleArea()>> mSubPanelArea;
26 ::ll::TypedStorage<8, 24, ::std::vector<::std::function<::RectangleArea()>>> mReservedAreas;
27 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::ControlConfiguration>>> mConfigurations;
28 ::ll::TypedStorage<4, 4, ::TouchControlEditorState> mEditorState;
29 ::ll::TypedStorage<4, 4, int> mActivePointer;
30 ::ll::TypedStorage<8, 8, double> mStartMoveTime;
31 ::ll::TypedStorage<4, 4, float> mStartX;
32 ::ll::TypedStorage<4, 4, float> mStartY;
33 ::ll::TypedStorage<4, 4, uint> mSelectedConfigId;
34 ::ll::TypedStorage<4, 4, int> mSelectAllPointer;
35 ::ll::TypedStorage<4, 4, int> mActiveInteractingWithScaleSliderPointer;
36 ::ll::TypedStorage<8, 8, double> mLastBumpSoundTime;
37 ::ll::TypedStorage<1, 1, bool> mHasDoneInitialCollisionCheck;
42 ControlOptionEditorControl();
48 tick(::InputEventQueue& eventQueue, ::TouchPointResults& touchPointResults,
int yAxisInversionFactor) ;
50 virtual void render(::InputRenderContext& context)
const ;
56 MCAPI ControlOptionEditorControl(
57 ::std::function<
float()> wysiwygState,
58 ::std::function<::RectangleArea()> area,
59 ::std::function<::RectangleArea()> mainPanelArea,
60 ::std::function<::RectangleArea()> subPanelArea,
61 ::std::function<
bool()> condition,
62 ::std::vector<::std::unique_ptr<::ControlConfiguration>> controlConfigurations,
63 ::std::vector<::std::function<::RectangleArea()>>
const& reservedAreas
66 MCAPI
int _getNumberOfActiveControlConfigurations()
const;
68 MCAPI ::RectangleArea _getRectangleAreaOfConfiguration(::ControlConfiguration* cc)
const;
70 MCAPI
bool _isColliding(::RectangleArea
const& rect, uint excludedId)
const;
72 MCAPI
void _playBumpingSound(::InputEventQueue& eventQueue);
74 MCAPI
void _pushControlsInsideSafeArea();
76 MCAPI
void _setControlConfigurationActive(::InputEventQueue& eventQueue, ::ControlConfiguration* cc,
bool active);
78 MCAPI
void checkForOverlaps();
85 ::std::function<
float()> wysiwygState,
86 ::std::function<::RectangleArea()> area,
87 ::std::function<::RectangleArea()> mainPanelArea,
88 ::std::function<::RectangleArea()> subPanelArea,
89 ::std::function<
bool()> condition,
90 ::std::vector<::std::unique_ptr<::ControlConfiguration>> controlConfigurations,
91 ::std::vector<::std::function<::RectangleArea()>>
const& reservedAreas
98 MCAPI
void $tick(::InputEventQueue& eventQueue, ::TouchPointResults& touchPointResults,
int yAxisInversionFactor);
100 MCAPI
void $render(::InputRenderContext& context)
const;
Definition ControlConfiguration.h:5
Definition ControlOptionEditorControl.h:5
Definition InputRenderContext.h:5
Definition RectangleArea.h:5
Definition TouchControl.h:5
Definition TouchPointResults.h:5