refactored MainWindow and Engine, changed project structure

This commit is contained in:
2025-04-26 00:59:47 +05:00
parent bb00392e3a
commit d659dcde10
54 changed files with 1662 additions and 339 deletions

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

@@ -0,0 +1,12 @@
#pragma once
#include "imgui.h"
#include "../common/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);
}