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

Public Member Functions

virtual ::std::shared_ptr<::UIControl > getControlWithName (::std::string const &name)
virtual bool getDirty ()
virtual bool getDirty (::ui::DirtyFlag flag)
virtual::ui::DirtyFlag getDirtyValue ()
virtual void addDirtyFlag (::ui::DirtyFlag flag)
virtual void measureControls (::UIControl &measureRoot)
virtual void markToRemoveDeadDependencies (::std::shared_ptr<::UIControl > control)
virtual void updateControlCollection (::std::shared_ptr<::UIControl > control)
virtual void updateControlCollectionFromRoot ()
virtual void removeFromControlCollection (::std::shared_ptr<::UIControl > control)
virtual void updateControlBinds (::std::shared_ptr<::UIControl > control)
virtual void updateBindsFromRoot ()
virtual void markTextEditFocusChanged ()
virtual void markTextEditAlwaysListeningChanged ()
MCAPI VisualTree (::std::string const &rootControlName, ::Json::Value const &initGlobalVars)
MCAPI ::std::shared_ptr<::UIControl > getControlByName (::std::string const &name, bool visibleOnly)
MCAPI ::std::vector<::std::shared_ptr<::UIControl > > getControls (::std::function< bool(::UIControl const &)> predicate)
MCAPI ::std::vector<::std::shared_ptr<::UIControl > > getVisibleControls (::std::function< bool(::UIControl const &)> predicate)
MCAPI ::std::unique_ptr<::VisualTree > recreateControlTree (::UIControlFactory &controlFactory)
MCAPI void removeDeadDependencies ()
MCAPI void * $ctor (::std::string const &rootControlName, ::Json::Value const &initGlobalVars)
MCAPI void $dtor ()
MCAPI ::std::shared_ptr<::UIControl > $getControlWithName (::std::string const &name)
MCAPI bool $getDirty ()
MCAPI bool $getDirty (::ui::DirtyFlag flag)
MCAPI::ui::DirtyFlag $getDirtyValue ()
MCAPI void $addDirtyFlag (::ui::DirtyFlag flag)
MCAPI void $measureControls (::UIControl &measureRoot)
MCAPI void $markToRemoveDeadDependencies (::std::shared_ptr<::UIControl > control)
MCAPI void $updateControlCollection (::std::shared_ptr<::UIControl > control)
MCAPI void $updateControlCollectionFromRoot ()
MCAPI void $removeFromControlCollection (::std::shared_ptr<::UIControl > control)
MCAPI void $updateControlBinds (::std::shared_ptr<::UIControl > control)
MCAPI void $updateBindsFromRoot ()
MCAPI void $markTextEditFocusChanged ()
MCAPI void $markTextEditAlwaysListeningChanged ()

Static Public Member Functions

static MCAPI void _destroyAsync (::TaskGroup &taskGroup, ::std::shared_ptr<::UIControl > control)

Public Attributes

::ll::TypedStorage< 8, 16, ::std::shared_ptr<::UIControl > > mRootControl
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mInitialSelectedControl
::ll::TypedStorage< 8, 32, ::std::string > mRootControlName
::ll::TypedStorage< 4, 4, ::ui::DirtyFlag > mDirty
::ll::TypedStorage< 1, 1, bool > mClearPersistantMeshes
::ll::TypedStorage< 8, 8, ::UIMeasureStrategy * > mMeasureStrategy
::ll::TypedStorage< 8, 24, ::std::vector<::std::pair< void *, ::std::weak_ptr<::UIControl > > > > mNeedsToRemoveDeadDependencies
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::UIControl > > > mControlsToUpdate
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::UIControl > > > mControlsToUpdateBacklog
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::UIControl > > > mControlsToRemoveFromCollections
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::UIControl > > > mControlsToBind
::ll::TypedStorage< 1, 1, bool > mUpdateCollectionsFromRoot
::ll::TypedStorage< 1, 1, bool > mUpdateBindsFromRoot
::ll::TypedStorage< 1, 1, bool > mTextEditFocusChanged
::ll::TypedStorage< 1, 1, bool > mTextEditAlwaysListeningChanged
::ll::TypedStorage< 1, 1, bool > mRootControlDestroyed
::ll::TypedStorage< 1, 1, bool > mRootControlWasInitialized
::ll::TypedStorage< 8, 16, ::Json::Value > mInitGlobalVars
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::VisualTreeProxy > > mProxy

Constructor & Destructor Documentation

◆ VisualTree()

MCAPI VisualTree::VisualTree ( ::std::string const & rootControlName,
::Json::Value const & initGlobalVars )
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

◆ getControlWithName()

virtual ::std::shared_ptr<::UIControl > VisualTree::getControlWithName ( ::std::string const & name)
virtual

Implements ControlScreenAction.

◆ getDirty() [1/2]

virtual bool VisualTree::getDirty ( )
virtual

Implements ControlScreenAction.

