LeviLamina
Loading...
Searching...
No Matches
LayoutRuleTerm.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/screens/LayoutRuleTermType.h"
7#include "mc/client/gui/screens/LayoutVariableType.h"
8
9// auto generated forward declare list
10// clang-format off
11class UIControl;
12class VariableRef;
13// clang-format on
14
15class LayoutRuleTerm {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<4, 4, ::LayoutRuleTermType> mType;
20 union {
21 } mData;
22 ::ll::TypedStorage<8, 24, ::std::vector<::VariableRef>> mDependentVariables;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 LayoutRuleTerm();
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI LayoutRuleTerm(::VariableRef const& dependentVariable, float factor, ::LayoutRuleTermType type);
33
34 MCAPI float compute(::UIControl& control, ::LayoutVariableType sizeType) const;
35
36 MCAPI ::std::string toString(::UIControl& control) const;
37 // NOLINTEND
38
39public:
40 // constructor thunks
41 // NOLINTBEGIN
42 MCAPI void* $ctor(::VariableRef const& dependentVariable, float factor, ::LayoutRuleTermType type);
43 // NOLINTEND
44};
Definition LayoutRuleTerm.h:5
Definition UIControl.h:5
Definition VariableRef.h:5