LeviLamina
Loading...
Searching...
No Matches
SliderBoxComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/controls/ComponentReceiveActionType.h"
7#include "mc/client/gui/controls/UIComponent.h"
8
9// auto generated forward declare list
10// clang-format off
13class UIControl;
14class VisualTree;
15struct ScreenEvent;
16// clang-format on
17
18class SliderBoxComponent : public ::UIComponent {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<1, 1, bool> mHover;
23 ::ll::TypedStorage<1, 1, bool> mSelected;
24 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::UIControl>> mSliderControl;
25 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::UIControl>> mDefaultControl;
26 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::UIControl>> mHoverControl;
27 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::UIControl>> mIndentControl;
28 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::UIControl>> mLockedControl;
29 // NOLINTEND
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ::std::unique_ptr<::UIComponent> clone(::UIControl& cloneOwner) const /*override*/;
35
36 virtual void reset() /*override*/;
37
38 virtual ::ComponentReceiveActionType receive(
39 ::VisualTree& visualTree,
40 ::ScreenInputContext& context,
41 ::UIAnimationController& animationController,
42 ::ScreenEvent const& screenEvent
43 ) /*override*/;
44
45 virtual ~SliderBoxComponent() /*override*/ = default;
46 // NOLINTEND
47
48public:
49 // member functions
50 // NOLINTBEGIN
51 MCAPI void updateControlVisibility();
52 // NOLINTEND
53
54public:
55 // virtual function thunks
56 // NOLINTBEGIN
57 MCAPI ::std::unique_ptr<::UIComponent> $clone(::UIControl& cloneOwner) const;
58
59 MCAPI void $reset();
60
61 MCAPI ::ComponentReceiveActionType $receive(
62 ::VisualTree& visualTree,
63 ::ScreenInputContext& context,
64 ::UIAnimationController& animationController,
65 ::ScreenEvent const& screenEvent
66 );
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCNAPI static void** $vftable();
73 // NOLINTEND
74};
Definition ScreenInputContext.h:5
Definition SliderBoxComponent.h:5
static MCAPI void ** $vftable()
Definition UIAnimationController.h:5
Definition UIComponent.h:5
Definition UIControl.h:5
Definition VisualTree.h:5
Definition ScreenEvent.h:5