resources

This commit is contained in:
2024-07-30 21:51:25 +03:00
parent 660fb5247c
commit 22c64c9e9b
17 changed files with 259 additions and 18 deletions

12
src/Resources/fonts.hpp Normal file
View File

@@ -0,0 +1,12 @@
#pragma once
#include "imgui.h"
#include "../std.hpp"
namespace ougge::Resources {
ImFont* ImFont_LoadFromFile(const std::string& file_path, f32 font_size, f32 dpi);
ImFont* ImFont_LoadFromResource(const std::string& font_name, f32 font_size, f32 dpi);
}