20 lines
372 B
C++
20 lines
372 B
C++
#pragma once
|
|
|
|
#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";
|
|
uint16_t font_size = 32;
|
|
};
|
|
|
|
|
|
std::filesystem::path getConfigPath(const char* const configFolderName);
|
|
Config readConfig(std::filesystem::path config_path);
|
|
|