disassembly and new font
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user