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

Public Member Functions

virtual void render (::InputRenderContext &context) const
virtual void tick (::InputEventQueue &eventQueue, ::TouchPointResults &touchPointResults, int yAxisInversionFactor)
virtual void release (::InputEventQueue &eventQueue)
MCAPI TouchTapOrHoldGlyphButtonControl (::std::function<::RectangleArea()> area, ::std::function< bool()> condition, uint tapButtonId, uint holdButtonId, ::std::string const &iconPath, ::std::string const &pressedIconPath, ::ButtonColors const &buttonColors, int uvWidth, int uvHeight, float glyphScale)
MCAPI void * $ctor (::std::function<::RectangleArea()> area, ::std::function< bool()> condition, uint tapButtonId, uint holdButtonId, ::std::string const &iconPath, ::std::string const &pressedIconPath, ::ButtonColors const &buttonColors, int uvWidth, int uvHeight, float glyphScale)
MCAPI void $dtor ()
MCAPI void $render (::InputRenderContext &context) const
MCAPI void $tick (::InputEventQueue &eventQueue, ::TouchPointResults &touchPointResults, int yAxisInversionFactor)
MCAPI void $release (::InputEventQueue &eventQueue)
virtual uint getHoldButtonId () const
virtual int getActivePointerId () const
virtual bool releaseOnClear () const
MCFOLD uint $getHoldButtonId () const
MCFOLD int $getActivePointerId () const
MCFOLD bool $releaseOnClear () const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 64, ::std::function< bool()> > mCondition
::ll::TypedStorage< 4, 4, uint > mTapButtonId
::ll::TypedStorage< 4, 4, uint > mHoldButtonId
::ll::TypedStorage< 1, 1, ::ButtonState > mButtonState
::ll::TypedStorage< 4, 16, ::mce::ColormPressedColor
::ll::TypedStorage< 4, 16, ::mce::ColormReleasedColor
::ll::TypedStorage< 4, 4, int > mUx
::ll::TypedStorage< 4, 4, int > mUv
::ll::TypedStorage< 4, 4, int > mUvWidth
::ll::TypedStorage< 4, 4, int > mUvHeight
::ll::TypedStorage< 4, 4, int > mActivePointerId
::ll::TypedStorage< 8, 8, double > mStartTime
::ll::TypedStorage< 1, 1, bool > mIsHolding
::ll::TypedStorage< 4, 4, float > mGlyphScale
::ll::TypedStorage< 8, 32, ::std::string > mIconPath
::ll::TypedStorage< 8, 32, ::std::string > mPressedIconPath
::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

◆ render()

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

Reimplemented from TouchControl.

◆ tick()

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

Reimplemented from TouchControl.

◆ release()

virtual void TouchTapOrHoldGlyphButtonControl::release ( ::InputEventQueue & eventQueue)
virtual

Reimplemented from TouchControl.

◆ $vftable()

MCAPI void ** TouchTapOrHoldGlyphButtonControl::$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: