improve ImGui style theme

This commit is contained in:
2022-08-28 02:01:18 +09:00
parent 9b37d2595b
commit 580fcfbdd2
3 changed files with 97 additions and 1 deletions

View File

@@ -25,6 +25,7 @@
#include <GLFW/glfw3.h>
#include "init.hh"
#include "theme.hh"
using namespace nf7;
@@ -313,7 +314,7 @@ int main(int, char**) {
io.IniFilename = nullptr;
io.ConfigFlags |= ImGuiConfigFlags_DockingEnable;
ImGui::StyleColorsDark();
SetUpImGuiStyle();
ImGui_ImplGlfw_InitForOpenGL(window, true);
ImGui_ImplOpenGL3_Init(glsl_version);