LeviLamina
Loading...
Searching...
No Matches
ControlOptionEditorControl Class Reference
+ Inheritance diagram for ControlOptionEditorControl:

Public Member Functions

virtual void tick (::InputEventQueue &eventQueue, ::TouchPointResults &touchPointResults, int yAxisInversionFactor)
 
virtual void render (::InputRenderContext &context) const
 
MCAPI ControlOptionEditorControl (::std::function< float()> wysiwygState, ::std::function<::RectangleArea()> area, ::std::function<::RectangleArea()> mainPanelArea, ::std::function<::RectangleArea()> subPanelArea, ::std::function< bool()> condition, ::std::vector<::std::unique_ptr<::ControlConfiguration > > controlConfigurations, ::std::vector<::std::function<::RectangleArea()> > const &reservedAreas)
 
MCAPI bool _checkCollisionForPotentialUpdates (::std::unordered_map<::ControlConfiguration *, float > const &potentialUpdates) const
 
MCAPI int _getNumberOfActiveControlConfigurations () const
 
MCAPI::RectangleArea _getRectangleAreaOfConfiguration (::ControlConfiguration *cc) const
 
MCAPI bool _isColliding (::RectangleArea const &rect, uint excludedId) const
 
MCAPI bool _otherConfigsExistWithSameCategory (uint configId) const
 
MCAPI void _playBumpingSound (::InputEventQueue &eventQueue)
 
MCAPI void _pushControlsInsideSafeArea ()
 
MCAPI void _setControlConfigurationActive (::InputEventQueue &eventQueue, ::ControlConfiguration *cc, bool active)
 
MCAPI bool areThereOverlappingControls () const
 
MCAPI void checkForOverlaps ()
 
MCAPI void * $ctor (::std::function< float()> wysiwygState, ::std::function<::RectangleArea()> area, ::std::function<::RectangleArea()> mainPanelArea, ::std::function<::RectangleArea()> subPanelArea, ::std::function< bool()> condition, ::std::vector<::std::unique_ptr<::ControlConfiguration > > controlConfigurations, ::std::vector<::std::function<::RectangleArea()> > const &reservedAreas)
 
MCAPI void $dtor ()
 
MCAPI void $tick (::InputEventQueue &eventQueue, ::TouchPointResults &touchPointResults, int yAxisInversionFactor)
 
MCAPI void $render (::InputRenderContext &context) const
 
virtual uint getHoldButtonId () const
 
virtual int getActivePointerId () const
 
virtual bool releaseOnClear () const
 
virtual void release (::InputEventQueue &eventQueue)
 
MCAPI bool canUpdateActivePointer (::TouchPointResults &touchPointResults, int pointerId, float &x, float &y) const
 
MCAPI void * $ctor (::std::function<::RectangleArea()> area)
 
MCFOLD uint $getHoldButtonId () const
 
MCFOLD int $getActivePointerId () const
 
MCFOLD bool $releaseOnClear () const
 
MCFOLD void $release (::InputEventQueue &eventQueue)
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 64, ::std::function< float()> > mWYSIWYGHUDState
 
::ll::TypedStorage< 8, 64, ::std::function< bool()> > mCondition
 
::ll::TypedStorage< 8, 64, ::std::function<::RectangleArea()> > mMainPanelArea
 
::ll::TypedStorage< 8, 64, ::std::function<::RectangleArea()> > mSubPanelArea
 
::ll::TypedStorage< 8, 24, ::std::vector<::std::function<::RectangleArea()> > > mReservedAreas
 
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::ControlConfiguration > > > mConfigurations
 
::ll::TypedStorage< 4, 4, ::TouchControlEditorState > mEditorState
 
::ll::TypedStorage< 4, 4, int > mActivePointer
 
::ll::TypedStorage< 8, 8, double > mStartMoveTime
 
::ll::TypedStorage< 4, 4, float > mStartX
 
::ll::TypedStorage< 4, 4, float > mStartY
 
::ll::TypedStorage< 4, 4, uint > mSelectedConfigId
 
::ll::TypedStorage< 4, 4, int > mSelectAllPointer
 
::ll::TypedStorage< 4, 4, int > mActiveInteractingWithScaleSliderPointer
 
::ll::TypedStorage< 8, 8, double > mLastBumpSoundTime
 
::ll::TypedStorage< 1, 1, bool > mHasDoneInitialCollisionCheck
 
::ll::TypedStorage< 8, 64, ::std::function<::RectangleArea()> > mArea
 
::ll::TypedStorage< 4, 4, int > mScreenWidth
 
::ll::TypedStorage< 4, 4, int > mScreenHeight
 
::ll::TypedStorage< 8, 32, ::std::string > mCurrentLabel
 

Member Function Documentation

◆ tick()

virtual void ControlOptionEditorControl::tick ( ::InputEventQueue & eventQueue,
::TouchPointResults & touchPointResults,
int yAxisInversionFactor )
virtual

Reimplemented from TouchControl.

◆ render()

virtual void ControlOptionEditorControl::render ( ::InputRenderContext & context) const
virtual

Reimplemented from TouchControl.

◆ $vftable()

static MCAPI void ** ControlOptionEditorControl::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following files: