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;
74 MCFOLD ::ComponentReceiveActionType $receive(
75 ::VisualTree& visualTree,
76 ::ScreenInputContext& context,
77 ::UIAnimationController& animationController,
78 ::ScreenEvent
const& screenEvent
81 MCFOLD ::ComponentReceiveActionType $receive(::ScreenEvent
const& screenEvent);
83 MCFOLD
void $onNotifyChildAdded();
85 MCFOLD
void $onNotifyChildRemoved();
87 MCFOLD
void $onRemoved();
89 MCFOLD
void $onAdded();
91 MCFOLD
void $onVisibilityChanged(
bool visible);
93 MCFOLD
void $onEnabledChanged(
bool enabled);
95 MCFOLD
bool $isRenderableComponent()
const;
97 MCFOLD
bool $isCustomFrameUpdateComponent()
const;
99 MCFOLD
bool $onLayoutChange();
101 MCFOLD
void $reload(::UIComponent
const& rhs);
103 MCFOLD ::std::string
const& $getTextToSpeechComponentValue()
const;
Definition ScreenInputContext.h:5
Definition UIAnimationController.h:5
Definition UIComponent.h:5
Definition VisualTree.h:5
Definition ScreenEvent.h:5