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

Classes

struct  ControlResolutionInfo

Public Types

using CompIdType = uint64
using NameResolverFunc = ::std::function<void(::UIControl&, ::std::shared_ptr<::UIControl>)>
using PostCreateFunc = ::std::function<void(::UIControl&)>

Public Member Functions

UIControloperator= (UIControl const &)
 UIControl (UIControl const &)
MCAPI UIControl (::ControlScreenAction &controlScreenAction)
MCAPI void _eraseComponentFromLookup (::UIComponent &component)
MCAPI uint _getComponentIndexFromBitId (uint64 bitId) const
MCAPI void _propagateLockStateChange (bool broadcastEvent)
MCAPI void _registerControlNameResolver (::std::string const &controlName, ::ui::NameResolutionScope scope, ::std::function< void(::UIControl &, ::std::shared_ptr<::UIControl >)> setter)
MCAPI void _registerPostCreateCallback (::std::function< void(::UIControl &)> setter)
MCAPI void _resolveControlNames (::UIControl &rootControl)
MCAPI void _resolvePostCreate ()
MCAPI void _setPositionDirty ()
MCAPI void _setVisible (::ui::VisibilityFlag visibleFlags, bool setLayoutChangedFlag, bool doLayout, bool shrinkInvisible)
MCAPI void addChild (::std::shared_ptr<::UIControl > child, ::ui::ChildInsertPosition childInsertPosition)
MCAPI void appendPropertyBag (::UIPropertyBag const &propertyBag)
MCAPI::ComponentReceiveActionType broadcastEvent (::VisualTree &visualTree, ::ScreenInputContext &context, ::UIAnimationController &animationController, ::UIComponent *sender, ::ScreenEvent const &screenEvent)
MCAPI bool canBeFocused () const
MCAPI ::std::shared_ptr<::UIControl > clone (::UIControl *parent) const
MCAPI bool containsPoint (::glm::vec2 const &point) const
MCAPI void findAllCollectionIndices (::brstd::function_ref< void(::std::string const &, int)> callback)
MCAPI int findCollectionIndex (::std::string const &collectionName) const
MCAPI::RectangleArea getAABB () const
MCAPI ::std::shared_ptr<::UIControl > getAncestorWhere (::brstd::function_ref< bool(::UIControl const &)> predicate)
MCAPI::std::string const getPathedName () const
MCAPI::glm::vec2 const & getPosition () const
MCAPI::UIPropertyBag const & getPropertyBag () const
MCFOLD::UIPropertyBag & getPropertyBag ()
MCAPI ::std::shared_ptr<::UIControl > moveChild (int index, bool notify)
MCAPI void notifyBindingsUpdated (::std::vector<::std::string > controlList, ::std::string propertyName, bool value, bool siblingScope)
MCAPI void popBackChild ()
MCAPI void popFrontChild ()
MCAPI void reloadFromControl (::UIControl const &control)
MCAPI bool removeChild (::std::shared_ptr<::UIControl > control)
MCAPI bool removeParentByName (::std::string const &name)
MCAPI void reset (bool recursive, bool shouldClearCollectionFlag)
MCAPI void setEnabled (bool enabled, bool broadcastEvent)
MCAPI void setIsTemplate (bool isTemplate)
MCAPI void setModalAncestor (::std::weak_ptr<::UIControl > control)
MCAPI void setVisible (bool visible, bool setLayoutChangedFlag, bool doLayout)
MCAPI void * $ctor (::ControlScreenAction &controlScreenAction)
MCAPI void $dtor ()

Public Attributes

::ll::TypedStorage< 4, 8, ::glm::vec2 > mCachedPosition
bool mCachedPositionDirty: 1
bool mHover: 1
::ui::VisibilityFlag mVisible: 2
bool mIsVisibleInTree: 1
bool mEnabled: 1
bool mAllAncestorsEnabled: 1
bool mSelected: 1
bool mClipsChildren: 1
bool mAllowClipping: 1
bool mIsClipped: 1
bool mEnableClippingScissorTest: 1
bool mIsTemplate: 1
bool mPropagateAlpha: 1
bool mDelayCollectionUpdate: 1
bool mTextToSpeechTriggered: 1
::ll::TypedStorage< 2, 2, ushort > mControlCollectionFlag
::ll::TypedStorage< 8, 32, ::std::string > mName
::ll::TypedStorage< 4, 8, ::glm::vec2 > mParentRelativePosition
::ll::TypedStorage< 4, 8, ::glm::vec2 > mSize
::ll::TypedStorage< 4, 8, ::glm::vec2 > mMinSize
::ll::TypedStorage< 4, 8, ::glm::vec2 > mMaxSize
::ll::TypedStorage< 4, 4, float > mAlpha
::ll::TypedStorage< 4, 4, int > mZOrder
::ll::TypedStorage< 4, 4, int > mLayer
::ll::TypedStorage< 4, 8, ::Vec2mClipOffset
::ll::TypedStorage< 4, 4, uint > mClipChangeEventId
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::UIPropertyBag > > mPropertyBag
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mParent
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::UIControl > > > mChildren
::ll::TypedStorage< 8, 8, uint64 > mComponentsInUse
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::UIComponent > > > mComponents
::ll::TypedStorage< 8, 24, ::std::vector<::RenderableComponent * > > mRenderableComponentLookup
::ll::TypedStorage< 8, 24, ::std::vector<::CustomFrameUpdateComponent * > > mCustomFrameUpdateComponentLookup
::ll::TypedStorage< 8, 24, ::std::vector<::UIControl::ControlResolutionInfo > > mControlResolvers
::ll::TypedStorage< 8, 24, ::std::vector<::std::function< void(::UIControl &)> > > mPostCreateVector
::ll::TypedStorage< 8, 8, ::ControlScreenAction & > mControlScreenAction
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mModalAncestor

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