LeviLamina
Loading...
Searching...
No Matches
UIComponent.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
8// auto generated forward declare list
9// clang-format off
12class UIControl;
13class VisualTree;
14struct ScreenEvent;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 8, ::UIControl&> mOwner;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 UIComponent& operator=(UIComponent const&);
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 // vIndex: 0
34 virtual ~UIComponent() = default;
35
36 // vIndex: 1
37 virtual ::std::unique_ptr<::UIComponent> clone(::UIControl&) const = 0;
38
39 // vIndex: 3
40 virtual ::ComponentReceiveActionType
42
43 // vIndex: 2
44 virtual ::ComponentReceiveActionType receive(::ScreenEvent const&);
45
46 // vIndex: 4
47 virtual void onNotifyChildAdded();
48
49 // vIndex: 5
50 virtual void onNotifyChildRemoved();
51
52 // vIndex: 6
53 virtual void onRemoved();
54
55 // vIndex: 7
56 virtual void onAdded();
57
58 // vIndex: 8
59 virtual void onVisibilityChanged(bool);
60
61 // vIndex: 9
62 virtual void onEnabledChanged(bool);
63
64 // vIndex: 10
65 virtual bool isRenderableComponent();
66
67 // vIndex: 11
68 virtual bool onLayoutChange();
69
70 // vIndex: 12
71 virtual void reset() = 0;
72
73 // vIndex: 13
74 virtual void reload(::UIComponent const&);
75
76 // vIndex: 14
77 virtual ::std::string const& getTextToSpeechComponentValue() const;
78 // NOLINTEND
79
80public:
81 // virtual function thunks
82 // NOLINTBEGIN
83
84 // NOLINTEND
85};
Definition ScreenInputContext.h:5
Definition UIAnimationController.h:5
Definition UIComponent.h:17
Definition UIControl.h:5
Definition VisualTree.h:5
Definition ScreenEvent.h:10