Files
shweets-sim/src/resource/font.hpp
2026-04-01 02:08:50 -04:00

27 lines
487 B
C++

#pragma once
#include <filesystem>
#include <imgui.h>
#include "../util/physfs.hpp"
namespace game::resource
{
class Font
{
ImFont* internal{};
public:
static constexpr auto NORMAL = 20;
static constexpr auto HEADER_1 = 24;
static constexpr auto HEADER_2 = 30;
static constexpr auto HEADER_3 = 40;
Font() = default;
Font(const std::filesystem::path&, float = NORMAL);
Font(const util::physfs::Path&, float = NORMAL);
ImFont* get();
};
}