◆ getDirty() [2/2]

virtual bool VisualTree::getDirty ( ::ui::DirtyFlag flag)
virtual

Implements ControlScreenAction.

◆ getDirtyValue()

virtual::ui::DirtyFlag VisualTree::getDirtyValue ( )
virtual

Implements ControlScreenAction.

◆ addDirtyFlag()

virtual void VisualTree::addDirtyFlag ( ::ui::DirtyFlag flag)
virtual

Implements ControlScreenAction.

◆ measureControls()

virtual void VisualTree::measureControls ( ::UIControl & measureRoot)
virtual

Implements ControlScreenAction.

◆ markToRemoveDeadDependencies()

virtual void VisualTree::markToRemoveDeadDependencies ( ::std::shared_ptr<::UIControl > control)
virtual

Implements ControlScreenAction.

◆ updateControlCollection()

virtual void VisualTree::updateControlCollection ( ::std::shared_ptr<::UIControl > control)
virtual

Implements ControlScreenAction.

◆ updateControlCollectionFromRoot()

virtual void VisualTree::updateControlCollectionFromRoot ( )
virtual

Implements ControlScreenAction.

◆ removeFromControlCollection()

virtual void VisualTree::removeFromControlCollection ( ::std::shared_ptr<::UIControl > control)
virtual

Implements ControlScreenAction.

◆ updateControlBinds()

virtual void VisualTree::updateControlBinds ( ::std::shared_ptr<::UIControl > control)
virtual

Implements ControlScreenAction.

◆ updateBindsFromRoot()

virtual void VisualTree::updateBindsFromRoot ( )
virtual

Implements ControlScreenAction.

◆ markTextEditFocusChanged()

virtual void VisualTree::markTextEditFocusChanged ( )
virtual

Implements ControlScreenAction.

◆ markTextEditAlwaysListeningChanged()

virtual void VisualTree::markTextEditAlwaysListeningChanged ( )
virtual

Implements ControlScreenAction.

◆ getControls()

MCAPI ::std::vector<::std::shared_ptr<::UIControl > > VisualTree::getControls ( ::std::function< bool(::UIControl const &)> predicate)
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.

◆ getVisibleControls()

MCAPI ::std::vector<::std::shared_ptr<::UIControl > > VisualTree::getVisibleControls ( ::std::function< bool(::UIControl const &)> predicate)
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.

◆ recreateControlTree()

MCAPI ::std::unique_ptr<::VisualTree > VisualTree::recreateControlTree ( ::UIControlFactory & controlFactory)
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.

◆ removeDeadDependencies()

MCAPI void VisualTree::removeDeadDependencies ( )
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.

◆ _destroyAsync()

MCAPI void VisualTree::_destroyAsync ( ::TaskGroup & taskGroup,
::std::shared_ptr<::UIControl > control )
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.

◆ $ctor()

MCAPI void * VisualTree::$ctor ( ::std::string const & rootControlName,
::Json::Value const & initGlobalVars )
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 VisualTree::$dtor ( )
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.

◆ $getControlWithName()

MCAPI ::std::shared_ptr<::UIControl > VisualTree::$getControlWithName ( ::std::string const & name)
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.

◆ $getDirty() [1/2]

MCAPI bool VisualTree::$getDirty ( )
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.

◆ $getDirty() [2/2]

MCAPI bool VisualTree::$getDirty ( ::ui::DirtyFlag flag)
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.

◆ $getDirtyValue()

MCAPI::ui::DirtyFlag VisualTree::$getDirtyValue ( )
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.

◆ $addDirtyFlag()

MCAPI void VisualTree::$addDirtyFlag ( ::ui::DirtyFlag flag)
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.

◆ $measureControls()

MCAPI void VisualTree::$measureControls ( ::UIControl & measureRoot)
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.

◆ $markToRemoveDeadDependencies()

MCAPI void VisualTree::$markToRemoveDeadDependencies ( ::std::shared_ptr<::UIControl > control)
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.

◆ $updateControlCollection()

MCAPI void VisualTree::$updateControlCollection ( ::std::shared_ptr<::UIControl > control)
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.

◆ $updateControlCollectionFromRoot()

MCAPI void VisualTree::$updateControlCollectionFromRoot ( )
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.

◆ $removeFromControlCollection()

MCAPI void VisualTree::$removeFromControlCollection ( ::std::shared_ptr<::UIControl > control)
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.

◆ $updateControlBinds()

MCAPI void VisualTree::$updateControlBinds ( ::std::shared_ptr<::UIControl > control)
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.

◆ $updateBindsFromRoot()

MCAPI void VisualTree::$updateBindsFromRoot ( )
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.

◆ $markTextEditFocusChanged()

MCAPI void VisualTree::$markTextEditFocusChanged ( )
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.

◆ $markTextEditAlwaysListeningChanged()

MCAPI void VisualTree::$markTextEditAlwaysListeningChanged ( )
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: