LeviLamina
Loading...
Searching...
No Matches
HoverRenderer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/controls/renderers/MinecraftUICustomRenderer.h"
7
8// auto generated forward declare list
9// clang-format off
10class IClientInstance;
12class NinePatchLayer;
13class UIControl;
14class UIPropertyBag;
15class UIScene;
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 32, ::std::string> mContent;
23 ::ll::TypedStorage<8, 32, ::std::string> mFormattedContent;
24 ::ll::TypedStorage<4, 8, ::glm::vec2> mCursorPosition;
25 ::ll::TypedStorage<4, 8, ::glm::vec2> mOffset;
26 ::ll::TypedStorage<4, 8, ::glm::vec2> mBoxDimensions;
27 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::NinePatchLayer>> mLayer;
28 // NOLINTEND
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual bool update(::IClientInstance& client, ::UIControl& owner, ::UIScene const& scene) = 0;
34 // NOLINTEND
35
36public:
37 // member functions
38 // NOLINTBEGIN
39 MCAPI HoverRenderer();
40
41 MCAPI ::std::string _getNewContent(::UIPropertyBag const& bag) const;
42
43 MCAPI ::glm::vec2
44 _getNewCursorPosition(::IClientInstance& client, ::UIControl& owner, ::UIScene const& scene) const;
45
46 MCAPI void _renderHoverBox(::MinecraftUIRenderContext& renderContext, ::IClientInstance& client, float alpha);
47 // NOLINTEND
48
49public:
50 // constructor thunks
51 // NOLINTBEGIN
52 MCAPI void* $ctor();
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58
59 // NOLINTEND
60
61public:
62 // vftables
63 // NOLINTBEGIN
64 MCNAPI static void** $vftable();
65 // NOLINTEND
66};
Definition HoverRenderer.h:5
static MCAPI void ** $vftable()
Definition IClientInstance.h:5
Definition MinecraftUICustomRenderer.h:5
Definition MinecraftUIRenderContext.h:5
Definition NinePatchLayer.h:5
Definition UIControl.h:5
Definition UIPropertyBag.h:5
Definition UIScene.h:5