LeviLamina
Loading...
Searching...
No Matches
ControlConfiguration.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class ControlOption;
10// clang-format on
11
13public:
14 // member variables
15 // NOLINTBEGIN
16 ::ll::TypedStorage<4, 4, uint> mConfigId;
17 ::ll::TypedStorage<4, 4, uint> mConfigCategory;
18 ::ll::TypedStorage<4, 4, uint> mConfigGroup;
19 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PointControlOption>> mPosition;
20 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::FloatControlOption>> mScale;
21 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::ControlOption>>> mSubOptions;
22 ::ll::TypedStorage<8, 64, ::std::function<bool()>> mEnabled;
23 ::ll::TypedStorage<1, 1, bool> mOverlapping;
24 ::ll::TypedStorage<1, 1, bool> mActive;
25 ::ll::TypedStorage<4, 4, float> mBaseWidth;
26 ::ll::TypedStorage<4, 4, float> mBaseHeight;
27 ::ll::TypedStorage<4, 4, float> mAspectRatio;
28 ::ll::TypedStorage<1, 1, bool> mKeepAspectRatio;
29 ::ll::TypedStorage<4, 4, float> mInitialDx;
30 ::ll::TypedStorage<4, 4, float> mInitialDy;
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
36
37public:
38 // member functions
39 // NOLINTBEGIN
41 uint id,
42 uint configCategory,
43 uint configGroup,
44 ::std::function<bool()> enabled,
45 ::std::unique_ptr<::PointControlOption> position,
46 ::std::unique_ptr<::FloatControlOption> scale,
47 float baseWidth,
48 float baseHeight,
49 float aspectRatio,
50 bool keepAspectRatio
51 );
52
53 MCAPI void addSubOption(::std::unique_ptr<::ControlOption> subOption);
54
55 MCAPI void updatePosition(float x, float y);
56
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCAPI void* $ctor(
64 uint id,
65 uint configCategory,
66 uint configGroup,
67 ::std::function<bool()> enabled,
68 ::std::unique_ptr<::PointControlOption> position,
69 ::std::unique_ptr<::FloatControlOption> scale,
70 float baseWidth,
71 float baseHeight,
72 float aspectRatio,
73 bool keepAspectRatio
74 );
75 // NOLINTEND
76
77public:
78 // destructor thunk
79 // NOLINTBEGIN
80 MCAPI void $dtor();
81 // NOLINTEND
82};
Definition ControlConfiguration.h:5
Definition ControlOption.h:5
Definition FloatControlOption.h:5
Definition PointControlOption.h:5