yaze
0.2.2
Link to the Past ROM Editor
Loading...
Searching...
No Matches
font_loader.h
Go to the documentation of this file.
1
#ifndef YAZE_APP_CORE_PLATFORM_FONTLOADER_H
2
#define YAZE_APP_CORE_PLATFORM_FONTLOADER_H
3
4
#include "absl/status/status.h"
5
6
namespace
yaze
{
7
namespace
core
{
8
9
struct
FontConfig
{
10
const
char
*
font_path
;
11
float
font_size
;
12
};
13
14
absl::Status
LoadPackageFonts
();
15
16
absl::Status
ReloadPackageFont
(
const
FontConfig
& config);
17
18
void
LoadSystemFonts
();
19
20
}
// namespace core
21
}
// namespace yaze
22
23
#endif
// YAZE_APP_CORE_PLATFORM_FONTLOADER_H
yaze::core
Definition
controller.cc:19
yaze::core::ReloadPackageFont
absl::Status ReloadPackageFont(const FontConfig &config)
Definition
font_loader.cc:137
yaze::core::LoadPackageFonts
absl::Status LoadPackageFonts()
Definition
font_loader.cc:98
yaze::core::LoadSystemFonts
void LoadSystemFonts()
yaze
Main namespace for the application.
Definition
controller.cc:18
yaze::core::FontConfig
Definition
font_loader.h:9
yaze::core::FontConfig::font_size
float font_size
Definition
font_loader.h:11
yaze::core::FontConfig::font_path
const char * font_path
Definition
font_loader.h:10
src
app
core
platform
font_loader.h
Generated by
1.13.2