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 UIScene;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 32, ::std::string> mContent;
22 ::ll::TypedStorage<8, 32, ::std::string> mFormattedContent;
23 ::ll::TypedStorage<4, 8, ::glm::vec2> mCursorPosition;
24 ::ll::TypedStorage<4, 8, ::glm::vec2> mOffset;
25 ::ll::TypedStorage<4, 8, ::glm::vec2> mBoxDimensions;
26 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::NinePatchLayer>> mLayer;
27 // NOLINTEND
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual bool update(::IClientInstance& client, ::UIControl& owner, ::UIScene const& scene) = 0;
33
34 virtual ~HoverRenderer() /*override*/;
35 // NOLINTEND
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCAPI ::glm::vec2
41 _getNewCursorPosition(::IClientInstance& client, ::UIControl& owner, ::UIScene const& scene) const;
42
43 MCAPI void _renderHoverBox(::MinecraftUIRenderContext& renderContext, ::IClientInstance& client, float alpha);
44 // NOLINTEND
45
46public:
47 // destructor thunk
48 // NOLINTBEGIN
49 MCAPI void $dtor();
50 // NOLINTEND
51
52public:
53 // virtual function thunks
54 // NOLINTBEGIN
55
56 // NOLINTEND
57};
Definition HoverRenderer.h:5
Definition IClientInstance.h:5
Definition MinecraftUICustomRenderer.h:5
Definition MinecraftUIRenderContext.h:5
Definition NinePatchLayer.h:5
Definition UIControl.h:5
Definition UIScene.h:5