Just so I don't lose current progress on 2.0...
Some checks failed
Build / Build Game (push) Has been cancelled
Some checks failed
Build / Build Game (push) Has been cancelled
This commit is contained in:
20
src/resource/font.hpp
Normal file
20
src/resource/font.hpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include "imgui.h"
|
||||
#include <string>
|
||||
|
||||
namespace game::resource
|
||||
{
|
||||
class Font
|
||||
{
|
||||
public:
|
||||
ImFont* internal;
|
||||
|
||||
static constexpr auto NORMAL = 12;
|
||||
static constexpr auto BIG = 16;
|
||||
static constexpr auto LARGE = 24;
|
||||
|
||||
Font(const std::string&, float = NORMAL);
|
||||
ImFont* get();
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user