....that!

This commit is contained in:
2025-11-18 00:56:32 -05:00
parent 34948292ae
commit be772481f6
18 changed files with 374 additions and 162 deletions

View File

@@ -12,6 +12,7 @@
#include "imgui_.h"
#include "snapshots.h"
#include "socket.h"
using namespace anm2ed::types;
@@ -110,6 +111,7 @@ namespace anm2ed
}
settings = Settings(settings_path());
SnapshotStack::max_size_set(settings.fileSnapshotStackSize);
if (!SDL_Init(SDL_INIT_VIDEO))
{
@@ -184,11 +186,6 @@ namespace anm2ed
imgui::theme_set((theme::Type)settings.theme);
if (settings.theme == theme::DARK)
ImGui::StyleColorsDark();
else if (settings.theme == theme::LIGHT)
ImGui::StyleColorsClassic();
ImGui_ImplSDL3_InitForOpenGL(window, glContext);
ImGui_ImplOpenGL3_Init("#version 330");