LeviLamina
Loading...
Searching...
No Matches
LayoutVariables.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/client/gui/screens/LayoutSolvePass.h"
8#include "mc/client/gui/screens/VariableRef.h"
9
10// auto generated forward declare list
11// clang-format off
12class UIControl;
13struct PostOperation;
14// clang-format on
15
16class LayoutVariables {
17public:
18 // LayoutVariables inner types declare
19 // clang-format off
20 struct UnsatisfiedVar;
21 // clang-format on
22
23 // LayoutVariables inner types define
24 struct UnsatisfiedVar {
25 public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<8, 40, ::VariableRef> mVar;
29 ::ll::TypedStorage<1, 1, bool> mIsSatisfied;
30 // NOLINTEND
31 };
32
33public:
34 // member variables
35 // NOLINTBEGIN
36 ::ll::TypedStorage<8, 24, ::std::vector<::PostOperation>> mPostOperations;
37 ::ll::TypedStorage<8, 24, ::std::vector<::LayoutVariables::UnsatisfiedVar>> mUnsatisfiedVariables;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI void _add(::UIControl& control);
44
45 MCAPI void _solve(::ui::DirtyFlag& dirty, ::LayoutSolvePass pass);
46
47 MCAPI void _traceVariablesForDebugControls();
48
49 MCAPI void invalidate(::VariableRef& variableRef, bool forceInvalidation);
50
51 MCAPI void invalidateDependencies(::VariableRef& variableRef, bool forceInvalidation);
52
53 MCAPI void reinitialize(::VariableRef& variableRef);
54
55 MCAPI ::ui::DirtyFlag solve();
56
57 MCAPI ~LayoutVariables();
58 // NOLINTEND
59
60public:
61 // destructor thunk
62 // NOLINTBEGIN
63 MCAPI void $dtor();
64 // NOLINTEND
65};
Definition LayoutVariables.h:5
Definition UIControl.h:5
Definition LayoutVariables.h:13
Definition PostOperation.h:5