mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-07-10 19:08:32 +00:00
32 lines
611 B
C++
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
|