/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/ThirdParty/RmlUi/Source/Core/Template.h
40 строк
790 B
C-Core
Updated RmlUi to 6.2 and added some improvements (#1813)
10 фев 2026, 01:19
Не верифицирован
10 фев 2026, 01:19
58e2d41
Код
Авторство
О чём код?
#pragma once #include "../../Include/RmlUi/Core/StreamMemory.h" #include "DocumentHeader.h" namespace Rml { class Element; /** Contains a RML template. The Header is stored in parsed form, body in an unparsed stream. */ class Template { public: Template(); ~Template(); /// Load a template from the given stream bool Load(Stream* stream); /// Get the ID of the template const String& GetName() const; /// Parse the template into the given element /// @param element Element to parse into /// @returns The element to continue the parse from Element* ParseTemplate(Element* element); /// Get the template header const DocumentHeader* GetHeader(); private: String name; String content; DocumentHeader header; UniquePtr<StreamMemory> body; }; } // namespace Rml