3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/controls/ComponentReceiveActionType.h"
7#include "mc/client/gui/controls/ToggleManagerBehavior.h"
8#include "mc/client/gui/controls/UIComponent.h"
23 ::ll::TypedStorage<4, 4, ::ToggleManagerBehavior> mBehavior;
24 ::ll::TypedStorage<8, 24, ::std::vector<uint>> mToggleGroupNames;
30 virtual ~ToggleManagerComponent() =
default;
32 virtual ::std::unique_ptr<::UIComponent> clone(::UIControl& cloneOwner)
const ;
34 virtual void reset() ;
36 virtual ::ComponentReceiveActionType receive(
37 ::VisualTree& visualTree,
38 ::ScreenInputContext& context,
39 ::UIAnimationController& animationController,
40 ::ScreenEvent
const& screenEvent
47 MCAPI
void _defaultToggleGroupState(::VisualTree& visualTree);
49 MCAPI
void _gatherToggleGroupState(::VisualTree& visualTree);
51 MCAPI
void _updateToggleGroupState(::VisualTree& visualTree,
bool toggleState);
57 MCAPI ::std::unique_ptr<::UIComponent> $clone(::UIControl& cloneOwner)
const;
61 MCAPI ::ComponentReceiveActionType $receive(
62 ::VisualTree& visualTree,
63 ::ScreenInputContext& context,
64 ::UIAnimationController& animationController,
65 ::ScreenEvent
const& screenEvent
Definition ScreenInputContext.h:5
Definition ToggleManagerComponent.h:5
static MCAPI void ** $vftable()
Definition UIAnimationController.h:5
Definition UIComponent.h:5
Definition VisualTree.h:5
Definition ScreenEvent.h:5