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 ::std::shared_ptr<::UIControl>
29 _getValidControl(int startIndex, int endIndex, ::std::shared_ptr<::UIControl> lastFocusedControl);
30
31 MCAPI bool _isCurrentIndexControl(::std::weak_ptr<::UIControl> control) const;
32
33 MCAPI void addRecentFocusControl(::std::weak_ptr<::UIControl> control);
34
35 MCAPI ::std::shared_ptr<::UIControl> getLastGoodFocusedControl(::std::shared_ptr<::UIControl> lastFocusedControl);
36
37 MCAPI ~RecentFocusVector();
38 // NOLINTEND
39
40public:
41 // constructor thunks
42 // NOLINTBEGIN
43 MCAPI void* $ctor(int size, bool includeMagnetControls);
44 // NOLINTEND
45
46public:
47 // destructor thunk
48 // NOLINTBEGIN
49 MCFOLD void $dtor();
50 // NOLINTEND
51};
Definition RecentFocusVector.h:5
Definition UIControl.h:5