disassembly and new font

This commit is contained in:
T0b1
2023-06-03 21:58:56 +02:00
parent 4f0f320ac4
commit 343a30289c
15 changed files with 3631 additions and 32 deletions

View File

@@ -6,6 +6,7 @@
#define IMGUI_INCLUDE_IMGUI_USER_H
#include "imgui.h"
#include "roboto_medium.h"
#include "fira_code.h"
#include "backends/imgui_impl_glfw.h"
#include "backends/imgui_impl_opengl3.h"
#include <stdio.h>
@@ -89,8 +90,12 @@ int main(int, char **)
//io.Fonts->AddFontFromFileTTF("../../misc/fonts/Cousine-Regular.ttf", 15.0f);
//ImFont* font = io.Fonts->AddFontFromFileTTF("c:\\Windows\\Fonts\\ArialUni.ttf", 18.0f, nullptr, io.Fonts->GetGlyphRangesJapanese());
//IM_ASSERT(font != nullptr);
//io.Fonts->AddFontFromMemoryCompressedBase85TTF(
// roboto_medium_compressed_data_base85, 16.0f);
io.Fonts->AddFontFromMemoryCompressedBase85TTF(
roboto_medium_compressed_data_base85, 16.0f);
fira_code_compressed_data_base85, 16.0f);
// Our state
bool show_demo_window = true;