blob: cd91383ba9d0d0b9d691d455a763a2d4dfadf045 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#pragma once
#include <memory>
#include <SDL2/SDL_ttf.h>
#include <fontconfig/fontconfig.h>
#include "../api/Asset.h"
namespace crepe {
class SDLFontContext{
public:
SDLFontContext();
~SDLFontContext();
std::unique_ptr<Asset> get_font_asset(const std::string & font_family);
private:
};
}
|