3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/controls/ComponentReceiveActionType.h"
21 ::ll::TypedStorage<8, 8, ::UIControl&> mOwner;
26 UIComponent& operator=(UIComponent
const&);
27 UIComponent(UIComponent
const&);
33 virtual ~UIComponent() =
default;
35 virtual ::std::unique_ptr<::UIComponent> clone(::UIControl& cloneOwner)
const = 0;
37 virtual ::ComponentReceiveActionType receive(
38 ::VisualTree& visualTree,
39 ::ScreenInputContext& context,
40 ::UIAnimationController& animationController,
41 ::ScreenEvent
const& screenEvent
44 virtual ::ComponentReceiveActionType receive(::ScreenEvent
const& screenEvent);
46 virtual void onNotifyChildAdded();
48 virtual void onNotifyChildRemoved();
50 virtual void onRemoved();
52 virtual void onAdded();
54 virtual void onVisibilityChanged(
bool visible);
56 virtual void onEnabledChanged(
bool enabled);
58 virtual bool isRenderableComponent()
const;
60 virtual bool isCustomFrameUpdateComponent()
const;
62 virtual bool onLayoutChange();
64 virtual void reset() = 0;
66 virtual void reload(::UIComponent
const& rhs);
68 virtual ::std::string
const& getTextToSpeechComponentValue()
const;
101 MCNAPI
void $reload(::UIComponent
const& rhs);
Definition ScreenInputContext.h:5
Definition UIAnimationController.h:5
Definition UIComponent.h:5
MCAPI bool $isRenderableComponent() const
MCAPI::ComponentReceiveActionType $receive(::ScreenEvent const &screenEvent)
MCAPI void $onNotifyChildRemoved()
MCAPI void $onNotifyChildAdded()
MCAPI void $reload(::UIComponent const &rhs)
MCAPI void $onEnabledChanged(bool enabled)
MCAPI bool $onLayoutChange()
MCAPI::std::string const & $getTextToSpeechComponentValue() const
MCAPI::ComponentReceiveActionType $receive(::VisualTree &visualTree, ::ScreenInputContext &context, ::UIAnimationController &animationController, ::ScreenEvent const &screenEvent)
MCAPI void $onVisibilityChanged(bool visible)
MCAPI bool $isCustomFrameUpdateComponent() const
Definition VisualTree.h:5
Definition ScreenEvent.h:5