can render 2 cv::mats

This commit is contained in:
Kueffner, Maximilian
2025-03-14 19:32:40 +01:00
parent 5ecc38a9ca
commit 0b541348b0
15 changed files with 290 additions and 12 deletions
+9 -1
View File
@@ -1,13 +1,15 @@
#pragma once
#include <GLFW/glfw3.h>
#include <cstdio>
#include "Image.hpp"
#include "imgui.h"
#include "imgui_impl_glfw.h"
#include "imgui_impl_opengl3.h"
namespace ui
namespace pixelarium::ui
{
enum LogLevelSelection
{
@@ -23,10 +25,16 @@ class AppGLFW
AppGLFW();
int Run();
private:
void MenuBar();
void LoadImageProt();
private:
LogLevelSelection log_level_ = static_cast<LogLevelSelection>(0);
GLFWwindow* window = nullptr;
ImGuiWindowFlags window_flags = 0;
pixelarium::imaging::Image _img;
bool _imagep { false };
};
static void glfw_error_callback(int error, const char* description)