LeviLamina
Loading...
Searching...
No Matches
LayoutManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/DirtyFlag.h"
7
8// auto generated forward declare list
9// clang-format off
10class LayoutVariables;
11class UIControl;
12class VisualTree;
13// clang-format on
14
15class LayoutManager {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::LayoutVariables>> mVariables;
20 ::ll::TypedStorage<4, 8, ::glm::vec2> mSize;
21 ::ll::TypedStorage<8, 24, ::std::vector<::std::weak_ptr<::UIControl>>> mDelayedLayout;
22 // NOLINTEND
23
24public:
25 // member functions
26 // NOLINTBEGIN
27 MCAPI LayoutManager();
28
29 MCAPI ::ui::DirtyFlag _update(::VisualTree& visualTree, ::UIControl const*);
30
31 MCAPI void addDelayedLayout(::UIControl& control);
32
33 MCFOLD bool hasDelayedLayout();
34
35 MCAPI void processDelayedLayout();
36
37 MCAPI void setSize(::glm::vec2 const& size);
38
39 MCAPI ::ui::DirtyFlag update(::VisualTree& visualTree, ::UIControl const* currentFocusedControl);
40
41 MCAPI ~LayoutManager();
42 // NOLINTEND
43
44public:
45 // constructor thunks
46 // NOLINTBEGIN
47 MCAPI void* $ctor();
48 // NOLINTEND
49
50public:
51 // destructor thunk
52 // NOLINTBEGIN
53 MCAPI void $dtor();
54 // NOLINTEND
55};
Definition LayoutManager.h:5
Definition LayoutVariables.h:5
Definition UIControl.h:5
Definition VisualTree.h:5