Files
GabsPuNs-Project_Zenith_Main/Minecraft.Client/Windows64/Libs/RmlUi/Source/Debugger/ElementContextHook.h
2026-06-10 16:12:51 +02:00

32 lines
611 B
C++

#pragma once
#include "../../Include/RmlUi/Core/ElementDocument.h"
#include "ElementDebugDocument.h"
namespace Rml {
namespace Debugger {
class DebuggerPlugin;
/**
An element that the debugger uses to render into a foreign context.
*/
class ElementContextHook : public ElementDebugDocument {
public:
RMLUI_RTTI_DefineWithParent(ElementContextHook, ElementDebugDocument)
ElementContextHook(const String& tag);
virtual ~ElementContextHook();
void Initialise(DebuggerPlugin* debugger);
void OnRender() override;
private:
DebuggerPlugin* debugger;
};
} // namespace Debugger
} // namespace Rml