// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Text renderer" // For conditions of distribution and use, see copyright notice in Export.hpp #pragma once #ifndef NAZARA_TEXTRENDERER_HPP #define NAZARA_TEXTRENDERER_HPP #include #include #include #include namespace Nz { class NAZARA_TEXTRENDERER_API TextRenderer : public ModuleBase { friend ModuleBase; public: using Dependencies = TypeList; struct Config {}; TextRenderer(Config /*config*/); ~TextRenderer(); FontLoader& GetFontLoader(); const FontLoader& GetFontLoader() const; private: FontLoader m_fontLoader; static TextRenderer* s_instance; }; } #endif // NAZARA_TEXTRENDERER_HPP