LeviLamina
Loading...
Searching...
No Matches
RecentFocusVector.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class UIControl;
8// clang-format on
9
11public:
12 // member variables
13 // NOLINTBEGIN
14 ::ll::TypedStorage<8, 24, ::std::vector<::std::weak_ptr<::UIControl>>> mRecentControlVector;
15 ::ll::TypedStorage<4, 4, int> mNextInsert;
16 ::ll::TypedStorage<1, 1, bool> mIncludeMagnetControls;
17 // NOLINTEND
18
19public:
20 // prevent constructor by default
21 RecentFocusVector();
22
23public:
24 // member functions
25 // NOLINTBEGIN
26 MCAPI RecentFocusVector(int size, bool includeMagnetControls);
27
28 MCAPI bool _canControlBeFocused(::UIControl& control) const;
29
30 MCAPI ::std::shared_ptr<::UIControl>
31 _getValidControl(int startIndex, int endIndex, ::std::shared_ptr<::UIControl> lastFocusedControl);
32
33 MCAPI bool _isCurrentIndexControl(::std::weak_ptr<::UIControl> control) const;
34
35 MCAPI void addRecentFocusControl(::std::weak_ptr<::UIControl> control);
36
37 MCAPI ::std::shared_ptr<::UIControl> getLastGoodFocusedControl(::std::shared_ptr<::UIControl> lastFocusedControl);
38
39 MCFOLD void setIncludeMagnetControls(bool include);
40
41 MCAPI ~RecentFocusVector();
42 // NOLINTEND
43
44public:
45 // constructor thunks
46 // NOLINTBEGIN
47 MCAPI void* $ctor(int size, bool includeMagnetControls);
48 // NOLINTEND
49
50public:
51 // destructor thunk
52 // NOLINTBEGIN
53 MCFOLD void $dtor();
54 // NOLINTEND
55};
Definition RecentFocusVector.h:5
Definition UIControl.h:5