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

Public Member Functions

virtual ::std::shared_ptr<::UIControlgetControlWithName (::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 void clearControlsUpdate (bool clearBacklog)
MCAPI ::std::shared_ptr<::UIControlgetControlByName (::std::string const &name, bool visibleOnly)
MCAPI ::std::vector<::std::shared_ptr<::UIControl > > getControls (::std::function< bool(::UIControl const &)> predicate)
MCAPI ::std::shared_ptr<::UIControlgetFirstControl (::std::function< bool(::UIControl const &)> const &predicate)
MCAPI ::std::shared_ptr<::UIControlgetFirstControl (::UIControl &control, ::std::function< bool(::UIControl const &)> const &predicate)
MCAPI ::std::shared_ptr<::UIControlgetFirstVisibleControl (::std::function< bool(::UIControl const &)> const &predicate)
MCAPI ::std::vector<::std::shared_ptr<::UIControl > > getVisibleControls (::std::function< bool(::UIControl const &)> predicate)
MCAPI void initRootControl (::std::shared_ptr<::UIControl > rootControl)
MCAPI ::std::unique_ptr<::VisualTree > recreateControlTree (::UIControlFactory &controlFactory)
MCAPI void removeDeadDependencies ()
MCAPI void setRootControlName (::std::string const &name)
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)
MCFOLD::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)
static MCAPI void ** $vftable ()

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< 8, 16, ::Json::ValuemInitGlobalVars
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::VisualTreeProxy > > mProxy

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.

◆ $vftable()

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