3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/controls/UIComponent.h"
7#include "mc/client/gui/controls/UIMaterialType.h"
8#include "mc/client/gui/screens/LayoutVariableType.h"
21 ::ll::TypedStorage<1, 1, bool> mSupportsLayoutOverride;
22 ::ll::TypedStorage<4, 8, ::glm::vec2> mMeasuredSize;
23 ::ll::TypedStorage<4, 4, float> mPropagatedAlpha;
28 RenderableComponent();
33 virtual ~RenderableComponent() ;
35 virtual void updateUI(::UIMeasureStrategy
const& uiMeasureStrategy);
37 virtual void reset() ;
39 virtual bool isRenderableComponent() const ;
45 MCAPI RenderableComponent(::UIControl& owner,
bool supportsLayoutOverride);
47 MCAPI
bool _hasDefaultHeightSizing() const;
49 MCAPI
bool _hasDefaultSizing(::LayoutVariableType type) const;
51 MCAPI
bool _hasDefaultWidthSizing() const;
53 MCAPI
bool _hasMaxSize() const;
55 MCAPI
bool _hasMinSize() const;
57 MCAPI
void _updateLayoutSize();
59 MCAPI
float getLayoutAxisOffsetOverride(::LayoutVariableType type) const;
61 MCAPI
bool overridesLayoutAxisOffset(::LayoutVariableType type) const;
63 MCAPI
void setPropagatedAlpha(
float alpha);
69 MCAPI static ::HashedString const& getUIMaterialName(::UIMaterialType type);
75 MCAPI
void* $ctor(::UIControl& owner,
bool supportsLayoutOverride);
87 MCFOLD
void $updateUI(::UIMeasureStrategy const& uiMeasureStrategy);
91 MCFOLD
bool $isRenderableComponent() const;
Definition HashedString.h:5
Definition RenderableComponent.h:5
static MCAPI void ** $vftable()
Definition UIComponent.h:5
Definition UIMeasureStrategy.h:5