LeviLamina
Loading...
Searching...
No Matches
RenderableComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/controls/UIComponent.h"
7#include "mc/client/gui/controls/UIMaterialType.h"
8#include "mc/client/gui/screens/LayoutVariableType.h"
9
10// auto generated forward declare list
11// clang-format off
12class HashedString;
13class UIControl;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<1, 1, bool> mSupportsLayoutOverride;
22 ::ll::TypedStorage<4, 8, ::glm::vec2> mMeasuredSize;
23 ::ll::TypedStorage<4, 4, float> mPropagatedAlpha;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 RenderableComponent();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ~RenderableComponent() /*override*/;
34
35 virtual void updateUI(::UIMeasureStrategy const& uiMeasureStrategy);
36
37 virtual void reset() /*override*/;
38
39 virtual bool isRenderableComponent() const /*override*/;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI RenderableComponent(::UIControl& owner, bool supportsLayoutOverride);
46
47 MCAPI bool _hasDefaultHeightSizing() const;
48
49 MCAPI bool _hasDefaultSizing(::LayoutVariableType type) const;
50
51 MCAPI bool _hasDefaultWidthSizing() const;
52
53 MCAPI bool _hasMaxSize() const;
54
55 MCAPI bool _hasMinSize() const;
56
57 MCAPI void _updateLayoutSize();
58
59 MCAPI float getLayoutAxisOffsetOverride(::LayoutVariableType type) const;
60
61 MCAPI bool overridesLayoutAxisOffset(::LayoutVariableType type) const;
62
63 MCAPI void setPropagatedAlpha(float alpha);
64 // NOLINTEND
65
66public:
67 // static functions
68 // NOLINTBEGIN
69 MCAPI static ::HashedString const& getUIMaterialName(::UIMaterialType type);
70 // NOLINTEND
71
72public:
73 // constructor thunks
74 // NOLINTBEGIN
75 MCAPI void* $ctor(::UIControl& owner, bool supportsLayoutOverride);
76 // NOLINTEND
77
78public:
79 // destructor thunk
80 // NOLINTBEGIN
81 MCFOLD void $dtor();
82 // NOLINTEND
83
84public:
85 // virtual function thunks
86 // NOLINTBEGIN
87 MCFOLD void $updateUI(::UIMeasureStrategy const& uiMeasureStrategy);
88
89 MCFOLD void $reset();
90
91 MCFOLD bool $isRenderableComponent() const;
92 // NOLINTEND
93
94public:
95 // vftables
96 // NOLINTBEGIN
97 MCNAPI static void** $vftable();
98 // NOLINTEND
99};
Definition HashedString.h:5
Definition RenderableComponent.h:5
static MCAPI void ** $vftable()
Definition UIComponent.h:5
Definition UIControl.h:5
Definition UIMeasureStrategy.h:5