ui: Add first unifont plane by default

This commit is contained in:
WerWolv
2021-08-31 15:22:00 +02:00
parent 32eddbf581
commit 5f63db4a34
12 changed files with 116328 additions and 138 deletions

View File

@@ -27,8 +27,6 @@ namespace hex::init {
float m_progress = 0;
std::string m_currTaskName;
float m_globalScale = 1.0F;
void initGLFW();
void initImGui();

View File

@@ -43,11 +43,8 @@ namespace hex {
friend void ImHexSettingsHandler_ReadLine(ImGuiContext*, ImGuiSettingsHandler *handler, void *, const char* line);
friend void ImHexSettingsHandler_WriteAll(ImGuiContext* ctx, ImGuiSettingsHandler *handler, ImGuiTextBuffer *buf);
void setFont(const std::filesystem::path &font_path);
GLFWwindow* m_window = nullptr;
float m_globalScale = 1.0F, m_fontScale = 1.0F;
double m_targetFps = 60.0;
bool m_demoWindowOpen = false;
bool m_layoutConfigured = false;