2024-06-17 18:45:42 +00:00
|
|
|
#include <filesystem>
|
|
|
|
#include <cstdint>
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
|
|
|
|
struct Config
|
|
|
|
{
|
|
|
|
uint32_t pos_x = 10;
|
|
|
|
uint32_t pos_y = 25;
|
|
|
|
std::string font = "/usr/share/fonts/noto/NotoSans-Regular.ttf";
|
2024-06-19 05:42:42 +00:00
|
|
|
uint16_t font_size = 32;
|
2024-06-17 18:45:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
std::filesystem::path getConfigPath(const char* const configFolderName);
|
|
|
|
Config readConfig(std::filesystem::path config_path);
|
|
|
|
|