Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
TouchGlyphButtonControl Class Reference
Inheritance diagram for TouchGlyphButtonControl:

Public Member Functions

virtual uint getHoldButtonId () const
virtual int getActivePointerId () const
virtual bool releaseOnClear () const
virtual void render (::InputRenderContext &context) const
virtual void tick (::InputEventQueue &eventQueue, ::TouchPointResults &touchPointResults, int yAxisInversionFactor)
virtual void release (::InputEventQueue &eventQueue)
MCAPI TouchGlyphButtonControl (::std::function<::RectangleArea()> area, ::std::function< bool()> condition, ::std::function< float()> opacity, uint buttonId, ::std::string const &iconPath, ::std::string const &pressedIconPath, ::ButtonColors const &buttonColors, int uvWidth, int uvHeight, int activePointerId, bool passThrough, int touchStateRequirement, float glyphScale, bool promiscuous, bool extendButtonPressOutsideUntilReleased, float innerPaddingX, float innerPaddingY)
MCAPI void * $ctor (::std::function<::RectangleArea()> area, ::std::function< bool()> condition, ::std::function< float()> opacity, uint buttonId, ::std::string const &iconPath, ::std::string const &pressedIconPath, ::ButtonColors const &buttonColors, int uvWidth, int uvHeight, int activePointerId, bool passThrough, int touchStateRequirement, float glyphScale, bool promiscuous, bool extendButtonPressOutsideUntilReleased, float innerPaddingX, float innerPaddingY)
MCAPI uint $getHoldButtonId () const
MCAPI int $getActivePointerId () const
MCAPI bool $releaseOnClear () const
MCAPI void $render (::InputRenderContext &context) const
MCAPI void $tick (::InputEventQueue &eventQueue, ::TouchPointResults &touchPointResults, int yAxisInversionFactor)
MCAPI void $release (::InputEventQueue &eventQueue)
MCAPI int getNewActivePointer (::TouchPointResults &touchPointResults, ::RectangleArea const &area, float &x, float &y, ::std::vector<::RectangleArea > const &areasToIgnore, ::std::vector< int > const &pointerIdsToIgnore, bool consumeInput) const
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 64, ::std::function< bool()> > mCondition
::ll::TypedStorage< 8, 64, ::std::function< float()> > mOpacity
::ll::TypedStorage< 4, 4, uint > mButtonId
::ll::TypedStorage< 1, 1, ::ButtonState > mButtonState
::ll::TypedStorage< 4, 16, ::mce::Color > mPressedColor
::ll::TypedStorage< 4, 16, ::mce::Color > mReleasedColor
::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, float > mInnerPaddingX
::ll::TypedStorage< 4, 4, float > mInnerPaddingY
::ll::TypedStorage< 4, 4, int > mActivePointerId
::ll::TypedStorage< 1, 1, bool > mPassThrough
::ll::TypedStorage< 1, 1, bool > mPromiscuous
::ll::TypedStorage< 4, 4, int > mTouchStateRequirement
::ll::TypedStorage< 8, 8, int64 > mTimeSinceFirstPress
::ll::TypedStorage< 1, 1, bool > mWaitingForSecondPress
::ll::TypedStorage< 1, 1, bool > mExtendButtonPressOutsideAreaUntilReleased
::ll::TypedStorage< 8, 32, ::std::string > mIconPath
::ll::TypedStorage< 8, 32, ::std::string > mPressedIconPath
::ll::TypedStorage< 4, 4, float > mGlyphScale
::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

Constructor & Destructor Documentation

◆ TouchGlyphButtonControl()

MCAPI TouchGlyphButtonControl::TouchGlyphButtonControl ( ::std::function<::RectangleArea()> area,
::std::function< bool()> condition,
::std::function< float()> opacity,
uint buttonId,
::std::string const & iconPath,
::std::string const & pressedIconPath,
::ButtonColors const & buttonColors,
int uvWidth,
int uvHeight,
int activePointerId,
bool passThrough,
int touchStateRequirement,
float glyphScale,
bool promiscuous,
bool extendButtonPressOutsideUntilReleased,
float innerPaddingX,
float innerPaddingY )
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.

Member Function Documentation

◆ getHoldButtonId()

virtual uint TouchGlyphButtonControl::getHoldButtonId ( ) const
virtual

Reimplemented from TouchControl.

◆ getActivePointerId()

virtual int TouchGlyphButtonControl::getActivePointerId ( ) const
virtual

Reimplemented from TouchControl.

◆ releaseOnClear()

virtual bool TouchGlyphButtonControl::releaseOnClear ( ) const
virtual

Reimplemented from TouchControl.

◆ render()

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

Reimplemented from TouchControl.

◆ tick()

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

Reimplemented from TouchControl.

◆ release()

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

Reimplemented from TouchControl.

◆ $ctor()

MCAPI void * TouchGlyphButtonControl::$ctor ( ::std::function<::RectangleArea()> area,
::std::function< bool()> condition,
::std::function< float()> opacity,
uint buttonId,
::std::string const & iconPath,
::std::string const & pressedIconPath,
::ButtonColors const & buttonColors,
int uvWidth,
int uvHeight,
int activePointerId,
bool passThrough,
int touchStateRequirement,
float glyphScale,
bool promiscuous,
bool extendButtonPressOutsideUntilReleased,
float innerPaddingX,
float innerPaddingY )
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.

◆ $getHoldButtonId()

MCAPI uint TouchGlyphButtonControl::$getHoldButtonId ( ) const
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.

◆ $getActivePointerId()

MCAPI int TouchGlyphButtonControl::$getActivePointerId ( ) const
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.

◆ $releaseOnClear()

MCAPI bool TouchGlyphButtonControl::$releaseOnClear ( ) const
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.

◆ $render()

MCAPI void TouchGlyphButtonControl::$render ( ::InputRenderContext & context) const
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.

◆ $tick()

MCAPI void TouchGlyphButtonControl::$tick ( ::InputEventQueue & eventQueue,
::TouchPointResults & touchPointResults,
int yAxisInversionFactor )
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.

◆ $release()

MCAPI void TouchGlyphButtonControl::$release ( ::InputEventQueue & eventQueue)
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.

◆ getNewActivePointer()

MCAPI int TouchControl::getNewActivePointer ( ::TouchPointResults & touchPointResults,
::RectangleArea const & area,
float & x,
float & y,
::std::vector<::RectangleArea > const & areasToIgnore,
::std::vector< int > const & pointerIdsToIgnore,
bool consumeInput ) const
inherited
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.

◆ $dtor()

MCAPI void TouchControl::$dtor ( )
inherited
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.

◆ $vftable()

MCAPI void ** TouchControl::$vftable ( )
staticinherited
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: