25#ifndef TGUI_BACKEND_RENDERER_HPP
26#define TGUI_BACKEND_RENDERER_HPP
28#include <TGUI/Backend/Renderer/BackendText.hpp>
29#include <TGUI/Backend/Renderer/BackendTexture.hpp>
30#include <TGUI/Backend/Window/Backend.hpp>
32#if !TGUI_EXPERIMENTAL_USE_STD_MODULE
38TGUI_MODULE_EXPORT
namespace tgui
56 TGUI_NODISCARD
virtual std::shared_ptr<BackendText>
createText()
58 return std::make_shared<BackendText>();
65 TGUI_NODISCARD
virtual std::shared_ptr<BackendTexture>
createTexture() = 0;
Base class for the backend renderer, which is responsible for creating text and texture objects.
Definition BackendRenderer.hpp:44
virtual ~BackendRenderer()=default
Virtual destructor.
virtual std::shared_ptr< BackendTexture > createTexture()=0
Creates a new empty texture object.
virtual std::shared_ptr< BackendText > createText()
Creates a new empty text object.
Definition BackendRenderer.hpp:56
virtual unsigned int getMaximumTextureSize()=0
Get the maximum allowed texture size.
Namespace that contains all TGUI functions and classes.
Definition AbsoluteOrRelativeValue.hpp:38