add implot and start using it

This commit is contained in:
Green Sky
2025-01-22 19:03:10 +01:00
parent 6bd151e618
commit db0dffafd9
12 changed files with 197 additions and 117 deletions

View File

@@ -9,6 +9,7 @@
#include "./frame_streams/sdl/sdl_video_frame_stream2.hpp"
#include <imgui/imgui.h>
#include <implot.h>
#include <SDL3/SDL.h>
@@ -123,6 +124,7 @@ MainScreen::MainScreen(SimpleConfigModel&& conf_, SDL_Renderer* renderer_, Theme
g_provideInstance("ImGuiMemUserData", ImGui::GetVersion(), "host", user_data);
}
}
g_provideInstance<ImPlotContext>("ImPlotContext", IMPLOT_VERSION, "host", ImPlot::GetCurrentContext());
g_provideInstance<TextureUploaderI>("TextureUploaderI", "host", &sdlrtu);
}