gzdoom/libraries/ZWidget/include/zwidget/core/font.h
Magnus Norddahl 113fdc5fcc Add zwidget
2024-01-02 16:54:51 +01:00

15 lines
271 B
C++

#pragma once
#include <memory>
#include <string>
class Font
{
public:
virtual ~Font() = default;
virtual const std::string& GetName() const = 0;
virtual double GetHeight() const = 0;
static std::shared_ptr<Font> Create(const std::string& name, double height);
};