LeviLamina
Loading...
Searching...
No Matches
TouchTextButtonControl.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/input/RectangleArea.h"
7#include "mc/deps/input/TouchGlyphButtonControl.h"
8
9// auto generated forward declare list
10// clang-format off
12struct ButtonColors;
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 64, ::std::function<::glm::vec2()>> mPosition;
20 ::ll::TypedStorage<8, 64, ::std::function<void(::RectangleArea)>> mArea;
21 ::ll::TypedStorage<8, 64, ::std::function<::std::string()>> mLabel;
22 ::ll::TypedStorage<4, 8, ::glm::vec2> mCurrentPosition;
23 ::ll::TypedStorage<4, 16, ::RectangleArea> mCurrentRect;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ~TouchTextButtonControl() /*override*/ = default;
34
35 virtual void render(::InputRenderContext& context) const /*override*/;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
42 ::std::function<::glm::vec2()> position,
43 ::std::function<void(::RectangleArea)> area,
44 ::std::function<float()> opacity,
45 ::std::function<bool()> condition,
46 ::std::function<::std::string()> label,
47 uint buttonId,
48 ::ButtonColors const& buttonColors,
49 int ux,
50 int uv,
51 int uvWidth,
52 int uvHeight,
53 bool passThrough,
54 int touchStateRequirement,
55 bool extendButtonPressOutsideUntilReleased
56 );
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
62 MCAPI void* $ctor(
63 ::std::function<::glm::vec2()> position,
64 ::std::function<void(::RectangleArea)> area,
65 ::std::function<float()> opacity,
66 ::std::function<bool()> condition,
67 ::std::function<::std::string()> label,
68 uint buttonId,
69 ::ButtonColors const& buttonColors,
70 int ux,
71 int uv,
72 int uvWidth,
73 int uvHeight,
74 bool passThrough,
75 int touchStateRequirement,
76 bool extendButtonPressOutsideUntilReleased
77 );
78 // NOLINTEND
79
80public:
81 // virtual function thunks
82 // NOLINTBEGIN
83 MCAPI void $render(::InputRenderContext& context) const;
84 // NOLINTEND
85
86public:
87 // vftables
88 // NOLINTBEGIN
89 MCNAPI static void** $vftable();
90 // NOLINTEND
91};
Definition InputRenderContext.h:5
Definition TouchGlyphButtonControl.h:5
Definition TouchTextButtonControl.h:5
static MCAPI void ** $vftable()
Definition ButtonColors.h:5