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();
47 virtual void tick(::InputEventQueue& eventQueue, ::TouchPointResults& touchPointResults,
int) ;
49 virtual void render(::InputRenderContext& context)
const ;
55 MCAPI ControlOptionEditorControl(
56 ::std::function<
float()> wysiwygState,
57 ::std::function<::RectangleArea()> area,
58 ::std::function<::RectangleArea()> mainPanelArea,
59 ::std::function<::RectangleArea()> subPanelArea,
60 ::std::function<
bool()> condition,
61 ::std::vector<::std::unique_ptr<::ControlConfiguration>> controlConfigurations,
62 ::std::vector<::std::function<::RectangleArea()>>
const& reservedAreas
65 MCAPI
bool _checkCollisionForPotentialUpdates(
66 ::std::unordered_map<::ControlConfiguration*, float>
const& potentialUpdates
69 MCAPI
int _getNumberOfActiveControlConfigurations()
const;
71 MCAPI ::RectangleArea _getRectangleAreaOfConfiguration(::ControlConfiguration* cc)
const;
73 MCAPI
bool _isColliding(::RectangleArea
const& rect, uint excludedId)
const;
75 MCAPI
void _playBumpingSound(::InputEventQueue& eventQueue);
77 MCAPI
void _pushControlsInsideSafeArea();
79 MCAPI
void _setControlConfigurationActive(::InputEventQueue& eventQueue, ::ControlConfiguration* cc,
bool active);
81 MCAPI
void checkForOverlaps();
88 ::std::function<
float()> wysiwygState,
89 ::std::function<::RectangleArea()> area,
90 ::std::function<::RectangleArea()> mainPanelArea,
91 ::std::function<::RectangleArea()> subPanelArea,
92 ::std::function<
bool()> condition,
93 ::std::vector<::std::unique_ptr<::ControlConfiguration>> controlConfigurations,
94 ::std::vector<::std::function<::RectangleArea()>>
const& reservedAreas
101 MCAPI
void $tick(::InputEventQueue& eventQueue, ::TouchPointResults& touchPointResults,
int);
103 MCAPI
void $render(::InputRenderContext& context)
const;
Definition ControlConfiguration.h:5
Definition ControlOptionEditorControl.h:5
static MCAPI void ** $vftable()
Definition InputRenderContext.h:5
Definition RectangleArea.h:5
Definition TouchControl.h:5
Definition TouchPointResults.h:5