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

19 lines
495 B
C++

#pragma once
/*
This class is an ElementDocument that overrides the LoadInlineScript and LoadExternalScript function
*/
#include <RmlUi/Core/ElementDocument.h>
namespace Rml {
namespace Lua {
class LuaDocument : public ::Rml::ElementDocument {
public:
LuaDocument(const String& tag);
void LoadInlineScript(const String& content, const String& source_path, int source_line) override;
void LoadExternalScript(const String& source_path) override;
};
} // namespace Lua
} // namespace Rml